update 项目合规流程

This commit is contained in:
赵霄
2023-12-20 17:02:22 +08:00
parent 7df7797c24
commit 8a804d416c
5 changed files with 51 additions and 7 deletions
@@ -168,7 +168,7 @@ export default {
},
projectInfo: {}, // 项目信息
standardList: [], // 属性及文本附件的内容(多个标准)
columns: [
basicColumns: [
// 序号
{
title: this.$t('serialNumber'),
@@ -208,9 +208,9 @@ export default {
width: 150,
align: 'center'
},
// 评估反馈
// 评估结果
{
title: this.$t('projectCompliance.evaluationFeedback'),
title: this.$t('projectCompliance.evaluationResult'),
dataIndex: 'evaluationFeedback_dictText',
width: 150,
align: 'center'
@@ -340,10 +340,29 @@ export default {
showQuickJumper: true,
showSizeChanger: true,
total: 0
},
currentNode: null
}
},
computed: {
columns () {
const list = JSON.parse(JSON.stringify(this.basicColumns))
// 各部门主管级领导审批是评估人
if (this.currentNode === ProjectComplianceEvaluationProcessNode.departLeaderApproval.value) {
list[4] = {
// 评估人
title: this.$t('projectCompliance.evaluator'),
dataIndex: 'assessorName',
width: 150,
align: 'center',
scopedSlots: { customRender: 'text' }
}
}
return list
}
},
created () {
this.currentNode = this.$route.query.nodeId
this.initProcessData()
},
methods: {