[update 标准解读流程] 发起去掉createTime、加签判断

This commit is contained in:
danshihao
2024-07-30 11:17:53 +08:00
parent d1c00d6809
commit 9e76fbbb05
@@ -112,7 +112,7 @@
<!-- 操作按钮 -->
<div class="detail-page-bottom-operate-box" v-if="!isLook">
<!-- 加签 -->
<a-button v-if="btn.includes('countersign')" type="primary" ghost :loading="loading" @click="handleCountersign" icon="plus">{{ $t('countersign') }}</a-button>
<a-button v-if="$route.query.countersignFlag + '' === '1'" type="primary" ghost :loading="loading" @click="handleCountersign" icon="plus">{{ $t('countersign') }}</a-button>
<!-- 转办 -->
<a-button v-if="btn.includes('transfer')" type="primary" ghost :loading="loading" @click="handleTurnTo" icon="arrow-up">{{ $t('turnTo') }}</a-button>
<!-- 保存 -->
@@ -261,6 +261,11 @@ export default {
this.currentNodeName = taskName || StandardInterpretationNodes.initiated.text
this.projectId = projectId || ''
this.btn = StandardInterpretationNodes.propertyOfValue('btn', this.currentNodeId) || []
// 如果有nodeId,但是匹配不到任何节点,就是是增加的审批节点
if (nodeId && !StandardInterpretationNodes.keyOfValue(nodeId)) {
// 同意按钮
this.btn = ['agree']
}
// 查询人员信息
this.getPersonInfoStructure(this.processKey, () => {
this.initPersonInfoData(this.isInitiate)
@@ -423,6 +428,7 @@ export default {
standardId: standardData.standardId,
projectId: this.projectId
})
delete params.data.processStandardInterpret.createTime
params.data.processStandardInterpretClauseList = compData.clauseData || []
} else if (this.currentNodeId === StandardInterpretationNodes.controlDepartLiaisonDistribution.value) {
// 联络人分发节点