| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import type { RouteRecordRaw } from 'vue-router'
- const Layout = () => import('@/layouts/index.vue')
- const routes: RouteRecordRaw = {
- path: '/insurancePolicy',
- component: Layout,
- redirect: '/insurancePolicy/index',
- name: 'InsurancePolicy',
- meta: {
- title: '车险出单',
- },
- children: [
- {
- path: 'index',
- name: 'Index',
- component: () => import('@/views/insurancePolicy/index.vue'),
- meta: {
- title: '车险报价',
- // auth:['role.add','role.view','role.delete','role.edit']
- },
- // children: [
- // {
- // path: 'logDetail',
- // name: 'LogDetail',
- // component: () => import('@/views/systemManage/logManage/logDetail.vue'),
- // meta: {
- // title: '日志详情',
- // menu: false,
- // activeMenu: '/systemManage/logManage',
- // },
- // },
- // ]
- },
- {
- path: 'order',
- name: 'Order',
- component: () => import('@/views/insurancePolicy/order.vue'),
- meta: {
- title: '订单管理',
- // auth:['role.add','role.view','role.delete','role.edit']
- }
- }
- ],
- }
- export default routes
|