From c003a5fb28554e2f37c431214dabf6f75f27cc29 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期三, 26 七月 2023 16:52:06 +0800 Subject: [PATCH] 除魅宠外其它模块的图片删除均已完善 --- ruoyi-ui/src/views/contacts/contactsInfo.vue | 21 ++++++--------------- 1 files changed, 6 insertions(+), 15 deletions(-) diff --git a/ruoyi-ui/src/views/contacts/contactsInfo.vue b/ruoyi-ui/src/views/contacts/contactsInfo.vue index 66ff0ac..4439910 100644 --- a/ruoyi-ui/src/views/contacts/contactsInfo.vue +++ b/ruoyi-ui/src/views/contacts/contactsInfo.vue @@ -2,17 +2,9 @@ <div class="app-container"> <div class="form-header mt"> <h4 class="dt h4">閫氳褰曡缁嗕俊鎭� </h4> - <!-- <el-button v-if="isShow" type="primary" class="pt" icon="el-icon-edit" @click="handleEdit()" >缂栬緫</el-button>--> - <!-- <br>--> - <!-- <el-button type="primary" class="pt" @click="handleExport"--> - <!-- v-hasPermi="['self:user:export']" >瀵煎嚭</el-button>--> </div> <div style="padding-left:15px"> <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-position="left" label-width="100px"> - <!-- <el-form-item label="id" prop="id">--> - <!-- <el-input v-model="formData.id" placeholder="璇疯緭鍏d" :maxlength="11" show-word-limit :disabled="true"--> - <!-- clearable prefix-icon='el-icon-mobile' :style="{width: '100%'}"></el-input>--> - <!-- </el-form-item>--> <el-container> <el-row :span="12"> <el-cow> @@ -123,7 +115,7 @@ </div> </el-upload> - <!--<h4 class="form-header">鍏朵粬闄勪欢 </h4> + <h4 class="form-header">鍏朵粬闄勪欢 </h4> <el-upload action="" :file-list="fileListOther" @@ -131,7 +123,7 @@ multiple list-type="picture-card" :on-preview="handleFileCardPreview" - :on-remove="handleRemove" + :on-remove="handleRemoveFile" :http-request="requestUpload" :show-file-list="true" > @@ -155,12 +147,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" @@ -174,7 +165,7 @@ </div> - </el-upload>--> + </el-upload> <el-form-item size="large"> <el-button v-if="isShow" type="primary" @click="submitForm" :disabled="dsb">淇敼</el-button> -- Gitblit v1.9.1