From f2a4ea7dce2c8443ae68e0644c507dbc1365a351 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Thu, 23 Nov 2023 15:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=87=E5=86=9C=E7=A7=91=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=94=B9=E5=88=B0=E9=95=87=E5=90=88=E4=BC=99?= =?UTF-8?q?=E4=BA=BA=E5=85=AC=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task_template/edit.vue | 7 ++++++- src/views/task_template/index.vue | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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 @@