From 900540f425000079c321ab98ec9cf2be24330e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Wed, 10 Jan 2024 14:28:52 +0800 Subject: [PATCH] fix 80338 --- .../NoMatchTrackingProcess.vue | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/views/workCenter/noMatchTrackingProcess/NoMatchTrackingProcess.vue b/src/views/workCenter/noMatchTrackingProcess/NoMatchTrackingProcess.vue index 457cd5d8..a6ee1995 100644 --- a/src/views/workCenter/noMatchTrackingProcess/NoMatchTrackingProcess.vue +++ b/src/views/workCenter/noMatchTrackingProcess/NoMatchTrackingProcess.vue @@ -373,17 +373,18 @@ export default { } }, created () { - this.initDict() - if (this.$route.query.processInstanceId || this.$route.query.draftId) { - this.currentNode = this.$route.query.nodeId || NoMatchTrackingNodes.initial.value - this.initProcessInfo() - } else { - this.currentNode = NoMatchTrackingNodes.initial.value - } - // 如果节点不是固定节点,就默认显示审批节点的信息 - this.btnList = NoMatchTrackingNodes.propertyOfValue('btn', this.currentNode) || NoMatchTrackingNodes.regulatoryEngineer.btn this.getPersonInfoStructure(ProcessKey.NO_MATCH_TRACKING.value, () => { - this.initPersonInfoData(this.currentNode === NoMatchTrackingNodes.initial.value) + this.initDict() + if (this.$route.query.processInstanceId || this.$route.query.draftId) { + this.currentNode = this.$route.query.nodeId || NoMatchTrackingNodes.initial.value + this.initPersonInfoData(this.currentNode === NoMatchTrackingNodes.initial.value) + this.initProcessInfo() + } else { + this.currentNode = NoMatchTrackingNodes.initial.value + this.initPersonInfoData(this.currentNode === NoMatchTrackingNodes.initial.value) + } + // 如果节点不是固定节点,就默认显示审批节点的信息 + this.btnList = NoMatchTrackingNodes.propertyOfValue('btn', this.currentNode) || NoMatchTrackingNodes.regulatoryEngineer.btn }) }, methods: { @@ -686,4 +687,4 @@ export default { /deep/ .custom-flex-form-item .ant-form-item .ant-form-item-label { width: 8.5rem; } - \ No newline at end of file +