From 00c3133391fe9927b36354e5be7a4d5830eba996 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 2 Apr 2023 00:17:56 +0800 Subject: [PATCH] =?UTF-8?q?REVIEW=20=E5=95=86=E5=93=81=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/infra/codegen/index.vue | 2 +- src/views/infra/job/index.vue | 2 +- src/views/infra/job/logger/index.vue | 2 +- .../category/{form.vue => CategoryForm.vue} | 74 +++++++++---------- src/views/mall/product/category/index.vue | 58 ++++++++------- src/views/mall/product/category/utils.ts | 44 ----------- src/views/system/dept/index.vue | 2 +- 7 files changed, 72 insertions(+), 112 deletions(-) rename src/views/mall/product/category/{form.vue => CategoryForm.vue} (76%) delete mode 100644 src/views/mall/product/category/utils.ts diff --git a/src/views/infra/codegen/index.vue b/src/views/infra/codegen/index.vue index 34c81e58..4325f702 100644 --- a/src/views/infra/codegen/index.vue +++ b/src/views/infra/codegen/index.vue @@ -163,7 +163,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const dataSourceConfigList = ref([]) // 数据源列表 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/job/index.vue b/src/views/infra/job/index.vue index 72f6b95b..e113878a 100644 --- a/src/views/infra/job/index.vue +++ b/src/views/infra/job/index.vue @@ -168,7 +168,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/job/logger/index.vue b/src/views/infra/job/logger/index.vue index ab28b285..f55a0647 100644 --- a/src/views/infra/job/logger/index.vue +++ b/src/views/infra/job/logger/index.vue @@ -141,7 +141,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/mall/product/category/form.vue b/src/views/mall/product/category/CategoryForm.vue similarity index 76% rename from src/views/mall/product/category/form.vue rename to src/views/mall/product/category/CategoryForm.vue index e2b6f62a..b3e68001 100644 --- a/src/views/mall/product/category/form.vue +++ b/src/views/mall/product/category/CategoryForm.vue @@ -10,11 +10,11 @@ @@ -32,10 +32,11 @@ {{ dict.label }} + :label="dict.value" + > + {{ dict.label }} @@ -44,18 +45,16 @@ diff --git a/src/views/mall/product/category/index.vue b/src/views/mall/product/category/index.vue index 12f51cff..f91e1450 100644 --- a/src/views/mall/product/category/index.vue +++ b/src/views/mall/product/category/index.vue @@ -1,7 +1,13 @@ - + - + -