| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- import { id } from 'element-plus/es/locale';
- const trafficRoutes = {
- id: 4000,
- parentId: -1,
- name: 'Traffic',
- path: '/traffic',
- component: 'MENU_LAYOUT',
- meta: {
- title: '交通安全',
- icon: 'CameraOutlined',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- children: [
- {
- id: 4001,
- parentId: 4000,
- name: 'traffic-overview',
- path: 'overview',
- component: '/traffic/overview/Overview',
- redirect: '',
- meta: {
- title: '总览',
- icon: 'OverviewIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 4002,
- parentId: 4000,
- name: 'traffic-regulation',
- path: 'regulation',
- component: '/traffic/regulation/Regulation',
- redirect: '',
- meta: {
- title: '管理规定与通知',
- icon: 'TrafficRegulationIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 4003,
- parentId: 4000,
- name: 'traffic-regulation-item',
- path: 'regulation-item',
- component: '/traffic/regulation-item/RegulationItem',
- redirect: '',
- meta: {
- title: '管理规定与通知详情',
- activeMenu: '/traffic/regulation',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- {
- id: 4004,
- parentId: 4000,
- name: 'traffic-violation',
- path: 'violation',
- redirect: '',
- meta: {
- title: '交通违规管理',
- icon: 'TrafficViolationIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- children: [
- {
- id: 400401,
- parentId: 4004,
- name: 'traffic-violation-act',
- path: 'act',
- redirect: '',
- component: '/traffic/violation/act/Act',
- meta: {
- title: '违规行为',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 400402,
- parentId: 4004,
- name: 'traffic-violation-act-item',
- path: 'act-item',
- component: '/traffic/violation/act-item/ActItem',
- meta: {
- activeMenu: '/traffic/violation/act',
- title: '违规行为详情',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- {
- id: 400403,
- parentId: 4004,
- name: 'traffic-violation-notice',
- path: 'notice',
- component: '/traffic/violation/notice/Notice',
- meta: {
- title: '违规通知',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- ],
- },
- {
- id: 4005,
- parentId: 4000,
- name: 'traffic-accident',
- path: 'accident',
- component: '/traffic/accidents/Accident',
- redirect: '',
- meta: {
- title: '交通事故管理',
- icon: 'TrafficAccidentIcon',
- isRoot: false,
- hidden: false,
- noCache: false,
- },
- },
- {
- id: 4006,
- parentId: 4000,
- name: 'traffic-vehicle',
- path: 'vehicle',
- component: '/traffic/vehicle/Vehicle',
- redirect: '',
- meta: {
- title: '车辆信息管理',
- icon: 'TrafficVehicleIcon',
- isRoot: false,
- hidden: true,
- noCache: false,
- },
- },
- ],
- };
- export default trafficRoutes;
|