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 +