From e16033bf1342fb8bdf83f56c5051eece664e99f4 Mon Sep 17 00:00:00 2001 From: zou Date: Fri, 7 Aug 2026 10:40:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(F006-P1):=2012=20=E6=9D=A1=20MockTableView?= =?UTF-8?q?=20=E8=B7=AF=E7=94=B1=E5=88=87=E7=9C=9F=20view=20-=20=E8=BF=90?= =?UTF-8?q?=E8=90=A5=E4=B8=AD=E5=BF=83/=E8=B4=A2=E5=8A=A1=E6=B5=81?= =?UTF-8?q?=E6=B0=B4/=E8=B5=84=E8=AE=AF/=E5=B8=AE=E5=8A=A9/=E5=86=85?= =?UTF-8?q?=E5=AE=B9/=E7=B3=BB=E7=BB=9F=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/other/help/HelpListView.vue | 62 ++++++++++++++ .../other/information/InformationListView.vue | 61 ++++++++++++++ .../sys/operation/OperationListView.vue | 80 ++++++++++++++++++ .../finance/AccountTransactionListView.vue | 83 +++++++++++++++++++ src/modules/user/message/MessageListView.vue | 71 ++++++++++++++++ src/router/index.ts | 28 +++---- 6 files changed, 371 insertions(+), 14 deletions(-) create mode 100644 src/modules/other/help/HelpListView.vue create mode 100644 src/modules/other/information/InformationListView.vue create mode 100644 src/modules/sys/operation/OperationListView.vue create mode 100644 src/modules/user/finance/AccountTransactionListView.vue create mode 100644 src/modules/user/message/MessageListView.vue diff --git a/src/modules/other/help/HelpListView.vue b/src/modules/other/help/HelpListView.vue new file mode 100644 index 0000000..0c89a36 --- /dev/null +++ b/src/modules/other/help/HelpListView.vue @@ -0,0 +1,62 @@ + + + + + \ No newline at end of file diff --git a/src/modules/other/information/InformationListView.vue b/src/modules/other/information/InformationListView.vue new file mode 100644 index 0000000..3280ac5 --- /dev/null +++ b/src/modules/other/information/InformationListView.vue @@ -0,0 +1,61 @@ + + + + + \ No newline at end of file diff --git a/src/modules/sys/operation/OperationListView.vue b/src/modules/sys/operation/OperationListView.vue new file mode 100644 index 0000000..4c836c1 --- /dev/null +++ b/src/modules/sys/operation/OperationListView.vue @@ -0,0 +1,80 @@ + + + + + diff --git a/src/modules/user/finance/AccountTransactionListView.vue b/src/modules/user/finance/AccountTransactionListView.vue new file mode 100644 index 0000000..e2b351c --- /dev/null +++ b/src/modules/user/finance/AccountTransactionListView.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/modules/user/message/MessageListView.vue b/src/modules/user/message/MessageListView.vue new file mode 100644 index 0000000..beef407 --- /dev/null +++ b/src/modules/user/message/MessageListView.vue @@ -0,0 +1,71 @@ + + + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 3dab0e3..a30cb93 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -203,13 +203,13 @@ const routes: RouteRecordRaw[] = [ { path: '/message/sms-log', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'message-sms-log' }), meta: { title: '短信日志' } }, { path: '/message/mail-template', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'message-mail-template' }), meta: { title: '邮件模板' } }, { path: '/message/mail-log', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'message-mail-log' }), meta: { title: '邮件日志' } }, - // 4 个运营中心 - { path: '/sys/operation', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'sys-operation-country' }), meta: { title: '全国运营中心' } }, - { path: '/sys/operation/province', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'sys-operation-province' }), meta: { title: '省级运营中心' } }, - { path: '/sys/operation/county', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'sys-operation-county' }), meta: { title: '县级运营中心' } }, - { path: '/sys/operation/association', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'sys-operation-association' }), meta: { title: '行业协会运营' } }, - // 3 个资讯类 - { path: '/other/information', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'other-information' }), meta: { title: '资讯列表' } }, + // 4 个运营中心 (P1: mock -> 真 view, /sys/operation/pageList type 区分) + { path: '/sys/operation', component: () => import('@/modules/sys/operation/OperationListView.vue'), props: () => ({ type: 1 }), meta: { title: '全国运营中心' } }, + { path: '/sys/operation/province', component: () => import('@/modules/sys/operation/OperationListView.vue'), props: () => ({ type: 2 }), meta: { title: '省级运营中心' } }, + { path: '/sys/operation/county', component: () => import('@/modules/sys/operation/OperationListView.vue'), props: () => ({ type: 3 }), meta: { title: '县级运营中心' } }, + { path: '/sys/operation/association', component: () => import('@/modules/sys/operation/OperationListView.vue'), props: () => ({ type: 4 }), meta: { title: '行业协会运营' } }, + // 3 个资讯类 (P1: information -> 真 view, industry/categoryZX 404 保留 mock) + { path: '/other/information', component: () => import('@/modules/other/information/InformationListView.vue'), meta: { title: '资讯列表' } }, { path: '/other/industry', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'other-industry' }), meta: { title: '行业' } }, { path: '/other/category/zx', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'other-category-zx' }), meta: { title: '资讯分类' } }, // devtools 5 个 @@ -239,8 +239,8 @@ const routes: RouteRecordRaw[] = [ { path: '/other/brand', component: () => import('@/modules/other/supplierBrand/SupplierBrandListView.vue'), meta: { title: '品牌管理' } }, // W18 真 view 切换 (原 MockTableView -> 真页面) { path: '/other/category/good', component: () => import('@/modules/other/categoryGood/CategoryGoodListView.vue'), meta: { title: '平台分类' } }, - { path: '/other/help', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'other-help' }), meta: { title: '帮助中心' } }, - { path: '/other/guide', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'other-guide' }), meta: { title: '内容列表' } }, + { path: '/other/help', component: () => import('@/modules/other/help/HelpListView.vue'), meta: { title: '帮助中心' } }, + { path: '/other/guide', component: () => import('@/modules/other/operateguide/OperateguideListView.vue'), meta: { title: '内容列表' } }, { path: '/other/textconfig', component: () => import('@/modules/other/textconfig/TextconfigListView.vue'), meta: { title: '常量配置' } }, { path: '/other/groupbuy', component: () => import('@/modules/other/groupbuy/GroupbuyListView.vue'), meta: { title: '拼团活动' } }, { path: '/other/seckill', component: () => import('@/modules/other/seckill/SeckillListView.vue'), meta: { title: '秒杀活动' } }, @@ -270,11 +270,11 @@ const routes: RouteRecordRaw[] = [ { path: '/user/enterprise/level', component: () => import('@/modules/user/enterpriselevel/EnterpriselevelListView.vue'), meta: { title: '企业等级管理' } }, { path: '/user/enterprise/rating', component: () => import('@/modules/user/enterpriserating/EnterpriseratingListView.vue'), meta: { title: '供应商评级' } }, { path: '/user/enterprise/score', component: () => import('@/modules/user/enterprisescore/EnterprisescoreListView.vue'), meta: { title: '供应商评分' } }, - { path: '/user/finance/recharge', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'user-finance-recharge', queryParams: { type: 1 } }), meta: { title: '充值管理' } }, - { path: '/user/finance/recharge-tx', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'user-finance-recharge-tx', queryParams: { type: 2 } }), meta: { title: '提现管理' } }, - { path: '/user/finance/revenue', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'user-finance-revenue', queryParams: { type: 3 } }), meta: { title: '分账记录管理' } }, - { path: '/user/finance/transaction', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'user-finance-transaction' }), meta: { title: '交易流水' } }, - { path: '/user/message', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'user-message' }), meta: { title: '系统消息' } }, + { path: '/user/finance/recharge', component: () => import('@/modules/user/finance/AccountTransactionListView.vue'), props: () => ({ type: 1 }), meta: { title: '充值管理' } }, + { path: '/user/finance/recharge-tx', component: () => import('@/modules/user/finance/AccountTransactionListView.vue'), props: () => ({ type: 2 }), meta: { title: '提现管理' } }, + { path: '/user/finance/revenue', component: () => import('@/modules/user/finance/AccountTransactionListView.vue'), props: () => ({ type: 3 }), meta: { title: '分账记录管理' } }, + { path: '/user/finance/transaction', component: () => import('@/modules/user/finance/AccountTransactionListView.vue'), meta: { title: '交易流水' } }, + { path: '/user/message', component: () => import('@/modules/user/message/MessageListView.vue'), meta: { title: '系统消息' } }, { path: '/user/message/handel', component: () => import('@/modules/generic/MockTableView.vue'), props: () => ({ configKey: 'user-message-handel' }), meta: { title: '待处理消息' } }, // W3.1 通用通配占位