| | |
| | | import Layout from '@/page/index/' |
| | | |
| | | export default [{ |
| | | path: '/wel', |
| | | component: Layout, |
| | | redirect: '/wel/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '首页', |
| | | meta: { |
| | | i18n: 'dashboard' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/wel/home') |
| | | }] |
| | | path: '/wel', |
| | | component: Layout, |
| | | redirect: '/wel/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '首页', |
| | | meta: { |
| | | i18n: 'dashboard' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/wel/home') |
| | | }] |
| | | }, |
| | | |
| | | // { |
| | | // path: '/wel', |
| | | // component: Layout, |
| | | // redirect: '/wel/index', |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '首页', |
| | | // meta: { |
| | | // i18n: 'dashboard' |
| | | // }, |
| | | // component: () => |
| | | // import ( /* webpackChunkName: "views" */ '@/views/home/home') |
| | | // }, { |
| | | // path: 'dashboard', |
| | | // name: '控制台', |
| | | // meta: { |
| | | // i18n: 'dashboard', |
| | | // menu: false, |
| | | // }, |
| | | // component: () => |
| | | // import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard') |
| | | // }] |
| | | // }, |
| | | { |
| | | path: '/distribution', |
| | | component: Layout, |
| | | redirect: '/distribution/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '警情分发处置', |
| | | meta: { |
| | | i18n: 'distribution' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/distribution/index') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/test', |
| | | component: Layout, |
| | | redirect: '/test/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '测试页', |
| | | meta: { |
| | | i18n: 'test' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/util/test') |
| | | }] |
| | | // { |
| | | // path: '/wel', |
| | | // component: Layout, |
| | | // redirect: '/wel/index', |
| | | // children: [{ |
| | | // path: 'index', |
| | | // name: '首页', |
| | | // meta: { |
| | | // i18n: 'dashboard' |
| | | // }, |
| | | // component: () => |
| | | // import ( /* webpackChunkName: "views" */ '@/views/home/home') |
| | | // }, { |
| | | // path: 'dashboard', |
| | | // name: '控制台', |
| | | // meta: { |
| | | // i18n: 'dashboard', |
| | | // menu: false, |
| | | // }, |
| | | // component: () => |
| | | // import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard') |
| | | // }] |
| | | // }, |
| | | { |
| | | path: '/distribution', |
| | | component: Layout, |
| | | redirect: '/distribution/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '警情分发处置', |
| | | meta: { |
| | | i18n: 'distribution' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/distribution/index') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/test', |
| | | component: Layout, |
| | | redirect: '/test/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '测试页', |
| | | meta: { |
| | | i18n: 'test' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/util/test') |
| | | }] |
| | | }, { |
| | | path: '/dict-horizontal', |
| | | component: Layout, |
| | | redirect: '/dict-horizontal/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal') |
| | | }] |
| | | }, { |
| | | path: '/dict-vertical', |
| | | component: Layout, |
| | | redirect: '/dict-vertical/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical') |
| | | }] |
| | | }, { |
| | | path: '/info', |
| | | component: Layout, |
| | | redirect: '/info/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '个人信息', |
| | | meta: { |
| | | i18n: 'info' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/system/userinfo') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/real', |
| | | component: Layout, |
| | | redirect: '/real/video', |
| | | children: [{ |
| | | path: 'video', |
| | | name: '视频', |
| | | meta: { |
| | | i18n: 'real' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/Video/video') |
| | | }, { |
| | | path: '/dict-horizontal', |
| | | component: Layout, |
| | | redirect: '/dict-horizontal/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal') |
| | | }] |
| | | path: 'history/:historyId', |
| | | name: '设备历史', |
| | | meta: { |
| | | i18n: 'real' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/realTimePolice/realHistory') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/welcomeData', |
| | | component: Layout, |
| | | redirect: '/welcomeData/data', |
| | | children: [{ |
| | | path: 'data', |
| | | name: '数据模式', |
| | | meta: { |
| | | i18n: 'data' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/data') |
| | | }, { |
| | | path: '/dict-vertical', |
| | | component: Layout, |
| | | redirect: '/dict-vertical/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '字典管理', |
| | | meta: { |
| | | i18n: 'dict' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical') |
| | | }] |
| | | path: 'map', |
| | | name: '地图模式', |
| | | meta: { |
| | | i18n: 'map' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/map') |
| | | }, { |
| | | path: '/info', |
| | | component: Layout, |
| | | redirect: '/info/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '个人信息', |
| | | meta: { |
| | | i18n: 'info' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/system/userinfo') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/real', |
| | | component: Layout, |
| | | redirect: '/real/video', |
| | | children: [{ |
| | | path: 'video', |
| | | name: '视频', |
| | | meta: { |
| | | i18n: 'real' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/Video/video') |
| | | }, { |
| | | path: 'history/:historyId', |
| | | name: '设备历史', |
| | | meta: { |
| | | i18n: 'real' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/realTimePolice/realHistory') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/welcomeData', |
| | | component: Layout, |
| | | redirect: '/welcomeData/data', |
| | | children: [{ |
| | | path: 'data', |
| | | name: '数据模式', |
| | | meta: { |
| | | i18n: 'data' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/data') |
| | | }, { |
| | | path: 'map', |
| | | name: '地图模式', |
| | | meta: { |
| | | i18n: 'map' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/map') |
| | | }, { |
| | | path: 'card', |
| | | name: '卡片模式', |
| | | meta: { |
| | | i18n: 'card' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/card') |
| | | }] |
| | | }, |
| | | path: 'card', |
| | | name: '卡片模式', |
| | | meta: { |
| | | i18n: 'card' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/card') |
| | | }] |
| | | }, |
| | | |
| | | { |
| | | path: '/work/process/leave', |
| | | component: Layout, |
| | | redirect: '/work/process/leave/form', |
| | | children: [{ |
| | | path: 'form/:processDefinitionId', |
| | | name: '请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/form') |
| | | }, { |
| | | path: 'handle/:taskId/:processInstanceId/:businessId', |
| | | name: '处理请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle') |
| | | }, { |
| | | path: 'detail/:processInstanceId/:businessId', |
| | | name: '请假流程详情', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/realTimePolice', |
| | | component: Layout, |
| | | redirect: '/realTimePolice/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '警情派发', |
| | | meta: { |
| | | i18n: 'real' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/realTimePolice/real') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/home', |
| | | component: Layout, |
| | | redirect: '/home/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '研判洞察', |
| | | meta: { |
| | | i18n: 'home' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/home/home') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/attendance', |
| | | component: Layout, |
| | | redirect: '/attendance/attendance', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '考勤管理', |
| | | meta: { |
| | | i18n: 'attendance' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/attendance/attendance') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/clientManagement', |
| | | component: Layout, |
| | | redirect: '/clientManagement/clientManagement', |
| | | children: [{ |
| | | { |
| | | path: '/work/process/leave', |
| | | component: Layout, |
| | | redirect: '/work/process/leave/form', |
| | | children: [{ |
| | | path: 'form/:processDefinitionId', |
| | | name: '请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/form') |
| | | }, { |
| | | path: 'handle/:taskId/:processInstanceId/:businessId', |
| | | name: '处理请假流程', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle') |
| | | }, { |
| | | path: 'detail/:processInstanceId/:businessId', |
| | | name: '请假流程详情', |
| | | meta: { |
| | | i18n: 'work' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/realTimePolice', |
| | | component: Layout, |
| | | redirect: '/realTimePolice/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '警情派发', |
| | | meta: { |
| | | i18n: 'real' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/realTimePolice/real') |
| | | }] |
| | | }, { |
| | | path: '/examination', |
| | | component: Layout, |
| | | redirect: '/examination/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '资格审查', |
| | | meta: { |
| | | i18n: 'index' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/examination/examination') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/home', |
| | | component: Layout, |
| | | redirect: '/home/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '研判洞察', |
| | | meta: { |
| | | i18n: 'home' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/home/home') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/attendance', |
| | | component: Layout, |
| | | redirect: '/attendance/attendance', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '考勤管理', |
| | | meta: { |
| | | i18n: 'attendance' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/attendance/attendance') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/clientManagement', |
| | | component: Layout, |
| | | redirect: '/clientManagement/clientManagement', |
| | | children: [{ |
| | | |
| | | path: 'index', |
| | | name: '设备管理', |
| | | meta: { |
| | | i18n: 'clientManagement' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/clientManagement/clientManagement') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/suser', |
| | | component: Layout, |
| | | redirect: '/suser', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '业主管理', |
| | | meta: { |
| | | i18n: 'suser' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/system/cs') |
| | | }] |
| | | }, { |
| | | path: '/policeTracking', |
| | | component: Layout, |
| | | redirect: '/policeTracking/track', |
| | | children: [{ |
| | | path: 'track', |
| | | name: '警情追踪', |
| | | meta: { |
| | | i18n: 'track' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/policeTracking/policeTracking') |
| | | }] |
| | | }, { |
| | | path: '/healthcode', |
| | | component: Layout, |
| | | redirect: '/healthcode/healthcodePage', |
| | | children: [{ |
| | | path: 'healthcodePage', |
| | | name: '健康码', |
| | | meta: { |
| | | i18n: 'healthcode' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/healthcode/healthcode') |
| | | }] |
| | | }, { |
| | | path: '/animalHeat', |
| | | component: Layout, |
| | | redirect: '/animalHeat/animalHeatPage', |
| | | children: [{ |
| | | path: 'animalHeatPage', |
| | | name: '体温检测', |
| | | meta: { |
| | | i18n: 'animalHeat' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/animalHeat/animalHeat') |
| | | }] |
| | | }, { |
| | | path: '/article', |
| | | component: Layout, |
| | | redirect: '/article/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '资讯管理', |
| | | meta: { |
| | | i18n: 'article' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/article/article') |
| | | }] |
| | | }, { |
| | | path: '/feedbackReport', |
| | | component: Layout, |
| | | redirect: '/feedbackReport/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '取证上报', |
| | | meta: { |
| | | i18n: 'feedbackReport' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/feedbackReport/feedbackReport') |
| | | }] |
| | | }, |
| | | path: 'index', |
| | | name: '设备管理', |
| | | meta: { |
| | | i18n: 'clientManagement' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/clientManagement/clientManagement') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/suser', |
| | | component: Layout, |
| | | redirect: '/suser', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '业主管理', |
| | | meta: { |
| | | i18n: 'suser' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/system/cs') |
| | | }] |
| | | }, { |
| | | path: '/policeTracking', |
| | | component: Layout, |
| | | redirect: '/policeTracking/track', |
| | | children: [{ |
| | | path: 'track', |
| | | name: '警情追踪', |
| | | meta: { |
| | | i18n: 'track' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/policeTracking/policeTracking') |
| | | }] |
| | | }, { |
| | | path: '/healthcode', |
| | | component: Layout, |
| | | redirect: '/healthcode/healthcodePage', |
| | | children: [{ |
| | | path: 'healthcodePage', |
| | | name: '健康码', |
| | | meta: { |
| | | i18n: 'healthcode' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/healthcode/healthcode') |
| | | }] |
| | | }, { |
| | | path: '/animalHeat', |
| | | component: Layout, |
| | | redirect: '/animalHeat/animalHeatPage', |
| | | children: [{ |
| | | path: 'animalHeatPage', |
| | | name: '体温检测', |
| | | meta: { |
| | | i18n: 'animalHeat' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/animalHeat/animalHeat') |
| | | }] |
| | | }, { |
| | | path: '/article', |
| | | component: Layout, |
| | | redirect: '/article/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '资讯管理', |
| | | meta: { |
| | | i18n: 'article' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/article/article') |
| | | }] |
| | | }, { |
| | | path: '/feedbackReport', |
| | | component: Layout, |
| | | redirect: '/feedbackReport/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '取证上报', |
| | | meta: { |
| | | i18n: 'feedbackReport' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/feedbackReport/feedbackReport') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/chatgroup', |
| | | component: Layout, |
| | |
| | | }] |
| | | }, |
| | | { |
| | | path: '/alarm', |
| | | component: Layout, |
| | | redirect: '/alarm/alarmPage', |
| | | children: [{ |
| | | path: 'alarmPage', |
| | | name: '实时警情', |
| | | meta: { |
| | | i18n: 'alarm' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/alarm/alarm') |
| | | }] |
| | | }, { |
| | | path: '/parcel', |
| | | component: Layout, |
| | | redirect: '/parcel/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '安检包裹', |
| | | meta: { |
| | | i18n: 'parcel' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/parcel/parcel') |
| | | }] |
| | | }, { |
| | | path: '/parcelKind', |
| | | component: Layout, |
| | | redirect: '/parcelKind/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '违禁品', |
| | | meta: { |
| | | i18n: 'parcelKind' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/parcel/parcelKind') |
| | | }] |
| | | }, { |
| | | path: '/dataL', |
| | | component: Layout, |
| | | redirect: '/dataL/dataL', |
| | | children: [{ |
| | | path: 'dataL', |
| | | name: '详情页', |
| | | meta: { |
| | | i18n: 'dataL' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/dataL/dataL') |
| | | }] |
| | | }, { //路由占位 |
| | | path: '/dataL', |
| | | redirect: '/dataL/hFive', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'hFive', |
| | | name: '提交激活路口', |
| | | meta: { |
| | | i18n: 'dataL' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/dataL/hFive') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/patrolManagement', |
| | | redirect: '/policeInformationDistribution/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '巡逻管理', |
| | | meta: { |
| | | i18n: 'policeInformationDistribution' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/policeInformationDistribution/patrolManagement') |
| | | }] |
| | | }, { |
| | | path: '/security', |
| | | redirect: '/security/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安管理', |
| | | meta: { |
| | | i18n: 'policeInformationDistribution' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/security/security') |
| | | }] |
| | | }, { |
| | | path: '/report', |
| | | redirect: '/report/reportConfiguration', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'reportConfiguration', |
| | | name: '报表配置', |
| | | meta: { |
| | | i18n: 'report' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/report/reportConfiguration') |
| | | }] |
| | | }, { |
| | | path: '/report', |
| | | redirect: '/report/announcementReport', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'announcementReport', |
| | | name: '公告报表', |
| | | meta: { |
| | | i18n: 'report' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/report/announcementReport') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/real-popup', |
| | | redirect: '/real-popup/kongbai', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'kongbai', |
| | | name: '首页', |
| | | meta: { |
| | | i18n: 'report' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/components/real-popup/kongbai') |
| | | }] |
| | | }, |
| | | |
| | | |
| | | path: '/alarm', |
| | | component: Layout, |
| | | redirect: '/alarm/alarmPage', |
| | | children: [{ |
| | | path: 'alarmPage', |
| | | name: '实时警情', |
| | | meta: { |
| | | i18n: 'alarm' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/alarm/alarm') |
| | | }] |
| | | }, { |
| | | path: '/parcel', |
| | | component: Layout, |
| | | redirect: '/parcel/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '安检包裹', |
| | | meta: { |
| | | i18n: 'parcel' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/parcel/parcel') |
| | | }] |
| | | }, { |
| | | path: '/parcelKind', |
| | | component: Layout, |
| | | redirect: '/parcelKind/index', |
| | | children: [{ |
| | | path: 'index', |
| | | name: '违禁品', |
| | | meta: { |
| | | i18n: 'parcelKind' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/parcel/parcelKind') |
| | | }] |
| | | }, { |
| | | path: '/dataL', |
| | | component: Layout, |
| | | redirect: '/dataL/dataL', |
| | | children: [{ |
| | | path: 'dataL', |
| | | name: '详情页', |
| | | meta: { |
| | | i18n: 'dataL' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/dataL/dataL') |
| | | }] |
| | | }, { //路由占位 |
| | | path: '/dataL', |
| | | redirect: '/dataL/hFive', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'hFive', |
| | | name: '提交激活路口', |
| | | meta: { |
| | | i18n: 'dataL' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/dataL/hFive') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/patrolManagement', |
| | | redirect: '/policeInformationDistribution/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '巡逻管理', |
| | | meta: { |
| | | i18n: 'policeInformationDistribution' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/policeInformationDistribution/patrolManagement') |
| | | }] |
| | | }, { |
| | | path: '/security', |
| | | redirect: '/security/index', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'index', |
| | | name: '保安管理', |
| | | meta: { |
| | | i18n: 'policeInformationDistribution' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/security/security') |
| | | }] |
| | | }, { |
| | | path: '/report', |
| | | redirect: '/report/reportConfiguration', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'reportConfiguration', |
| | | name: '报表配置', |
| | | meta: { |
| | | i18n: 'report' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/report/reportConfiguration') |
| | | }] |
| | | }, { |
| | | path: '/report', |
| | | redirect: '/report/announcementReport', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'announcementReport', |
| | | name: '公告报表', |
| | | meta: { |
| | | i18n: 'report' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/views/report/announcementReport') |
| | | }] |
| | | }, |
| | | { |
| | | path: '/real-popup', |
| | | redirect: '/real-popup/kongbai', |
| | | component: Layout, |
| | | children: [{ |
| | | path: 'kongbai', |
| | | name: '首页', |
| | | meta: { |
| | | i18n: 'report' |
| | | }, |
| | | component: () => |
| | | import ( /* webpackChunkName: "views" */ '@/components/real-popup/kongbai') |
| | | }] |
| | | }, |
| | | |
| | | |
| | | ] |
| | |
| | | }, |
| | | { |
| | | label: "用户照片", |
| | | prop: "realNames", |
| | | display: false |
| | | prop: "avatar", |
| | | display: false, |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | }, |
| | | { |
| | | label: "所属角色", |
| | |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | //target: 'http://s16s652780.51mypc.cn/api/', |
| | | target: 'http://localhost:82', |
| | | target: 'http://172.20.10.2:82/', |
| | | //target: 'https://web.byisf.com/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | // target: 'https://saber.bladex.vip/api', |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |
| | | pathRewrite: { |
| | | '^/api': '/' |