From 86e76b965eca189b0d000cbadce383f5d4ecadba Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期一, 25 三月 2024 23:54:21 +0800 Subject: [PATCH] 修改了bug --- ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue index b15a352..e5315f9 100644 --- a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue +++ b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue @@ -649,6 +649,11 @@ console.log(this.uploadFileList1) let _this = this + if(this.formData.status=='鏄�') + this.formData.status = 1 + else + this.formData.status = 0 + this.uploading = true; uploadPic(formData).then(response => { _this.uploadFileList1 = [] @@ -656,9 +661,14 @@ updateSelfEconomy(_this.formData).then(response => { this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛"); // this.open = false; + if(this.formData.status=='鏄�') + this.formData.status = 1 + else + this.formData.status = 0 + }); }) - + this.uploading = false; }, picUpload() { @@ -711,12 +721,14 @@ else _this.formData.status = '鍚�' }); + // } // else{ // _this.fileListOther.push({name:response.data.fileName, url:response.data.url}) // } }); + this.uploading = false; }, requestUpload(params) { -- Gitblit v1.9.1