12618 编辑页面 判空提示语不正确

1212-八项作业迁移
liujun 2023-12-14 15:23:44 +08:00
parent 3cc3f0356d
commit 9cc446d1ae
2 changed files with 5 additions and 32 deletions

View File

@ -1030,33 +1030,6 @@ export default {
}
}
}
// if (this.form.IS_INJURIES_PAY === '1') {
// if (this.$refs['gongshangFileList'].uploadFiles.length > 0) {
// for (let i = 0; i < this.$refs['gongshangFileList'].uploadFiles.length; i++) {
// if (this.$refs['gongshangFileList'].uploadFiles[i]) {
// formData.append('WORK_INSURANCE_LIST', this.$refs['gongshangFileList'].uploadFiles[i].raw)
// }
// }
// }
// }
// if (this.form.ISPAY === '1') {
// if (this.form.insuranceFileList.length > 0) {
// for (let i = 0; i < this.form.insuranceFileList.length; i++) {
// if (this.form.insuranceFileList[i]) {
// formData.append('insuranceFile', this.form.insuranceFileList[i].raw)
// }
// }
// }
// }
// if (this.form.IS_SIGN_LABOR === '1') {
// if (this.form.contractFileList.length > 0) {
// for (let i = 0; i < this.form.contractFileList.length; i++) {
// if (this.form.contractFileList[i]) {
// formData.append('contractFile', this.form.contractFileList[i].raw)
// }
// }
// }
// }
formData.append('CORPINFO_ID', JSON.parse(sessionStorage.getItem('user')).CORPINFO_ID)
formData.append('EMPLOYMENT_APPLY_MANAGEMENT_ID', this.EMPLOYMENT_APPLY_MANAGEMENT_ID)
upload(

View File

@ -136,7 +136,7 @@
<tr>
<th>民族</th>
<td>{{ userDetailForm.minzuName }}</td>
<td>{{ userDetailForm.minzuName ? userDetailForm.minzuName : '暂无信息' }}</td>
<th>婚姻状况</th>
<td>{{ userDetailForm.MARITALSTATUS === '0' ? '未婚' : '已婚' }}</td>
<th>政治面貌</th>
@ -148,9 +148,9 @@
<tr>
<th>户口所在地</th>
<td>{{ userDetailForm.HKLOCAL }}</td>
<td>{{ userDetailForm.HKLOCAL ? userDetailForm.HKLOCAL : '暂无信息' }}</td>
<th>现住址</th>
<td>{{ userDetailForm.ADDRESS }}</td>
<td>{{ userDetailForm.ADDRESS ? userDetailForm.ADDRESS : '暂无信息' }}</td>
<th>联系电话</th>
<td>{{ userDetailForm.PHONE }}</td>
</tr>
@ -185,8 +185,8 @@
<tr>
<th>是否参加三级安全培训</th>
<td>{{ formatLabel(userDetailForm.IS_LEVEL_THREE) }}</td>
<th>三级安全培训照</th>
<td v-if="photosOfLevel.length>0" colspan="5">
<th v-if="userDetailForm.IS_LEVEL_THREE == 1"></th>
<td v-if="userDetailForm.IS_LEVEL_THREE == 1 && photosOfLevel.length>0" colspan="5">
<span>
<div class="img-flex">
<viewer>