From 090bce038b881a55f6453f49a8ae93c5697cf718 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期日, 19 十一月 2023 18:39:02 +0800 Subject: [PATCH] 魅宠图像 --- ruoyi-ui/src/views/bignote/familyeventInfo.vue | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue index b265eac..8063655 100644 --- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue +++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue @@ -93,15 +93,11 @@ <h4 class="form-header">鍏朵粬闄勪欢 </h4> <el-upload - action="" - :file-list="fileListOther" - class="upload-demo" + action="#" multiple list-type="picture-card" - :on-preview="handleFileCardPreview" - :on-remove="handleRemoveFile" + :file-list="fileListOther" :http-request="requestUpload1" - :show-file-list="true" :disabled="!btn" :class="{ hide: !btn }" > @@ -119,7 +115,7 @@ ></video> <img v-else class="el-upload-list__item-thumbnail" - src="../../assets/401_images/401.gif" + :src="file.url" alt="" style="width: 100%; height: 100%" fit="cover"> @@ -159,7 +155,7 @@ </el-form> <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> </div> </template> @@ -249,6 +245,7 @@ this.$route.meta.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.btn = false; this.isShow=false + // alert(this.btn) } let _this = this @@ -294,9 +291,11 @@ console.log(this.formData) if (valid) { if (this.formData.id != undefined) { + // alert(234) updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("淇敼鎴愬姛"); // this.open = false; + // alert(98) this.btn=false }); } else { @@ -337,7 +336,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); // this.open = false; - // this.btn=false + }); } }, @@ -356,7 +355,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); // this.open = false; - // this.btn=false + }); } @@ -425,7 +424,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛"); // this.open = false; - // this.btn=false + }); } else{ @@ -465,7 +464,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛"); // this.open = false; - // this.btn=false + }); } }) @@ -496,7 +495,7 @@ display: block; } -.hide .el-upload--picture-card { +.hide /deep/ .el-upload--picture-card { display: none; } .pt{ -- Gitblit v1.9.1