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