连续点击后无法显示bug修复

20240528Test
liujun 2024-04-25 14:50:40 +08:00
parent 123fca5eda
commit bacfc976a6
1 changed files with 39 additions and 27 deletions

View File

@ -19,7 +19,7 @@
<span v-if="imgUrl != ''">
<div class="img-flex">
<viewer>
<img :src="imgUrl" width="40" height="40" style="object-fit: cover;">
<el-image :src="imgUrl" :preview-src-list="[imgUrl]" style="object-fit: cover; width: 40px; height: 40px" z-index="8000" />
</viewer>
</div>
</span>
@ -47,13 +47,13 @@
<span>
<div class="img-flex">
<viewer>
<img
<el-image
v-for="item in userCardIDPhotoFile"
:src="config.fileUrl + item.FILEPATH"
:key="item.IMGFILES_ID"
width="40"
height="40"
style="object-fit: cover;">
:preview-src-list="[config.fileUrl + item.FILEPATH]"
z-index="8000"
style="object-fit: cover; width: 40px; height: 40px"/>
</viewer>
</div>
</span>
@ -137,13 +137,13 @@
<td v-if="userDetailForm.ISPAY === '1'">
<span>
<viewer>
<img
<el-image
v-for="item in insuranceFileList"
:src="config.fileUrl + item.FILEPATH"
:key="item.IMGFILES_ID"
width="40"
height="40"
style="object-fit: cover;">
:preview-src-list="[config.fileUrl + item.FILEPATH]"
z-index="8000"
style="object-fit: cover; width: 40px; height: 40px"/>
</viewer>
</span>
</td>
@ -159,13 +159,13 @@
<td v-if="userDetailForm.IS_SIGN_LABOR === '1'" colspan="3">
<span>
<viewer>
<img
<el-image
v-for="item in contractFileList"
:src="config.fileUrl + item.FILEPATH"
:key="item.IMGFILES_ID"
width="40"
height="40"
style="object-fit: cover;">
:preview-src-list="[config.fileUrl + item.FILEPATH]"
z-index="8000"
style="object-fit: cover; width: 40px; height: 40px"/>
</viewer>
</span>
</td>
@ -178,13 +178,13 @@
<span>
<div class="img-flex">
<viewer>
<img
<el-image
v-for="item in photosOfLevel"
:src="config.fileUrl + item.FILEPATH"
:key="item.IMGFILES_ID"
width="40"
height="40"
style="object-fit: cover;">
:preview-src-list="[config.fileUrl + item.FILEPATH]"
z-index="8000"
style="object-fit: cover; width: 40px; height: 40px"/>
</viewer>
</div>
</span>
@ -268,17 +268,16 @@
<span>
<div class="img-flex">
<viewer>
<img
<el-image
:src="config.fileUrl + item.FILEPATH"
width="40"
height="40"
style="object-fit: cover;">
<img
:preview-src-list="[config.fileUrl + item.FILEPATH]"
z-index="8000"
style="object-fit: cover; width: 40px; height: 40px"/>
<el-image
v-if="item.FILEPATH_BACK"
:src="config.fileUrl + item.FILEPATH_BACK"
width="40"
height="40"
style="object-fit: cover;">
:preview-src-list="[config.fileUrl + item.FILEPATH_BACK]"
z-index="8000"
style="object-fit: cover; width: 40px; height: 40px"/>
</viewer>
</div>
</span>
@ -413,7 +412,7 @@
</el-scrollbar>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false"> </el-button>
<el-button @click="close"> </el-button>
</span>
</el-dialog>
</div>
@ -511,6 +510,19 @@ export default {
},
download(item) {
useDownloadFile(item)
},
close() {
this.visible = false
this.userDetailForm = {}
this.userCardIDPhotoFile = [] //
this.trainRecordList = []
this.photosOfLevel = [] //
this.specialUsersList = {}
this.insuranceFileList = [] //
this.contractFileList = []
this.socialPhotoFile = []
this.gongshangbaoxianFile = []
this.applyList = []
}
}
}