|
@@ -158,7 +158,7 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
- async created() {
|
|
|
+ async mounted() {
|
|
|
await this.getUserInfo();
|
|
|
await this.getAllOrgan();
|
|
|
this.getProcessNodeList();
|
|
@@ -209,6 +209,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getProcessNodeList() {
|
|
|
+ const processId = this.$route.query.processId;
|
|
|
+ if(!processId) {
|
|
|
+ return
|
|
|
+ }
|
|
|
processStructure({
|
|
|
processId: this.$route.query.processId,
|
|
|
userId: this.userId
|