From b06882064943100e4d618f937734097d4de8ddcb Mon Sep 17 00:00:00 2001 From: kevin jiang Date: Wed, 8 Apr 2020 16:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiisoo-ic-ui/src/pages/Home.vue | 30 +++------- kiisoo-ic-ui/src/pages/shop/IncreaseData.vue | 31 ++++++++++ .../src/pages/shop/IncreaseDataRegion.vue | 15 +++++ ...ShopIncrease.vue => IncreaseDataStaff.vue} | 4 +- .../src/pages/shop/IncreaseDataStore.vue | 15 +++++ .../src/pages/shop/IncreaseManager.vue | 27 +++++++++ .../src/pages/shop/IncreaseStaffManager.vue | 15 +++++ .../src/pages/shop/IncreaseStoreManager.vue | 15 +++++ kiisoo-ic-ui/src/router/index.js | 57 ++++++++++++++++--- 9 files changed, 175 insertions(+), 34 deletions(-) create mode 100644 kiisoo-ic-ui/src/pages/shop/IncreaseData.vue create mode 100644 kiisoo-ic-ui/src/pages/shop/IncreaseDataRegion.vue rename kiisoo-ic-ui/src/pages/shop/{ShopIncrease.vue => IncreaseDataStaff.vue} (63%) create mode 100644 kiisoo-ic-ui/src/pages/shop/IncreaseDataStore.vue create mode 100644 kiisoo-ic-ui/src/pages/shop/IncreaseManager.vue create mode 100644 kiisoo-ic-ui/src/pages/shop/IncreaseStaffManager.vue create mode 100644 kiisoo-ic-ui/src/pages/shop/IncreaseStoreManager.vue diff --git a/kiisoo-ic-ui/src/pages/Home.vue b/kiisoo-ic-ui/src/pages/Home.vue index 9404822..c676003 100644 --- a/kiisoo-ic-ui/src/pages/Home.vue +++ b/kiisoo-ic-ui/src/pages/Home.vue @@ -1,6 +1,4 @@ - 用户管理 - + 账号管理 + 角色管理 - 推广管理 - 推广数据 + 推广管理 + 推广数据 @@ -33,17 +31,7 @@ 数据中心 - 客户数据 - - - - - - 账户管理 - 角色管理 + 客户数据 @@ -91,12 +79,8 @@ export default { } }, methods: { - onSelectLister (val) { - switch (val) { - case "客户数据":this.$router.push("/customer/data");break; - case "角色管理":this.$router.push('/role/manager');break; - default:break; - } + onSelectLister () { + }, collapsedSider () { this.$refs.side1.toggleCollapse(); diff --git a/kiisoo-ic-ui/src/pages/shop/IncreaseData.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseData.vue new file mode 100644 index 0000000..da35e7d --- /dev/null +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseData.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/kiisoo-ic-ui/src/pages/shop/IncreaseDataRegion.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseDataRegion.vue new file mode 100644 index 0000000..02b1cea --- /dev/null +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseDataRegion.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/kiisoo-ic-ui/src/pages/shop/ShopIncrease.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseDataStaff.vue similarity index 63% rename from kiisoo-ic-ui/src/pages/shop/ShopIncrease.vue rename to kiisoo-ic-ui/src/pages/shop/IncreaseDataStaff.vue index 926d617..040a683 100644 --- a/kiisoo-ic-ui/src/pages/shop/ShopIncrease.vue +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseDataStaff.vue @@ -1,12 +1,12 @@ diff --git a/kiisoo-ic-ui/src/pages/shop/IncreaseDataStore.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseDataStore.vue new file mode 100644 index 0000000..4092a85 --- /dev/null +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseDataStore.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/kiisoo-ic-ui/src/pages/shop/IncreaseManager.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseManager.vue new file mode 100644 index 0000000..f28cb13 --- /dev/null +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseManager.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/kiisoo-ic-ui/src/pages/shop/IncreaseStaffManager.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseStaffManager.vue new file mode 100644 index 0000000..eabb2ae --- /dev/null +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseStaffManager.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/kiisoo-ic-ui/src/pages/shop/IncreaseStoreManager.vue b/kiisoo-ic-ui/src/pages/shop/IncreaseStoreManager.vue new file mode 100644 index 0000000..ded5f37 --- /dev/null +++ b/kiisoo-ic-ui/src/pages/shop/IncreaseStoreManager.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/kiisoo-ic-ui/src/router/index.js b/kiisoo-ic-ui/src/router/index.js index 6c24332..66271ef 100755 --- a/kiisoo-ic-ui/src/router/index.js +++ b/kiisoo-ic-ui/src/router/index.js @@ -1,12 +1,16 @@ import Vue from 'vue' import Router from 'vue-router' -import Login from '@/pages/Login' -import ExternalContact from '@/pages/ExternalContact' -import Home from '@/pages/Home' -import AccountManager from '@/pages/user/AccountManager' -import RoleManager from '@/pages/user/RoleManager' -import ShopIncrease from '@/pages/shop/ShopIncrease' +import Login from '@/pages/Login'; +import ExternalContact from '@/pages/ExternalContact'; +import Home from '@/pages/Home'; +import AccountManager from '@/pages/user/AccountManager'; +import RoleManager from '@/pages/user/RoleManager'; +import IncreaseManager from '@/pages/shop/IncreaseManager'; import CustomerData from "@/pages/CustomerData"; +import IncreaseData from '@/pages/shop/IncreaseData'; +import IncreaseDataRegion from '@/pages/shop/IncreaseDataRegion'; +import IncreaseDataStaff from '@/pages/shop/IncreaseDataStaff'; +import IncreaseDataStore from '@/pages/shop/IncreaseDataStore'; Vue.use(Router); const router = new Router({ @@ -32,6 +36,7 @@ const router = new Router({ name: 'Home', component: Home, children: [ + { path: '/account/manager', name: 'AccountManager', @@ -43,9 +48,43 @@ const router = new Router({ component: RoleManager }, { - path: '/shop/increase', - name: 'ShopIncrease', - component: ShopIncrease + path: '/shop/increase/manager', + name: 'IncreaseManager', + component: IncreaseManager, + children: [ + { + path: '/shop/increase/manager/store', + name: 'IncreaseDataRegion', + component: IncreaseDataRegion + }, + { + path: '/shop/increase/manager/staff', + name: 'IncreaseDataStore', + component: IncreaseDataStore + } + ] + }, + { + path: '/shop/increase/data', + name: 'IncreaseData', + component: IncreaseData, + children: [ + { + path: '/shop/increase/data/region', + name: 'IncreaseDataRegion', + component: IncreaseDataRegion + }, + { + path: '/shop/increase/data/store', + name: 'IncreaseDataStore', + component: IncreaseDataStore + }, + { + path: '/shop/increase/data/staff', + name: 'IncreaseDataStaff', + component: IncreaseDataStaff + }, + ] }, { path: '/customer/data',