From 4358a3134c53590ef838c456e8d9369880655114 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期二, 21 十一月 2023 21:37:56 +0800 Subject: [PATCH] 已经修改了大部分提交的bug --- ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue index 325c501..3a194fa 100644 --- a/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue +++ b/ruoyi-ui/src/views/selfeconomy/selfeconomyInfo.vue @@ -165,7 +165,7 @@ class="el-upload-list__item-thumbnail" src="../../assets/401_images/401.gif" alt="" - style="width: 100%; height: 100%" + style="width: 147px; height: 147px" fit="cover"> <span class="el-upload-list__item-actions"> @@ -204,7 +204,7 @@ </div> <el-dialog :visible.sync="dialogVisible"> - <img w-full :src="dialogImageUrl" style="width: 700px; height: 700px" alt="Preview Image" /> + <img w-full :src="dialogImageUrl" style="width: 100%; height: 100%" alt="Preview Image" /> </el-dialog> @@ -503,6 +503,19 @@ _this.fileListOther.push({name:response.data.fileName, url:response.data.url}) } + let ul = _this.fileList.map(function (elem){ + return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") + }).join(",") + let uls = _this.fileListOther.map(function (elem){ + return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") + }).join(",") + _this.formData.url = ul+","+uls + updateSelfEconomy(_this.formData).then(response => { + this.$modal.msgSuccess("淇敼鎴愬姛"); + // this.open = false; + this.btn=false + }); + }) }, @@ -547,7 +560,7 @@ .form{ background:center/11% no-repeat url('../../assets/icons/form.png') ; } -.hide .el-upload--picture-card { +.hide /deep/ .el-upload--picture-card { display: none; } .form_item{ -- Gitblit v1.9.1