123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- 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: '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
|