[update] 年度制修订标准化发起流程修改

This commit is contained in:
lideqin
2023-12-11 17:13:22 +08:00
parent 6e17e428d6
commit 9c3521833f
3 changed files with 30 additions and 20 deletions
@@ -55,11 +55,11 @@
<!-- 业务基本信息 -->
<div class="process-part-title">{{ $t('basicServiceInformation') }}</div>
<!-- 节点1标准工程师发起的基本信息表单 -->
<engineer-init-base-info v-if="currentNode === 1" ref="baseInfoRef"></engineer-init-base-info>
<engineer-init-base-info v-if="[1, 3].includes(currentNode)" ref="baseInfoRef"></engineer-init-base-info>
<!-- 节点2部所联络人选取审批人 -->
<contact-select-approver-base-info v-else-if="currentNode === 2" ref="baseInfoRef"></contact-select-approver-base-info>
<contact-select-approver-base-info v-else-if="[2, 5].includes(currentNode)" ref="baseInfoRef"></contact-select-approver-base-info>
<!-- 节点3主起草单位主管级领导审批下发 -->
<leader-approve-sent-base-info v-else-if="currentNode === 3" ref="baseInfoRef"></leader-approve-sent-base-info>
<leader-approve-sent-base-info v-else-if="currentNode === 4" ref="baseInfoRef"></leader-approve-sent-base-info>
<!-- 节点4主起草人填写信息 -->
<!-- 节点5部所联络人汇总 -->
<!-- 节点6主起草单位主管级领导批准 -->
@@ -99,8 +99,8 @@
<!-- 提交 -->
<a-button type="primary" :loading="loading" @click="handleStart" icon="upload">{{ $t('submit') }}</a-button>
</template>
<!-- 部所联络人填写/下发任务 -->
<template v-else-if="currentNode === 5">
<!-- 部所联络人汇总 -->
<template v-else-if="currentNode === 7">
<!-- 转办 -->
<a-button type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 -->
@@ -108,7 +108,7 @@
<!-- 提交 -->
<a-button type="primary" :loading="loading" @click="handleSubmit" icon="upload">{{ $t('submit') }}</a-button>
</template>
<template v-else-if="currentNode === 4 || currentNode === 7">
<template v-else-if="currentNode === 6 || currentNode === 9">
<!-- 提交 -->
<a-button type="primary" :loading="loading" @click="handleSubmit" icon="upload">{{ $t('submit') }}</a-button>
</template>
@@ -183,21 +183,27 @@ export default {
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.contactSelectApprover.value) {
// 部所联络人选取审批人
this.currentNode = 2
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.standardizationUpdate.value) {
// 标准化工程师修改调整(隐藏节点)
this.currentNode = 3
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.mainDrafterLeaderSend.value) {
// 主起草单位主管级领导审批下发
this.currentNode = 3
this.currentNode = 4
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.contactUpdate.value) {
// 部所联络人修改调整(隐藏节点)
this.currentNode = 5
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.mainDrafterEnterInfo.value) {
// 主起草人填写信息
this.currentNode = 4
this.currentNode = 6
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.contactsApproval.value) {
// 部所联络人汇总
this.currentNode = 5
this.currentNode = 7
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.mainDrafterLeaderApproval.value) {
// 主起草单位主管级领导批准
this.currentNode = 6
this.currentNode = 8
} else if (nodeId === EsRevisionPlanStandardizationInitNodes.standardizationSumUp.value) {
// 标准化归档
this.currentNode = 7
this.currentNode = 9
} else {
// 预留加签节点
this.currentNode = 999
@@ -307,8 +313,9 @@ export default {
if (type === 'draft') {
this.approvalInfoForm.setFieldsValue(pick(this.model.common, 'commitText', 'commitFile'))
}
// 初始化业务基本信息
this.$refs.baseInfoRef.initData(this.model.dataList)
})
this.$refs.baseInfoRef.initData(this.model.dataList)
} else {
this.$message.warning(res.message)
}