From 5546995028e2cf782ca9f6f82d365b064049d183 Mon Sep 17 00:00:00 2001 From: danshihao Date: Mon, 22 Jul 2024 18:18:38 +0800 Subject: [PATCH] =?UTF-8?q?[fix=2087387]=20=E7=A6=81=E7=94=A8=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StandardInterpretationProcess.vue | 16 ++++++++++++---- .../modules/InterpretationInitiate.vue | 1 + .../InterpretationMainInterpreterDistribute.vue | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue index b480b43..3b99441 100644 --- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue +++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue @@ -58,7 +58,8 @@ v-decorator="['prcMes']" /> - + + - + @@ -109,7 +111,7 @@ -
+
{{ $t('countersign') }} @@ -241,6 +243,10 @@ export default { isInitiate () { return this.currentNodeId === StandardInterpretationNodes.initiated.value }, + // 是否分发节点 + isDistributeNode () { + return this.mainInterpreterDistributeNodes.includes(this.currentNodeId) + }, // 页面标题 pageTitle () { return this.$t('flowCenter') + this.$route.meta.title + '(' + this.currentNodeName + ')' @@ -475,7 +481,9 @@ export default { }) // 所有删除的id - params.processAllDelIds = compData.processAllDelIds.filter(id => id) + if (Array.isArray(compData.processAllDelIds)) { + params.processAllDelIds = compData.processAllDelIds.filter(id => id) + } // 保存草稿信息 params.infoJsonStr = JSON.stringify({ // 人员信息(要重新获取,流程里的信息不能直接用,后端需要多选人员处理成数组了) diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue index 6aaba92..39a32b9 100644 --- a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue +++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue @@ -32,6 +32,7 @@