update 稽查流程部分完善

This commit is contained in:
danshihao
2023-11-29 15:55:41 +08:00
parent 35aea9de91
commit 35e0c6ef31
5 changed files with 14 additions and 16 deletions
@@ -235,13 +235,14 @@ export default {
if (!params.processEsInspectId) {
params.processEsInspectId = this.data.id
}
// 根据是否整改,判断整改状态 1整改中 4无需整改
// 是否整改isRectify 1是 0否
// 判断整改状态rectifyStatus 1整改中 4无需整改
switch (params.isRectify + '') {
case '0':
params.rectifyStatus = '1'
params.rectifyStatus = '4'
break
case '1':
params.rectifyStatus = '4'
params.rectifyStatus = '1'
break
}
this.confirmLoading = true
@@ -115,7 +115,7 @@ export default {
title: this.$t('workCenter.esInspectionProcess.file'),
align: 'center',
width: 140,
dataIndex: 'attachmentName',
dataIndex: 'attachment',
scopedSlots: { customRender: 'file' }
},
{ // 评分
@@ -205,7 +205,7 @@ export default {
title: this.$t('workCenter.esInspectionProcess.actualInspector'),
align: 'center',
width: 200,
dataIndex: 'actualInspectUser',
dataIndex: 'actualInspectUser_dictText',
showCodeList: [
EsInspectionProcess.inputInspectionReport.value,
EsInspectionProcess.directorLeaderApprovalTwo.value,