|
@@ -44,7 +44,6 @@
|
|
<el-icon><zoom-in /></el-icon>
|
|
<el-icon><zoom-in /></el-icon>
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
- v-if="!disabled"
|
|
|
|
class="el-upload-list__item-delete"
|
|
class="el-upload-list__item-delete"
|
|
@click="handleDownload(file)"
|
|
@click="handleDownload(file)"
|
|
>
|
|
>
|
|
@@ -52,7 +51,6 @@
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
v-if="!disabled"
|
|
v-if="!disabled"
|
|
- style="display:none;"
|
|
|
|
class="el-upload-list__item-delete"
|
|
class="el-upload-list__item-delete"
|
|
@click="handleRemove(file,fileList)"
|
|
@click="handleRemove(file,fileList)"
|
|
>
|
|
>
|
|
@@ -93,7 +91,6 @@
|
|
<el-icon><zoom-in /></el-icon>
|
|
<el-icon><zoom-in /></el-icon>
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
- v-if="!disabled"
|
|
|
|
class="el-upload-list__item-delete"
|
|
class="el-upload-list__item-delete"
|
|
@click="handleDownload2(file)"
|
|
@click="handleDownload2(file)"
|
|
>
|
|
>
|
|
@@ -101,7 +98,6 @@
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
v-if="!disabled"
|
|
v-if="!disabled"
|
|
- style="display:none;"
|
|
|
|
class="el-upload-list__item-delete"
|
|
class="el-upload-list__item-delete"
|
|
@click="handleRemove2(file,fileList2)"
|
|
@click="handleRemove2(file,fileList2)"
|
|
>
|
|
>
|
|
@@ -158,7 +154,6 @@
|
|
<el-icon><zoom-in /></el-icon>
|
|
<el-icon><zoom-in /></el-icon>
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
- v-if="!disabled"
|
|
|
|
class="el-upload-list__item-delete"
|
|
class="el-upload-list__item-delete"
|
|
@click="handleDownload(file)"
|
|
@click="handleDownload(file)"
|
|
>
|
|
>
|
|
@@ -206,7 +201,6 @@
|
|
<el-icon><zoom-in /></el-icon>
|
|
<el-icon><zoom-in /></el-icon>
|
|
</span>
|
|
</span>
|
|
<span
|
|
<span
|
|
- v-if="!disabled"
|
|
|
|
class="el-upload-list__item-delete"
|
|
class="el-upload-list__item-delete"
|
|
@click="handleDownload2(file)"
|
|
@click="handleDownload2(file)"
|
|
>
|
|
>
|
|
@@ -341,7 +335,7 @@
|
|
},
|
|
},
|
|
handleRemove2(file) {
|
|
handleRemove2(file) {
|
|
console.log(file);
|
|
console.log(file);
|
|
- this.hideUploadEdit = false
|
|
|
|
|
|
+ this.hideUploadEdit2 = false
|
|
// 如果需要删除图片信息,可以根据file或其他标识从相应的数据结构中删除信息
|
|
// 如果需要删除图片信息,可以根据file或其他标识从相应的数据结构中删除信息
|
|
const fileIndex = this.fileList2.indexOf(file);
|
|
const fileIndex = this.fileList2.indexOf(file);
|
|
if (fileIndex !== -1) {
|
|
if (fileIndex !== -1) {
|
|
@@ -392,7 +386,7 @@
|
|
this.inputForm.socialSecurityPictureOpposite = '/' + res.url
|
|
this.inputForm.socialSecurityPictureOpposite = '/' + res.url
|
|
this.inputForm.socialSecurityPictureOppositeUrl = res.lsUrl
|
|
this.inputForm.socialSecurityPictureOppositeUrl = res.lsUrl
|
|
}
|
|
}
|
|
- this.hideUploadEdit = true
|
|
|
|
|
|
+ this.hideUploadEdit2 = true
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
},
|
|
},
|
|
checkBankNumber(bankNumber) {
|
|
checkBankNumber(bankNumber) {
|
|
@@ -428,6 +422,12 @@
|
|
this.inputForm.id = id
|
|
this.inputForm.id = id
|
|
this.visible = true
|
|
this.visible = true
|
|
this.loading = false
|
|
this.loading = false
|
|
|
|
+ this.testFlag = false,
|
|
|
|
+ this.disabled = false,
|
|
|
|
+ this.hideUploadEdit = false, //隐藏上传按钮
|
|
|
|
+ this.hideUploadEdit2 = false, //隐藏上传按钮
|
|
|
|
+ this.dialogVisible = false,
|
|
|
|
+ this.dialogVisible2 = false,
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.loading = true
|
|
this.loading = true
|
|
enrollmentRegistrationService.findSocialCardById(this.inputForm.id).then( async (data) => {
|
|
enrollmentRegistrationService.findSocialCardById(this.inputForm.id).then( async (data) => {
|
|
@@ -443,6 +443,7 @@
|
|
this.testFlag = true
|
|
this.testFlag = true
|
|
}
|
|
}
|
|
if (this.commonJS.isNotEmpty(this.inputForm.socialSecurityPictureFront)){
|
|
if (this.commonJS.isNotEmpty(this.inputForm.socialSecurityPictureFront)){
|
|
|
|
+ this.hideUploadEdit = true,
|
|
await this.ossService.getTemporaryUrl(this.inputForm.socialSecurityPictureFront).then((data) => {
|
|
await this.ossService.getTemporaryUrl(this.inputForm.socialSecurityPictureFront).then((data) => {
|
|
let file = {
|
|
let file = {
|
|
url: data
|
|
url: data
|
|
@@ -452,6 +453,7 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
if (this.commonJS.isNotEmpty(this.inputForm.socialSecurityPictureOpposite)){
|
|
if (this.commonJS.isNotEmpty(this.inputForm.socialSecurityPictureOpposite)){
|
|
|
|
+ this.hideUploadEdit2 = true,
|
|
await this.ossService.getTemporaryUrl(this.inputForm.socialSecurityPictureOpposite).then((data) => {
|
|
await this.ossService.getTemporaryUrl(this.inputForm.socialSecurityPictureOpposite).then((data) => {
|
|
let file = {
|
|
let file = {
|
|
url: data
|
|
url: data
|
|
@@ -460,6 +462,13 @@
|
|
// this.inputForm.socialSecurityPictureFrontUrl = data
|
|
// this.inputForm.socialSecurityPictureFrontUrl = data
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ await this.commonApi.getTaskNameByProcInsId(this.inputForm.procInsId).then((data) => {
|
|
|
|
+ if (this.commonJS.isNotEmpty(data)) {
|
|
|
|
+ if (data === '审核') {
|
|
|
|
+ this.disabled = true
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
|
|
this.loading = false
|
|
this.loading = false
|
|
})
|
|
})
|
|
@@ -489,6 +498,12 @@
|
|
this.$refs.inputForm.resetFields()
|
|
this.$refs.inputForm.resetFields()
|
|
this.fileList = []
|
|
this.fileList = []
|
|
this.fileList2 = []
|
|
this.fileList2 = []
|
|
|
|
+ this.testFlag = false,
|
|
|
|
+ this.disabled = false,
|
|
|
|
+ this.hideUploadEdit = false, //隐藏上传按钮
|
|
|
|
+ this.hideUploadEdit2 = false, //隐藏上传按钮
|
|
|
|
+ this.dialogVisible = false,
|
|
|
|
+ this.dialogVisible2 = false,
|
|
this.visible = false
|
|
this.visible = false
|
|
},
|
|
},
|
|
reapplyForm (callback) {
|
|
reapplyForm (callback) {
|