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'), title: this.$t('enterpriseStandardLibrary.check.planCheckTarget'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'planInspectObject', dataIndex: 'planInspectObject_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 主责标准化工作组 { // 主责标准化工作组
@@ -243,7 +243,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.department'), title: this.$t('enterpriseStandardLibrary.check.department'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'belongDept', dataIndex: 'belongDept_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 计划稽查日期 { // 计划稽查日期
@@ -257,14 +257,14 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.headOfCheck'), title: this.$t('enterpriseStandardLibrary.check.headOfCheck'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'inspectUser', dataIndex: 'inspectUser_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 标准化组对接人 { // 标准化组对接人
title: this.$t('enterpriseStandardLibrary.check.contactPerson'), title: this.$t('enterpriseStandardLibrary.check.contactPerson'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'standardizationDockingUser', dataIndex: 'standardizationDockingUser_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 实际稽查完成日期 { // 实际稽查完成日期
@@ -278,7 +278,7 @@ export default {
title: this.$t('enterpriseStandardLibrary.check.actualChecker'), title: this.$t('enterpriseStandardLibrary.check.actualChecker'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: 'actualInspectUser', dataIndex: 'actualInspectUser_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },
{ // 状态 { // 状态
@@ -304,7 +304,7 @@ export default {
} }
], ],
url: { url: {
list: '/enterprise/inspect/page', list: '/enterprise/inspect/queryByPage',
exportXlsUrl: '/enterprise/inspect/exportData', exportXlsUrl: '/enterprise/inspect/exportData',
exportPostponeDataUrl: '/enterprise/inspect/exportDataWithDelay', // 导出延期数据 exportPostponeDataUrl: '/enterprise/inspect/exportDataWithDelay', // 导出延期数据
exportRectificationPlanUrl: '/enterprise/inspect/exportDataRectifyPlan' // 导出整改计划 exportRectificationPlanUrl: '/enterprise/inspect/exportDataRectifyPlan' // 导出整改计划
@@ -35,11 +35,8 @@
<!-- 所属部门意见 --> <!-- 所属部门意见 -->
<template v-slot:departOpinion="{text, record}"> <template v-slot:departOpinion="{text, record}">
<a-tooltip overlay-class-name="tooltip-style"> <a class="table-text can-click-table-text" @click="showDepartOpinion(record)" v-if="text && text.length">{{ $t('view') }}</a>
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template> <div class="table-text" v-else>{{ global.emptyLine }}</div>
<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>
</template> </template>
<!-- 操作 --> <!-- 操作 -->
@@ -235,13 +235,14 @@ export default {
if (!params.processEsInspectId) { if (!params.processEsInspectId) {
params.processEsInspectId = this.data.id params.processEsInspectId = this.data.id
} }
// 根据是否整改,判断整改状态 1整改中 4无需整改 // 是否整改isRectify 1是 0否
// 判断整改状态rectifyStatus 1整改中 4无需整改
switch (params.isRectify + '') { switch (params.isRectify + '') {
case '0': case '0':
params.rectifyStatus = '1' params.rectifyStatus = '4'
break break
case '1': case '1':
params.rectifyStatus = '4' params.rectifyStatus = '1'
break break
} }
this.confirmLoading = true this.confirmLoading = true
@@ -115,7 +115,7 @@ export default {
title: this.$t('workCenter.esInspectionProcess.file'), title: this.$t('workCenter.esInspectionProcess.file'),
align: 'center', align: 'center',
width: 140, width: 140,
dataIndex: 'attachmentName', dataIndex: 'attachment',
scopedSlots: { customRender: 'file' } scopedSlots: { customRender: 'file' }
}, },
{ // 评分 { // 评分
@@ -205,7 +205,7 @@ export default {
title: this.$t('workCenter.esInspectionProcess.actualInspector'), title: this.$t('workCenter.esInspectionProcess.actualInspector'),
align: 'center', align: 'center',
width: 200, width: 200,
dataIndex: 'actualInspectUser', dataIndex: 'actualInspectUser_dictText',
showCodeList: [ showCodeList: [
EsInspectionProcess.inputInspectionReport.value, EsInspectionProcess.inputInspectionReport.value,
EsInspectionProcess.directorLeaderApprovalTwo.value, EsInspectionProcess.directorLeaderApprovalTwo.value,