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

main
liujun 2023-12-14 15:23:45 +08:00
parent c48430df78
commit b2e4ab0d38
1 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@
@click="getUserInfo(row)">电子合格证 @click="getUserInfo(row)">电子合格证
</el-button> </el-button>
<el-button <el-button
v-if="(row.STATUS === 0 ||row.STATUS === 1 )&& viewState ==='1' && ((row.MANAGER_USER_ID === USER_ID && row.MANAGER_STATE === 9 && row.STEP_STATUS === '1' ) || (row.SUPERVISION_USER_ID === USER_ID && row.SUPERVISION_STATE === 9 && row.STEP_STATUS === '2') || (row.TERRITORIALITY_USER_ID === USER_ID && row.TERRITORIALITY_STATE === 9 && (row.STEP_STATUS === '0' || !row.STEP_STATUS)))" v-if="(row.STATUS === 0 ||row.STATUS === 1 )&& viewState ==='1' && ((row.MANAGER_USER_ID === USER_ID && row.MANAGER_STATE === 9 && row.STEP_STATUS === '1' ) || (row.SUPERVISION_USER_ID === USER_ID && row.MANAGER_STATE === 1 && row.STEP_STATUS === '2') || (row.TERRITORIALITY_USER_ID === USER_ID && row.SUPERVISION_STATE === 9 && (row.STEP_STATUS === '0' || !row.STEP_STATUS)))"
type="success" type="success"
icon="el-icon-edit" icon="el-icon-edit"
size="mini" size="mini"
@ -180,8 +180,6 @@
<tr> <tr>
<th>文化程度</th> <th>文化程度</th>
<td>{{ userDetailForm.DEGREE_OF_EDUCATION_NAME }}</td> <td>{{ userDetailForm.DEGREE_OF_EDUCATION_NAME }}</td>
<!-- <th>本企业从业开始日期</th>-->
<!-- <td>{{ userDetailForm.CORP_START_DATE }}</td>-->
<th>岗位名称(工种)</th> <th>岗位名称(工种)</th>
<td colspan="3">{{ userDetailForm.POST_ID }}</td> <td colspan="3">{{ userDetailForm.POST_ID }}</td>
</tr> </tr>
@ -332,7 +330,8 @@ export default {
}, },
heirloom: {}, heirloom: {},
message: '', message: '',
operator: '' operator: '',
photosOfLevel: []
} }
}, },
methods: { methods: {
@ -397,6 +396,7 @@ export default {
this.userInfoDialog = true this.userInfoDialog = true
this.heirloom = row this.heirloom = row
console.log(row) console.log(row)
console.log('?????')
if (row.SUPERVISION_STATE === 0 || row.MANAGER_STATE === 0 || row.TERRITORIALITY_STATE === 0) { if (row.SUPERVISION_STATE === 0 || row.MANAGER_STATE === 0 || row.TERRITORIALITY_STATE === 0) {
if (row.SUPERVISION_STATE === 0) { if (row.SUPERVISION_STATE === 0) {
this.message = row.SUPERVISION_OPINION this.message = row.SUPERVISION_OPINION
@ -468,7 +468,7 @@ export default {
this.listLoading = false this.listLoading = false
// this.userDetailForm = Object.assign(this.userDetailForm, data.pd) // this.userDetailForm = Object.assign(this.userDetailForm, data.pd)
this.userPhotoFile = data.userPhotoFile this.userPhotoFile = data.userPhotoFile
if (this.userPhotoFile.length > 0) { if (this.userPhotoFile && this.userPhotoFile.length > 0) {
this.imgUrl = config.fileUrl + this.userPhotoFile[0].FILEPATH this.imgUrl = config.fileUrl + this.userPhotoFile[0].FILEPATH
} }
this.insuranceFileList = data.insuranceFile this.insuranceFileList = data.insuranceFile