diff --git a/src/config/menu-labels.ts b/src/config/menu-labels.ts index 62c3aef..451569c 100644 --- a/src/config/menu-labels.ts +++ b/src/config/menu-labels.ts @@ -80,7 +80,7 @@ export const MENU_LABELS: MenuLabel[] = [ // ===== 供应商模块 ===== { url: 'supplier/good', label: '实物商品', icon: 'Box', path: '/supplier/good', sort: 300 }, - { url: 'supplier/servicegood', label: '服务商品', icon: 'Box', path: '/supplier/service', sort: 301 }, + { url: 'supplier/servicegood', label: '服务商品(→实物商品)', icon: 'Box', path: '/supplier/good', sort: 301 }, { url: 'supplier/activityzone', label: '活动专区', icon: 'Promotion', path: '/supplier/activity', sort: 302 }, { url: 'supplier/coupon', label: '优惠券', icon: 'Ticket', path: '/supplier/coupon', sort: 303 }, { url: 'supplier/promoter', label: '推广返佣', icon: 'UserFilled', path: '/supplier/promoter', sort: 304 }, @@ -107,7 +107,7 @@ export const MENU_LABELS: MenuLabel[] = [ // ===== API 模块 ===== { url: 'api/lunbo', label: '轮播管理', icon: 'Picture', path: '/api/lunbo', sort: 600 }, - { url: 'api/feedback', label: '意见反馈', icon: 'ChatLineRound', path: '/api/feedback', sort: 601 }, + { url: 'api/feedback', label: '意见反馈(→内容列表)', icon: 'ChatLineRound', path: '/other/operateguide', sort: 601 }, { url: 'api/help', label: '帮助中心', icon: 'Notebook', path: '/api/help', sort: 602 }, // ===== 其它模块(老版本"其它"分组) ===== @@ -156,7 +156,7 @@ export const MENU_LABELS: MenuLabel[] = [ { url: 'sys/excel', label: 'Excel导出', icon: 'Download', path: '/sys/excel', sort: 417 }, { url: 'sys/charts', label: '图表示例', icon: 'TrendCharts', path: '/sys/charts', sort: 418 }, { url: 'sys/product', label: '商品示例', icon: 'Box', path: '/sys/product', sort: 419 }, - { url: 'product/shop', label: '店铺管理', icon: 'Shop', path: '/product/shop', sort: 350 }, + { url: 'product/shop', label: '店铺管理(→商品管理)', icon: 'Shop', path: '/supplier/good', sort: 350 }, { url: 'orderMake/index-admin', label: '开单(管理端)', icon: 'Edit', path: '/order/create-admin', sort: 6 }, { url: 'villageManage/farmerList', label: '农户列表', icon: 'User', path: '/village/farmer', sort: 7 }, { url: 'villageManage/resourceList', label: '资源列表', icon: 'List', path: '/village/resource', sort: 8 }, diff --git a/src/modules/supplier/good/GoodListView.vue b/src/modules/supplier/good/GoodListView.vue index 6659a15..6c12988 100644 --- a/src/modules/supplier/good/GoodListView.vue +++ b/src/modules/supplier/good/GoodListView.vue @@ -1,86 +1,159 @@ 商品管理 - 实物商品审核管理 - 数据接口未实现, 占位页展示预期字段 + 实物商品审核管理(共 {{ total }} 个, 当前页 {{ filtered.length }} 个) - - + + 查询 + 重置 + + + + - - 检测中... - 404 Not Found - 200 OK - Error + + + 无图 - - - - 预期字段 (参考老 /vue 后台) - - - - - + + {{ TYPE_MAP[row.type] || `类型${row.type}` }} + + + + {{ ONSHELF_MAP[row.onShelf]?.label || `状态${row.onShelf}` }} + + + + {{ row.remark || '--' }} + + diff --git a/src/router/index.ts b/src/router/index.ts index dd337cb..63523f4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -281,9 +281,7 @@ const routes: RouteRecordRaw[] = [ // groupbuy + seckill 走真数据, 其它 4 个后端未实现走占位 { path: '/product/shop', - name: 'ShopList', - component: () => import('@/modules/product/shop/ShopListView.vue'), - meta: { title: '商品店铺' } + redirect: '/supplier/good' }, { path: '/supplier/good', @@ -293,9 +291,7 @@ const routes: RouteRecordRaw[] = [ }, { path: '/supplier/servicegood', - name: 'ServiceGoodList', - component: () => import('@/modules/supplier/servicegood/ServiceGoodListView.vue'), - meta: { title: '服务商品' } + redirect: '/supplier/good' }, { path: '/other/groupbuy', @@ -311,9 +307,7 @@ const routes: RouteRecordRaw[] = [ }, { path: '/api/feedback', - name: 'FeedbackList', - component: () => import('@/modules/api/feedback/FeedbackListView.vue'), - meta: { title: '意见反馈' } + redirect: '/other/operateguide' }, // W3.1 通用通配占位 — 覆盖菜单 70 个 url(两层路径,如 /admin/user/finance/recharge)
实物商品审核管理 - 数据接口未实现, 占位页展示预期字段
实物商品审核管理(共 {{ total }} 个, 当前页 {{ filtered.length }} 个)