yusheng пре 1 година
родитељ
комит
cbfb6c4429
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/components/processSubmitDialog/processSubmitDialog.vue

+ 4 - 4
src/components/processSubmitDialog/processSubmitDialog.vue

@@ -266,8 +266,8 @@
       });
 
       //this.dictEnum['工作流任务分配自定义脚本']
-      await this.getDictList(this.dictEnum['工作流任务分配自定义脚本']);
-      await this.getDictList(this.dictEnum['工种类型']);
+      await this.getDictList('bpm_task_assign_script');
+      await this.getDictList('work_type');
     },
     methods: {
       init(row = {}) {
@@ -346,7 +346,7 @@
           }
         } else if (row.type === 22) {
           option = option + ''; // 转换成 string
-          return this.getDictV(this.dictEnum['工种类型'], option);
+          return this.getDictV('work_type', option);
         } else if (row.type === 30 || row.type === 31 || row.type === 32) {
           for (const userOption of this.userOptions) {
             if (userOption.id === option) {
@@ -362,7 +362,7 @@
         } else if (row.type === 50) {
           option = option + ''; // 转换成 string
           return this.getDictV(
-            this.dictEnum['工作流任务分配自定义脚本'],
+            'bpm_task_assign_script',
             option
           );
         } else if (row.type === 60) {