浏览代码

1.调整获取流程图方法的执行顺序

GouGengquan 1 年之前
父节点
当前提交
fceaaf1ba0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/assets/orderDetail.vue

+ 2 - 2
src/views/assets/orderDetail.vue

@@ -1966,6 +1966,7 @@ export default {
     // 获取页面参数
     this.pageParams.back = this.$route.query.back;
     this.pageParams.row = JSON.parse(this.$route.query.row);
+    this.getProductionTypes(this.pageParams.row.assetsId);
     this.nodeBusinessInfo.doWorkflow = true;
     this.nodeBusinessInfo.mainBusiness = 'ASSET_BUSINESS';
     this.nodeBusinessInfo.businessId = this.pageParams.row.assetsId;
@@ -1980,7 +1981,6 @@ export default {
     }
     this.getCurrentNodeInfo();
     this.getAllotDepartment();
-    this.getProductionTypes(this.pageParams.row.assetsId);
     this.getAssetsDetailById(this.pageParams.row.assetsId);
     this.getAETargetListByAssetsId();
   },
@@ -1990,7 +1990,6 @@ export default {
       this.$api.assets.getAssetsDetailById(id).then(res => {
         if (res.code === 200) {
           this.assetsForm = res.data;
-          this.$refs.board.getInstanceQueue();
           this.assetsForm.members = JSON.parse(res.data.members);
           this.initCustomerSelect(this.assetsForm.clienteleType);
           this.getPrincipalByAllotDepartment();
@@ -2636,6 +2635,7 @@ export default {
       this.$api.assets.getProductionTypes(id).then(res => {
         if (res.code === 200) {
           this.nodeBusinessInfo.production = res.data;
+          this.$refs.board.getInstanceQueue();
         }
       })
     },