From b3ddacf9a9742276e76c0aa8bfa67fcdd6e1d7fe Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 08 八月 2023 19:09:50 +0800 Subject: [PATCH] 新增 财产备忘本 --- ruoyi-ui/src/views/wish/wishInfo.vue | 37 ++++++++----------------------------- 1 files changed, 8 insertions(+), 29 deletions(-) diff --git a/ruoyi-ui/src/views/wish/wishInfo.vue b/ruoyi-ui/src/views/wish/wishInfo.vue index 6daf558..db76db6 100644 --- a/ruoyi-ui/src/views/wish/wishInfo.vue +++ b/ruoyi-ui/src/views/wish/wishInfo.vue @@ -17,7 +17,7 @@ <el-row :span="12"> <el-cow > <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 v-model="formData.happenTime" placeholder="璇疯緭鍏ユ椂闂�" type="date" clearable :style="{width: '100%'}" :disabled="dsb"> </el-input> </el-form-item> @@ -117,26 +117,6 @@ </div> </el-upload> - <!--<h4 class="form-header">鍏朵粬闄勪欢 </h4> - <el-upload - action="" - :file-list="fileListOther" - class="upload-demo" - multiple - :on-preview="handlePreview" - - :on-remove="handleRemove" - :http-request="requestUpload" - :show-file-list="true" - > - <el-button v-if="isShow" type="primary" >鐐瑰嚮涓婁紶</el-button> - <template #tip> - <div class="el-upload__tip"> - </div> - </template> - - - </el-upload>--> <h4 class="form-header">鍏朵粬闄勪欢 </h4> <el-upload action="" @@ -145,7 +125,7 @@ multiple list-type="picture-card" :on-preview="handleFileCardPreview" - :on-remove="handleRemove" + :on-remove="handleRemoveFile" :http-request="requestUpload" :show-file-list="true" > @@ -168,12 +148,11 @@ </span> <span v-if="isShow" - @click="handleRemove(file)" class="el-upload-list__item-delete" - + @click="handleDownload(file.url)" > - <i class="el-icon-download"></i> - </span> + <i class="el-icon-download"></i> + </span> <span v-if="isShow" class="el-upload-list__item-delete" @@ -215,8 +194,8 @@ props: [], data() { return { - cdi:"鏀惰棌涓庤崳瑾夎缁嗕俊鎭�", - udi:"鏀惰棌涓庤崳瑾変俊鎭鎯�", + cdi:"鐧惧勾蹇冩効璇︾粏淇℃伅", + udi:"鐧惧勾蹇冩効淇℃伅璇︽儏", fot:[".jpg",".jif"], fileList:[ ], @@ -315,7 +294,7 @@ let _this = this if (id) { this.loading = true; - getWish(id).then((response) => { + getWish({id}).then((response) => { this.formData = response.data; let paths = response.data.url.split(","); for(let i = 0; i < paths.length; i++) -- Gitblit v1.9.1