|
@@ -122,21 +122,21 @@
|
|
|
<el-descriptions title="资料附件">
|
|
<el-descriptions title="资料附件">
|
|
|
<el-descriptions-item>
|
|
<el-descriptions-item>
|
|
|
<template #default>
|
|
<template #default>
|
|
|
- <div class="fileItem">
|
|
|
|
|
|
|
+ <div class="fileItem" v-if="imageChangeName('sfz1')">
|
|
|
<span class="label">身份证(人像面)</span>
|
|
<span class="label">身份证(人像面)</span>
|
|
|
<div class="fileName">
|
|
<div class="fileName">
|
|
|
<span class="file-name">{{ imageChangeName('sfz1') }}</span>
|
|
<span class="file-name">{{ imageChangeName('sfz1') }}</span>
|
|
|
<el-icon class="file-icon" @click="imageView('sfz1')"><View /></el-icon>
|
|
<el-icon class="file-icon" @click="imageView('sfz1')"><View /></el-icon>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="fileItem">
|
|
|
|
|
|
|
+ <div class="fileItem" v-if="imageChangeName('sfz2')">
|
|
|
<span class="label">身份证(国徽面)</span>
|
|
<span class="label">身份证(国徽面)</span>
|
|
|
<div class="fileName">
|
|
<div class="fileName">
|
|
|
<span class="file-name">{{ imageChangeName('sfz2') }}</span>
|
|
<span class="file-name">{{ imageChangeName('sfz2') }}</span>
|
|
|
<el-icon class="file-icon" @click="imageView('sfz2')"><View /></el-icon>
|
|
<el-icon class="file-icon" @click="imageView('sfz2')"><View /></el-icon>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="fileItem">
|
|
|
|
|
|
|
+ <div class="fileItem" v-if="imageChangeName('qualification')">
|
|
|
<span class="label">展业资格证</span>
|
|
<span class="label">展业资格证</span>
|
|
|
<div class="fileName">
|
|
<div class="fileName">
|
|
|
<span class="file-name">{{ imageChangeName('qualification') }}</span>
|
|
<span class="file-name">{{ imageChangeName('qualification') }}</span>
|
|
@@ -432,13 +432,13 @@ const closeAddOperation = (text: string) => {
|
|
|
const imageChangeName = (type) => {
|
|
const imageChangeName = (type) => {
|
|
|
if(dataDetail.value&&dataDetail.value.fileList.length>0) {
|
|
if(dataDetail.value&&dataDetail.value.fileList.length>0) {
|
|
|
let obj = dataDetail.value.fileList.find(item => item.fileType === type)
|
|
let obj = dataDetail.value.fileList.find(item => item.fileType === type)
|
|
|
- return obj.fileName
|
|
|
|
|
|
|
+ return obj?.fileName
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
const imageChangeUrl = (type) => {
|
|
const imageChangeUrl = (type) => {
|
|
|
if(dataDetail.value.fileList.length>0) {
|
|
if(dataDetail.value.fileList.length>0) {
|
|
|
let obj = dataDetail.value.fileList.find(item => item.fileType == type)
|
|
let obj = dataDetail.value.fileList.find(item => item.fileType == type)
|
|
|
- return obj.fileUrl
|
|
|
|
|
|
|
+ return obj?.fileUrl
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|