[update 标准解读流程] 解读

This commit is contained in:
danshihao
2024-07-10 09:40:56 +08:00
parent e3ebdc2c25
commit 7942904aa5
6 changed files with 674 additions and 5 deletions
@@ -70,7 +70,9 @@
<!-- 主解读人分发 -->
<interpretation-main-interpreter-distribute v-if="currentNodeId === StandardInterpretationNodes.standardInterpreterDistribution.value"
:disabled="disabled" ref="businessComp"/>
<!-- 解读人填写解读信息 -->
<interpretation-interpreter-fill-info v-if="currentNodeId === StandardInterpretationNodes.interpreterFillInfo.value"
:disabled="disabled" ref="businessComp"/>
<!-- 流程审批信息 -->
<div class="process-part-title">{{ $t('processApprovalInformation') }}</div>
<a-form :form="approvalInfoForm">
@@ -134,11 +136,13 @@ import InterpretationLiaisonDistribute
from '@views/workCenter/standardInterpretationProcess/modules/InterpretationLiaisonDistribute'
import InterpretationMainInterpreterDistribute
from '@views/workCenter/standardInterpretationProcess/modules/InterpretationMainInterpreterDistribute'
import InterpretationInterpreterFillInfo
from '@views/workCenter/standardInterpretationProcess/modules/InterpretationInterpreterFillInfo'
const tabList = ['base', 'user']
export default {
name: 'StandardInterpretationProcess',
components: { InterpretationMainInterpreterDistribute, InterpretationLiaisonDistribute, UserSelectModal, InterpretationInitiate, PersonnelInfo, InternalDetailPage, ProcessDetailList },
components: { InterpretationInterpreterFillInfo, InterpretationMainInterpreterDistribute, InterpretationLiaisonDistribute, UserSelectModal, InterpretationInitiate, PersonnelInfo, InternalDetailPage, ProcessDetailList },
mixins: [WorkCenterMixin],
data () {
return {
@@ -388,6 +392,14 @@ export default {
})
// 条款列表
params.data.processStandardInterpretClauseList = compData.clauseData
} else if (this.currentNodeId === StandardInterpretationNodes.interpreterFillInfo.value) {
// 解读人填写节点
params.data.processStandardInterpret = Object.assign({}, this.info.data.processStandardInterpret, compData.formData, {
projectId: this.projectId
})
// 条款列表
params.data.processStandardInterpretClauseList = []
params.data.processStandardInterpretClauseSublistList = compData.clauseInterpretData
}
// 如果有校验失败的,那就报错
if (flag) {