diff --git a/src/views/task_template/edit.vue b/src/views/task_template/edit.vue index d6ed4bc..b3d5697 100644 --- a/src/views/task_template/edit.vue +++ b/src/views/task_template/edit.vue @@ -289,8 +289,13 @@ const formData = reactive({ if (route.query.id) { formData.task_scheduling = route.query.id; } + +let type_value = "xxx" +if(route.query.company_type == 18) { + type_value = "task_type" +} //任务类型接口 -apiTaskTypeList({ type_value: "task_type" }).then((res) => { +apiTaskTypeList({ type_value: type_value}).then((res) => { datalist.value = res.lists; }); diff --git a/src/views/task_template/index.vue b/src/views/task_template/index.vue index bfa16da..d0901f2 100644 --- a/src/views/task_template/index.vue +++ b/src/views/task_template/index.vue @@ -150,7 +150,7 @@