From 1e5de8f8649313177df4911a265182c9c3d5e9ab Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期一, 05 六月 2023 19:25:47 +0800 Subject: [PATCH] 修改图片为正确的路径 --- ruoyi-ui/src/views/collection/collectionInfo.vue | 47 ++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 42 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/collection/collectionInfo.vue b/ruoyi-ui/src/views/collection/collectionInfo.vue index 1e51cf3..ad3add3 100644 --- a/ruoyi-ui/src/views/collection/collectionInfo.vue +++ b/ruoyi-ui/src/views/collection/collectionInfo.vue @@ -19,12 +19,18 @@ <el-form-item label="鑾峰緱鏃堕棿" prop="happenTime" label-width="70px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> <el-input v-model="formData.happenTime" placeholder="璇疯緭鍏ヨ幏寰楁椂闂�" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> + </el-form-item> +<!-- <el-form-item label="鑾峰緱鏃堕棿" prop="happenTime" label-width="78px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;">--> +<!-- <el-date-picker v-model='formData.happenTime' type='date' placeholder='璇烽�夋嫨鏃ユ湡'></el-date-picker>--> +<!-- </el-form-item>--> </el-cow> <el-cow > <el-form-item label="绫诲埆" prop="type" label-width="40px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> - <el-input v-model="formData.type" placeholder="璇疯緭鍏ョ被鍒�" clearable :style="{width: '100%'}" :disabled="dsb"> - </el-input> + <el-select v-model="formData.type" placeholder="璇烽�夋嫨绫诲埆" clearable :style="{width: '100%'}" > + <el-option v-for="(item, index) in typeOptions" :key="index" :label="item.label" :value="item.value" + ></el-option> + </el-select> </el-form-item> </el-cow> <el-cow > @@ -282,7 +288,30 @@ }], }, - typeOptions: [], + typeOptions: [ + { + value: '閭エ', + label: '閭エ' + }, { + value: '鏃ユ湰鍐涘垁', + label: '鏃ユ湰鍐涘垁' + }, { + value: '鑼呭彴閰�', + label: '鑼呭彴閰�' + }, { + value: '绾㈡湪', + label: '绾㈡湪' + }, { + value: '绾康鍝�', + label: '绾康鍝�' + }, { + value: '鐡峰櫒', + label: '鐡峰櫒' + }, { + value: '涔︾睄', + label: '涔︾睄' + } + ], } }, computed: {}, @@ -392,10 +421,18 @@ }) }, handleRemoveFile(file) { - alert(23) + for(let i = 0; i < this.fileListOther.length; i++) + { + if(this.fileListOther[i].url==file.url) + this.$delete(this.fileListOther,i); + } }, handleRemove(file) { - alert(323) + for(let i = 0; i < this.fileList.length; i++) + { + if(this.fileList[i].url==file.url) + this.$delete(this.fileList,i); + } }, handleFileCardPreview(file){ this.dialogFileUrl = file.url; -- Gitblit v1.9.1