1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- import Vue from 'vue'
- import VueRouter from 'vue-router'
- if (!window.VueRouter) Vue.use(VueRouter)
- const routesMerchant = [
- //商户管理
- {
- path: '/merchant',
- component: () => import('../views/Layout.vue'),
- children: [
- //绑定商户
- {
-
- path: 'bind',
- name: 'MerchantBind',
- component: () => import('../views/Merchant/Bind.vue'),
- meta: {
- title: '绑定商户',
- }
-
- },
- //登记
- {
- path: 'check',
- component: () => import('../views/Layout.vue'),
- children: [
- //搜索
- {
- path: 'search',
- name: 'MerchantCheckSearch',
- component: () => import('../views/Merchant/Check/Search.vue'),
- meta: {
- title: '搜索',
- }
- },
- //搜索结果
- {
- path: 'searchResult',
- name: 'MerchantCheckSearchResult',
- component: () => import('../views/Merchant/Check/SearchResult.vue'),
- meta: {
- title: '搜索结果',
- }
- },
- //登记结果
- {
- path: 'result',
- name: 'MerchantCheckResult',
- component: () => import('../views/Merchant/Check/Result.vue'),
- meta: {
- title: '登记结果',
- }
- },
- ]
- },
- //历史记录
- {
- path: 'history',
- component: () => import('../views/Layout.vue'),
- children: [
- //记录列表
- {
- path: 'list',
- name: 'MerchantHistoryList',
- component: () => import('../views/Merchant/History/List.vue'),
- meta: {
- title: '记录列表',
- }
- },
- //记录详情
- {
- path: 'info',
- name: 'MerchantHistoryInfo',
- component: () => import('../views/Merchant/History/Info.vue'),
- meta: {
- title: '记录详情',
- }
- },
- ]
- },
- ]
- },
- ]
- export default routesMerchant
|