insurancePolicy.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. import type { RouteRecordRaw } from 'vue-router'
  2. const Layout = () => import('@/layouts/index.vue')
  3. const routes: RouteRecordRaw = {
  4. path: '/insurancePolicy',
  5. component: Layout,
  6. redirect: '/insurancePolicy/index',
  7. name: 'InsurancePolicy',
  8. meta: {
  9. title: '车险出单',
  10. },
  11. children: [
  12. {
  13. path: 'index',
  14. name: 'Index',
  15. component: () => import('@/views/insurancePolicy/index.vue'),
  16. meta: {
  17. title: '车险报价',
  18. // auth:['role.add','role.view','role.delete','role.edit']
  19. },
  20. // children: [
  21. // {
  22. // path: 'logDetail',
  23. // name: 'LogDetail',
  24. // component: () => import('@/views/systemManage/logManage/logDetail.vue'),
  25. // meta: {
  26. // title: '日志详情',
  27. // menu: false,
  28. // activeMenu: '/systemManage/logManage',
  29. // },
  30. // },
  31. // ]
  32. },
  33. {
  34. path: 'order',
  35. name: 'Order',
  36. component: () => import('@/views/insurancePolicy/order.vue'),
  37. meta: {
  38. title: '订单管理',
  39. // auth:['role.add','role.view','role.delete','role.edit']
  40. }
  41. }
  42. ],
  43. }
  44. export default routes