From ea28959d814ba41fdb13a6e4bb3758f5b6d19ca8 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 31 Aug 2023 16:08:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/app_update/edit.vue | 284 +++++++++++++----------- src/views/app_update/index.vue | 356 +++++++++++++++++-------------- src/views/task_template/edit.vue | 1 + 3 files changed, 361 insertions(+), 280 deletions(-) diff --git a/src/views/app_update/edit.vue b/src/views/app_update/edit.vue index 600c3e5..564a683 100644 --- a/src/views/app_update/edit.vue +++ b/src/views/app_update/edit.vue @@ -1,153 +1,193 @@ diff --git a/src/views/app_update/index.vue b/src/views/app_update/index.vue index 9d95b38..84502b7 100644 --- a/src/views/app_update/index.vue +++ b/src/views/app_update/index.vue @@ -1,191 +1,231 @@ diff --git a/src/views/task_template/edit.vue b/src/views/task_template/edit.vue index 22321ce..2e41b43 100644 --- a/src/views/task_template/edit.vue +++ b/src/views/task_template/edit.vue @@ -423,6 +423,7 @@ const clickTaskAdmin = async () => { const handleSubmit = async () => { await formRef.value?.validate(); const data = { ...formData }; + if (data.type != 32) data.extend = {}; // 不为三轮车任务时,过滤三轮车配置 mode.value == "edit" ? await apiTaskTemplateEdit(data) : await apiTaskTemplateAdd(data);