| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- var routers = [
- {
- path: '/sys/user/list',
- name: 'sys-user-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/sys/user-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/sys/role/list',
- name: 'sys-role-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/sys/role-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/sys/menu/list',
- name: 'sys-menu-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/sys/menu-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/sys/permission/list',
- name: 'sys-permission-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/sys/permission-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/sys/dataDictionary/list',
- name: 'sys-dataDictionary-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/sys/dataDictionary-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/terminalInfo/list',
- name: 'base-terminalInfo-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/terminalInfo-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/electricClientInfo/list',
- name: 'base-electricClientInfo-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/electricClientInfo-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/electricMeterInfo/list',
- name: 'base-electricMeterInfo-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/electricMeterInfo-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/rechargeRecord/list',
- name: 'base-rechargeRecord-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/rechargeRecord-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/rechargeRecordWater/list',
- name: 'base-rechargeRecordWater-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/rechargeRecordWater-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/rechargeRecordProperty/list',
- name: 'base-rechargeRecordProperty-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/rechargeRecordProperty-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/roomInfo/list',
- name: 'base-roomInfo-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/roomInfo-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/rechange/list',
- name: 'base-rechange-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/rechange-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/ownerInfo/list',
- name: 'base-ownerInfo-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/ownerInfo-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/parkingInfo/list',
- name: 'base-parkingInfo-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/parkingInfo-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/parkingApply/list',
- name: 'base-parkingApply-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/parkingApply-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/alarmInfoFence/list',
- name: 'base-alarmInfoFence-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/alarmInfo-fence-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/alarmInfoAlert/list',
- name: 'base-alarmInfoAlert-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/alarmInfo-alert-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/informationInfoComplaint/list',
- name: 'base-informationInfoComplaint-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/informationInfo-complaint-list.vue'),
- meta: {
- roles: ["admin"]
- }
- },
- {
- path: '/base/informationInfoWarranty/list',
- name: 'base-informationInfoWarranty-list',
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('@/views/base/informationInfo-warranty-list.vue'),
- meta: {
- roles: ["admin"]
- }
- }
- ]
- export default routers;
|