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 @@ - - - - - - - - - - - - - {{ item.name }} - - - - - - - - - - - - - {{ item.name }} - - - - - - - {{ item.name }} - - - - - - + + + + + + + + + + + + + {{ item.name }} + + + + + + + + + + 文件拖入或点击上传 + + 请上传APK/IPA/WGT文件 + + + + + + + {{ item.name }} + + + + + + + {{ item.name }} + + + + + + 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 查询 - 重置 - - - - - - - - - 新增 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + 编辑 + + + type="danger" + link + @click="handleDelete(row.id)" + > 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - 编辑 - - - 删除 - - - - - - - - - - - + + + + + + + + + + + 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);