diff --git a/src/pages/bank/list/index.vue b/src/pages/bank/list/index.vue deleted file mode 100644 index 88f1486..0000000 --- a/src/pages/bank/list/index.vue +++ /dev/null @@ -1,122 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue new file mode 100644 index 0000000..8a25e58 --- /dev/null +++ b/src/pages/counter/list/index.vue @@ -0,0 +1,448 @@ + + + + + \ No newline at end of file diff --git a/src/pages/index/list/index.vue b/src/pages/index/list/index.vue index 536ba78..c4dad57 100644 --- a/src/pages/index/list/index.vue +++ b/src/pages/index/list/index.vue @@ -1,448 +1,124 @@ \ No newline at end of file diff --git a/src/pages/manage/index/index.vue b/src/pages/manage/index/index.vue index 187c57d..4b35f50 100644 --- a/src/pages/manage/index/index.vue +++ b/src/pages/manage/index/index.vue @@ -35,7 +35,7 @@ export default { }, methods: { close(){ - this.$router.push('/index/list/') + this.$router.push('/counter/list/') } } }; diff --git a/src/pages/manage/navbar/index.vue b/src/pages/manage/navbar/index.vue index c2d7bcd..2f83217 100644 --- a/src/pages/manage/navbar/index.vue +++ b/src/pages/manage/navbar/index.vue @@ -45,7 +45,7 @@ import Setting from '@/setting'; export default { data() { return { - onRoutes:'/index/list/manage/consumerClient', + onRoutes:'/counter/list/manage/consumerClient', menus: [ { icon: 'menu-icon icon-index', @@ -53,10 +53,10 @@ export default { title: '客户信息', children: [ { - index: '/index/list/manage/consumerClient', + index: '/counter/list/manage/consumerClient', title: '个人客户信息建立', },{ - index: '/index/list/manage/corporateClient', + index: '/counter/list/manage/corporateClient', title: '公司客户信息建立', }, ] @@ -67,23 +67,23 @@ export default { title: '个人业务', children:[ { - index: '/index/list/manage/currentAccount', + index: '/counter/list/manage/currentAccount', title: '活期业务', }, { - index: '/index/list/manage/timeDeposit', + index: '/counter/list/manage/timeDeposit', title: '整存整取', }, { - index: '/index/list/manage/usefulPhrases', + index: '/counter/list/manage/usefulPhrases', title: '零存整取', }, { - index: '/index/list/manage/callDeposits', + index: '/counter/list/manage/callDeposits', title: '通知存款', }, { - index: '/index/list/manage/accountService', + index: '/counter/list/manage/accountService', title: '账户服务', }, ] diff --git a/src/router/modules/bank.js b/src/router/modules/bank.js deleted file mode 100644 index 798294c..0000000 --- a/src/router/modules/bank.js +++ /dev/null @@ -1,23 +0,0 @@ -import BasicLayout from '@/layouts/home'; - -const meta = {}; - -const pre = 'bank-'; - -export default { - path: '/bank', - name: 'bank', - redirect: { - name: `${pre}list` - }, - meta, - component: BasicLayout, - children: [ - { - name: `${pre}list`, - path: `list`, - component: () => import('@/pages/bank/list'), - meta: { title: '首页' } - }, - ] -}; diff --git a/src/router/modules/counter.js b/src/router/modules/counter.js new file mode 100644 index 0000000..122a418 --- /dev/null +++ b/src/router/modules/counter.js @@ -0,0 +1,77 @@ +import BasicLayout from '@/layouts/home'; + +const meta = {}; + +const pre = 'counter-'; + +export default { + path: '/counter', + name: 'counter', + redirect: { + name: `${pre}list` + }, + meta, + component: BasicLayout, + children: [ + { + name: `${pre}list`, + path: `list`, + component: () => import('@/pages/counter/list'), + meta: { title: '综合柜台' }, + children:[ + { + name: `${pre}manager`, + path: `manage`, + component: () => import('@/pages/manage/index'), + meta: { title: '系统管理' }, + children:[ + // 客户信息 + { + name: `${pre}consumerClient`, + path: `consumerClient`, + component: () => import('@/pages/manage/list/client/consumerClient.vue'), + meta: { title: '个人客户信息建立' }, + }, + { + name: `${pre}corporateClient`, + path: `corporateClient`, + component: () => import('@/pages/manage/list/client/corporateClient.vue'), + meta: { title: '公司客户信息建立' }, + }, + // 个人业务 + { + name: `${pre}currentAccount`, + path: `currentAccount`, + component: () => import('@/pages/manage/list/personal/currentAccount.vue'), + meta: { title: '活期业务' }, + }, + { + name: `${pre}timeDeposit`, + path: `timeDeposit`, + component: () => import('@/pages/manage/list/personal/timeDeposit.vue'), + meta: { title: '整存整取' } + }, + { + name: `${pre}usefulPhrases`, + path: `usefulPhrases`, + component: () => import('@/pages/manage/list/personal/usefulPhrases.vue'), + meta: { title: '零存整取' }, + }, + { + name: `${pre}callDeposits`, + path: `callDeposits`, + component: () => import('@/pages/manage/list/personal/callDeposits.vue'), + meta: { title: '通知存款' }, + }, + { + name: `${pre}accountService`, + path: `accountService`, + component: () => import('@/pages/manage/list/personal/accountService.vue'), + meta: { title: '账户服务' }, + }, + ] + } + ] + }, + ] +}; diff --git a/src/router/modules/index.js b/src/router/modules/index.js index 861c571..23c9ff3 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -18,61 +18,7 @@ export default { name: `${pre}list`, path: `list`, component: () => import('@/pages/index/list'), - meta: { title: '首页' }, - children:[ - { - name: `${pre}manager`, - path: `manage`, - component: () => import('@/pages/manage/index'), - meta: { title: '系统管理' }, - children:[ - // 客户信息 - { - name: `${pre}consumerClient`, - path: `consumerClient`, - component: () => import('@/pages/manage/list/client/consumerClient.vue'), - meta: { title: '个人客户信息建立' }, - }, - { - name: `${pre}corporateClient`, - path: `corporateClient`, - component: () => import('@/pages/manage/list/client/corporateClient.vue'), - meta: { title: '公司客户信息建立' }, - }, - // 个人业务 - { - name: `${pre}currentAccount`, - path: `currentAccount`, - component: () => import('@/pages/manage/list/personal/currentAccount.vue'), - meta: { title: '活期业务' }, - }, - { - name: `${pre}timeDeposit`, - path: `timeDeposit`, - component: () => import('@/pages/manage/list/personal/timeDeposit.vue'), - meta: { title: '整存整取' } - }, - { - name: `${pre}usefulPhrases`, - path: `usefulPhrases`, - component: () => import('@/pages/manage/list/personal/usefulPhrases.vue'), - meta: { title: '零存整取' }, - }, - { - name: `${pre}callDeposits`, - path: `callDeposits`, - component: () => import('@/pages/manage/list/personal/callDeposits.vue'), - meta: { title: '通知存款' }, - }, - { - name: `${pre}accountService`, - path: `accountService`, - component: () => import('@/pages/manage/list/personal/accountService.vue'), - meta: { title: '账户服务' }, - }, - ] - } - ] + meta: { title: '首页' } }, ] }; diff --git a/src/router/routes.js b/src/router/routes.js index 80a8438..8727e2f 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -1,5 +1,5 @@ import index from './modules/index' -import bank from './modules/bank' +import counter from './modules/counter' import lobbyManager from './modules/lobbyManager' import BasicLayout from '@/layouts/home' @@ -16,7 +16,7 @@ const frameIn = [ children: [] }, index, - bank, + counter, lobbyManager ]