From b31155753920777c2a1b8c8e46f72832c34e3b12 Mon Sep 17 00:00:00 2001 From: wuKong Date: Tue, 30 Dec 2025 11:34:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(diy-template):=20=E5=B0=86=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E7=B1=BB=E5=9E=8B=E5=AD=97=E6=AE=B5=E9=87=8D=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E4=B8=BA=E6=A8=A1=E6=9D=BF=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 DiyTemplateForm.vue 中的模板类型字段重命名为模板平台 - 将表单模型中的 type 字段更新为 platform 字段 - 更新表单验证规则中字段名称的对应关系 - 在查询参数中添加 platform 字段支持 - 更新表格列显示中字段引用的对应关系 --- .../mall/promotion/diy/template/DiyTemplateForm.vue | 10 +++++----- src/views/mall/promotion/diy/template/index.vue | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/views/mall/promotion/diy/template/DiyTemplateForm.vue b/src/views/mall/promotion/diy/template/DiyTemplateForm.vue index 25c7db0c8..be35f260f 100644 --- a/src/views/mall/promotion/diy/template/DiyTemplateForm.vue +++ b/src/views/mall/promotion/diy/template/DiyTemplateForm.vue @@ -10,8 +10,8 @@ - - + + { formData.value = { id: undefined, name: undefined, - type: undefined, + platform: undefined, remark: undefined, previewPicUrls: [] } diff --git a/src/views/mall/promotion/diy/template/index.vue b/src/views/mall/promotion/diy/template/index.vue index 978181f5e..cf61a60b2 100644 --- a/src/views/mall/promotion/diy/template/index.vue +++ b/src/views/mall/promotion/diy/template/index.vue @@ -30,8 +30,8 @@ class="!w-240px" /> - - + + - + @@ -162,6 +162,7 @@ const queryParams = reactive({ pageNo: 1, pageSize: 10, name: null, + platform: null, createTime: [] }) const queryFormRef = ref() // 搜索的表单