fix 80338

This commit is contained in:
赵霄
2024-01-10 14:28:52 +08:00
parent 2a7fd846be
commit 900540f425
@@ -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;
}
</style>
</style>