From d7ed7d18d2a15ccd408dcd07ffe395dfb6ef8e4b Mon Sep 17 00:00:00 2001 From: kadycui Date: Sat, 7 Oct 2023 20:56:25 +0800 Subject: [PATCH] =?UTF-8?q?ADD:=20=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/distribution/index.vue | 5 ++ src/pages/distribution/setting.vue | 5 ++ src/pages/level/list.vue | 5 ++ src/pages/setting/base.vue | 2 +- src/pages/setting/buy.vue | 5 ++ src/pages/setting/ship.vue | 5 ++ src/pages/user/list.vue | 83 +----------------------------- src/router/index.js | 49 +++++++++++++++++- 8 files changed, 75 insertions(+), 84 deletions(-) create mode 100644 src/pages/distribution/index.vue create mode 100644 src/pages/distribution/setting.vue create mode 100644 src/pages/level/list.vue create mode 100644 src/pages/setting/buy.vue create mode 100644 src/pages/setting/ship.vue diff --git a/src/pages/distribution/index.vue b/src/pages/distribution/index.vue new file mode 100644 index 0000000..0875c19 --- /dev/null +++ b/src/pages/distribution/index.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/pages/distribution/setting.vue b/src/pages/distribution/setting.vue new file mode 100644 index 0000000..5587839 --- /dev/null +++ b/src/pages/distribution/setting.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/pages/level/list.vue b/src/pages/level/list.vue new file mode 100644 index 0000000..65e4f9e --- /dev/null +++ b/src/pages/level/list.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/pages/setting/base.vue b/src/pages/setting/base.vue index 6d0f1c1..4a9bf27 100644 --- a/src/pages/setting/base.vue +++ b/src/pages/setting/base.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/pages/setting/buy.vue b/src/pages/setting/buy.vue new file mode 100644 index 0000000..57e1798 --- /dev/null +++ b/src/pages/setting/buy.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/pages/setting/ship.vue b/src/pages/setting/ship.vue new file mode 100644 index 0000000..d3fc3ce --- /dev/null +++ b/src/pages/setting/ship.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/pages/user/list.vue b/src/pages/user/list.vue index 382bfed..6e8af82 100644 --- a/src/pages/user/list.vue +++ b/src/pages/user/list.vue @@ -1,85 +1,6 @@ - - - - \ No newline at end of file + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 1306f11..84de4a2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -9,16 +9,22 @@ import Login from '@/pages/login.vue' import GoodList from '@/pages/goods/list.vue' import CategoryList from '@/pages/category/list.vue' import UserList from '@/pages/user/list.vue' +import LevelList from '@/pages/level/list.vue' import OrderList from '@/pages/order/list.vue' import CommentList from '@/pages/comment/list.vue' import ImageList from '@/pages/image/list.vue' import NoticeList from '@/pages/notice/list.vue' import SettingList from '@/pages/setting/base.vue' +import SettingBuy from '@/pages/setting/buy.vue' +import SettingShip from '@/pages/setting/ship.vue' import CouponList from '@/pages/coupon/list.vue' import ManagerList from '@/pages/manager/list.vue' import AccessList from '@/pages/access/list.vue' import RoleList from '@/pages/role/list.vue' import SkusList from '@/pages/skus/list.vue' +import DistributionIndex from '@/pages/distribution/index.vue' +import DistributionSetting from '@/pages/distribution/setting.vue' + @@ -125,7 +131,16 @@ const asyncRoutes = [{ title: "用户列表" } -}, { +},{ + path: "/level/list", + name: "/level/list", + component: LevelList, + meta: { + title: "用户列表" + + } +}, +{ path: "/order/list", name: "/order/list", component: OrderList, @@ -203,7 +218,37 @@ const asyncRoutes = [{ meta: { title: "规格管理" } -}] +},{ + path:"/setting/buy", + name:"/setting/buy", + component:SettingBuy, + meta:{ + title:"支付设置" + } +},{ + path:"/setting/ship", + name:"/setting/ship", + component:SettingShip, + meta:{ + title:"物流设置" + } +},{ + path:"/distribution/index", + name:"/distribution/index", + component:DistributionIndex, + meta:{ + title:"分销员管理" + } +},{ + path:"/distribution/setting", + name:"/distribution/setting", + component:DistributionSetting, + meta:{ + title:"分销设置" + } +} + +] -- GitLab