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
@@ -229,7 +229,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.planCheckTarget'),
align: 'center',
width: 180,
dataIndex: 'planInspectObject',
dataIndex: 'planInspectObject_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 主责标准化工作组
@@ -243,7 +243,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.department'),
align: 'center',
width: 180,
dataIndex: 'belongDept',
dataIndex: 'belongDept_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 计划稽查日期
@@ -257,14 +257,14 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.headOfCheck'),
align: 'center',
width: 180,
dataIndex: 'inspectUser',
dataIndex: 'inspectUser_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 标准化组对接人
title: this.$t('enterpriseStandardLibrary.check.contactPerson'),
align: 'center',
width: 180,
dataIndex: 'standardizationDockingUser',
dataIndex: 'standardizationDockingUser_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 实际稽查完成日期
@@ -278,7 +278,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.actualChecker'),
align: 'center',
width: 180,
dataIndex: 'actualInspectUser',
dataIndex: 'actualInspectUser_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 状态
@@ -304,7 +304,7 @@ export default {
}
],
url: {
list: '/enterprise/inspect/page',
list: '/enterprise/inspect/queryByPage',
exportXlsUrl: '/enterprise/inspect/exportData',
exportPostponeDataUrl: '/enterprise/inspect/exportDataWithDelay', // 导出延期数据
exportRectificationPlanUrl: '/enterprise/inspect/exportDataRectifyPlan' // 导出整改计划
@@ -35,11 +35,8 @@
<!-- 所属部门意见 -->
<template v-slot:departOpinion="{text, record}">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
<a class="table-text can-click-table-text" @click="showDepartOpinion(record)" v-if="text && text.length">{{ $t('view') }}</a>
<div class="table-text" v-else>{{ global.emptyLine }}</div>
</a-tooltip>
<a class="table-text can-click-table-text" @click="showDepartOpinion(record)" v-if="text && text.length">{{ $t('view') }}</a>
<div class="table-text" v-else>{{ global.emptyLine }}</div>
</template>
<!-- 操作 -->
@@ -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,