From 5af0d4adb333d6dd3cb54b3f47ccb92ab7f43b3e Mon Sep 17 00:00:00 2001 From: Sisyphus Date: Sat, 4 Jul 2026 21:42:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(F006-W3xC):=205=20=E4=B8=AA=E6=96=B0=20vie?= =?UTF-8?q?w=20(P1=20=E5=9F=BA=E7=A1=80=E8=AE=BE=E7=BD=AE=E5=85=A8?= =?UTF-8?q?=E9=83=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - P1.1 /other/goodunit 商品单位 (走 /other/goodunit/list 真 API, 112 行真数据, 6 字段) - P1.2 /other/textconfig 常量配置 (后端 500, 走 el-result 占位) - P1.3 /other/categoryGood 平台分类 (后端 404, 走 el-result 占位) - P1.4 /other/label 标签管理 (后端 404, 走 el-result 占位) - P1.5 /other/supplierBrand 品牌管理 (后端 404, 走 el-result 占位) P1 推进模式: 1 view 真数据 (goodunit 走 list 数组 API) + 4 view 占位页 (后端未实现走 el-result) --- .../categoryGood/CategoryGoodListView.vue | 58 +++++++++ .../other/goodunit/GoodunitListView.vue | 122 ++++++++++++++++++ src/modules/other/label/LabelListView.vue | 58 +++++++++ .../supplierBrand/SupplierBrandListView.vue | 58 +++++++++ .../other/textconfig/TextconfigListView.vue | 58 +++++++++ src/router/index.ts | 32 +++++ 6 files changed, 386 insertions(+) create mode 100644 src/modules/other/categoryGood/CategoryGoodListView.vue create mode 100644 src/modules/other/goodunit/GoodunitListView.vue create mode 100644 src/modules/other/label/LabelListView.vue create mode 100644 src/modules/other/supplierBrand/SupplierBrandListView.vue create mode 100644 src/modules/other/textconfig/TextconfigListView.vue diff --git a/src/modules/other/categoryGood/CategoryGoodListView.vue b/src/modules/other/categoryGood/CategoryGoodListView.vue new file mode 100644 index 0000000..feb97b9 --- /dev/null +++ b/src/modules/other/categoryGood/CategoryGoodListView.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/modules/other/goodunit/GoodunitListView.vue b/src/modules/other/goodunit/GoodunitListView.vue new file mode 100644 index 0000000..2084003 --- /dev/null +++ b/src/modules/other/goodunit/GoodunitListView.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/src/modules/other/label/LabelListView.vue b/src/modules/other/label/LabelListView.vue new file mode 100644 index 0000000..42bc521 --- /dev/null +++ b/src/modules/other/label/LabelListView.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/modules/other/supplierBrand/SupplierBrandListView.vue b/src/modules/other/supplierBrand/SupplierBrandListView.vue new file mode 100644 index 0000000..7aa4c01 --- /dev/null +++ b/src/modules/other/supplierBrand/SupplierBrandListView.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/modules/other/textconfig/TextconfigListView.vue b/src/modules/other/textconfig/TextconfigListView.vue new file mode 100644 index 0000000..86c8a2a --- /dev/null +++ b/src/modules/other/textconfig/TextconfigListView.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index a23a7c1..a163ebb 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -245,6 +245,38 @@ const routes: RouteRecordRaw[] = [ component: () => import('@/modules/sys/region/RegionListView.vue'), meta: { title: '行政区域' } }, + // W3.x C P1.1-5: 基础设置 5 个 (textconfig/categoryGood/label/supplierBrand/goodunit) + // goodunit 走真数据 API, 其它 4 个后端未实现走占位 + { + path: '/other/goodunit', + name: 'GoodunitList', + component: () => import('@/modules/other/goodunit/GoodunitListView.vue'), + meta: { title: '商品单位' } + }, + { + path: '/other/textconfig', + name: 'TextconfigList', + component: () => import('@/modules/other/textconfig/TextconfigListView.vue'), + meta: { title: '常量配置' } + }, + { + path: '/other/categoryGood', + name: 'CategoryGoodList', + component: () => import('@/modules/other/categoryGood/CategoryGoodListView.vue'), + meta: { title: '平台分类' } + }, + { + path: '/other/label', + name: 'LabelList', + component: () => import('@/modules/other/label/LabelListView.vue'), + meta: { title: '标签管理' } + }, + { + path: '/other/supplierBrand', + name: 'SupplierBrandList', + component: () => import('@/modules/other/supplierBrand/SupplierBrandListView.vue'), + meta: { title: '品牌管理' } + }, // W3.1 通用通配占位 — 覆盖菜单 70 个 url(两层路径,如 /admin/user/finance/recharge) // 注意:必须放在具体路由后面,否则会拦截 /inquiry /login