123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540 |
- import Layout from '~src/layout/index.vue'
- //路由菜单系统内置页面配置
- export default [
- {
- path: '/',
- redirect: '/home/index',
- },
- {
- path: '/login-main',
- name: 'login-main',
- meta: { title: '登录' },
- component: () => import('~src/views/login/main.vue'),
- },
- {
- path: '/login',
- name: 'login',
- meta: { title: '登录' },
- component: () => import('~src/views/login/index.vue'),
- },
- {
- path: '/new-login',
- name: 'new-login',
- meta: { title: '登录' },
- component: () => import('~src/views/login/new.vue'),
- },
- {
- path: '/auth',
- name: 'auth',
- redirect: '/auth-token',
- },
- {
- path: '/auth-token',
- name: 'auth-token',
- meta: { title: '授权登录' },
- component: () => import('~src/views/home/auth.vue'),
- },
- {
- path: '/auth-page',
- name: 'auth-page',
- meta: { title: '页面跳转' },
- component: () => import('~src/views/home/page.vue'),
- },
- {
- path: '/app/table-form',
- name: 'app-table-form',
- meta: { title: 'APP填报表单' },
- component: () => import('~src/views/uni-app/table-form.vue'),
- },
- {
- path: '/pdf',
- name: 'pdf',
- meta: { title: 'pdf文件预览' },
- component: () => import('~src/views/home/pdf.vue'),
- },
- {
- path: '/home',
- name: 'home',
- redirect: '/home/index',
- meta: { title: '首页' },
- component: Layout,
- children: [
- {
- path: '/home/index',
- name: 'home-index',
- meta: { title: '首页' },
- component: () => import('~src/views/home/index.vue'),
- },
- {
- path: '/home/index/static',
- name: 'home-index-static',
- meta: { title: '首页' },
- component: () => import('~src/views/home/index-static.vue'),
- },
- {
- path: '/home/config',
- name: 'home-config',
- meta: { title: '系统设置' },
- component: () => import('~src/views/home/config.vue'),
- },
- ],
- },
- {
- path: '/quality-control',
- name: 'qualityControl',
- redirect: '/data-fill/wbs',
- meta: { title: '质量管理' },
- component: Layout,
- children: [
- {
- path: '/data-fill',
- name: 'data-fill',
- redirect: '/data-fill/wbs',
- meta: { title: '资料管理' },
- children: [
- {
- path: '/data-fill/wbs',
- name: 'data-fill-wbs',
- meta: { title: '资料填报' },
- component: () => import('~src/views/data-fill/wbs.vue'),
- },
- {
- path: '/data-fill/query',
- name: 'data-query',
- meta: { title: '资料查询' },
- component: () => import('~src/views/data-fill/query.vue'),
- },
- {
- path: '/data-fill/division',
- name: 'data-division',
- meta: { title: '系统分部分项划分' },
- component: () => import('~src/views/data-fill/division.vue'),
- },
- ],
- },
- {
- path: '/ledger',
- name: 'ledger',
- redirect: '/ledger/query',
- meta: { title: '台账日志' },
- children: [
- {
- path: '/ledger/query',
- name: 'ledger-write',
- meta: { title: '日志填报' },
- component: () => import('~src/views/ledger/query.vue'),
- },
- {
- path: '/ledger/write',
- name: 'ledger-query',
- meta: { title: '台账管理' },
- component: () => import('~src/views/ledger/write.vue'),
- },
- ],
- },
- {
- path: '/schedule',
- name: 'schedule',
- redirect: '/schedule/write',
- meta: { title: '进度查询' },
- children: [
- {
- path: '/schedule/write',
- name: 'schedule-internal',
- meta: { title: '内外业进度' },
- component: () => import('~src/views/schedule/write.vue'),
- },
- {
- path: '/schedule/data',
- name: 'schedule-data',
- meta: { title: '资料进度' },
- component: () => import('~src/views/schedule/data.vue'),
- },
- {
- path: '/schedule/table',
- name: 'schedule-table',
- meta: { title: 'WBS节点进度' },
- component: () => import('~src/views/schedule/table.vue'),
- },
- ],
- },
- {
- path: '/other-file',
- name: 'other-file',
- redirect: '/other-file/image-data',
- meta: { title: '其他文件' },
- children: [
- {
- path: '/other-file/image-data',
- name: 'image-data',
- meta: { title: '影像资料' },
- component: () => import('~src/views/other-file/image-data.vue'),
- },
- {
- path: '/other-file/image-view',
- name: 'other-file-view',
- meta: { title: '查看影像资料' },
- component: () => import('~src/views/other-file/image-view.vue'),
- },
- {
- path: '/other-file/image-form',
- name: 'other-file-form',
- meta: { title: '影像资料上传' },
- component: () => import('~src/views/other-file/image-form.vue'),
- },
- {
- path: '/other-file/project-scanning',
- name: 'project-scanning',
- meta: { title: '工程文件扫描、上传' },
- component: () => import('~src/views/other-file/project-scanning.vue'),
- },
- ],
- },
- {
- path: '/gauge',
- name: 'gauge-base',
- redirect: '/gauge/station',
- meta: { title: '综合管理' },
- children: [
- {
- path: '/gauge/testdata',
- name: 'gauge-testdata',
- meta: { title: '试验数据' },
- component: () => import('~src/views/gauge/testdata.vue'),
- },
- {
- path: '/gauge/station',
- name: 'gauge-station',
- meta: { title: '测站点' },
- component: () => import('~src/views/gauge/station.vue'),
- },
- {
- path: '/gauge/bezier',
- name: 'gauge-bezier',
- meta: { title: '平曲线' },
- component: () => import('~src/views/gauge/bezier.vue'),
- },
- {
- path: '/other/first-item',
- name: 'other-first-item',
- meta: { title: '首件工程' },
- component: () => import('~src/views/other/first-item.vue'),
- },
- {
- path: '/hide/data',
- name: 'hide-data',
- meta: { title: '隐藏资料' },
- component: () => import('~src/views/other/hide-data.vue'),
- },
- ],
- },
- ],
- },
- {
- path: '/tentative',
- name: 'tentative-menu',
- redirect: '/tentative/material',
- meta: { title: '试验管理' },
- component: Layout,
- children: [
- {
- path: '/tentative/material',
- name: 'tentative-material',
- redirect: '/tentative/material/approach',
- meta: { title: '材料管理' },
- children: [
- {
- path: '/tentative/material/approach',
- name: 'tentative-material-approach',
- meta: { title: '材料进场' },
- component: () => import('~src/views/tentative/material/approach.vue'),
- },
- {
- path: '/tentative/material/sampling',
- name: 'tentative-material-sampling',
- meta: { title: '材料取样' },
- component: () => import('~src/views/tentative/material/sampling.vue'),
- },
- {
- path: '/tentative/material/testSample',
- name: 'tentative-material-testSample',
- meta: { title: '检测样品' },
- component: () => import('~src/views/tentative/material/testSample.vue'),
- },
- ],
- },
- {
- path: '/tentative/detect',
- name: 'tentative-detect',
- redirect: '/tentative/detect/approach',
- meta: { title: '试验检测' },
- children: [
- {
- path: '/tentative/detect/commission',
- name: 'tentative-detect-commission',
- meta: { title: '委托单管理' },
- component: () => import('~src/views/tentative/detect/commission.vue'),
- },
- {
- path: '/tentative/detect/third',
- name: 'tentative-detect-third',
- meta: { title: '外委检测' },
- component: () => import('~src/views/tentative/detect/third.vue'),
- },
- {
- path: '/tentative/detect/outside',
- name: 'tentative-detect-outside',
- meta: { title: '第三方检测' },
- component: () => import('~src/views/tentative/detect/outside.vue'),
- },
- {
- path: '/tentative/detect/test',
- name: 'tentative-detect-test',
- meta: { title: '试验检测' },
- component: () => import('~src/views/tentative/detect/test.vue'),
- },
- {
- path: '/tentative/detect/test-form',
- name: 'tentative-detect-test-form',
- meta: { title: '试验检测表单' },
- component: () => import('~src/views/tentative/detect/test-form.vue'),
- },
- ],
- },
- {
- path: '/tentative/acquisition',
- name: 'tentative-acquisition',
- redirect: '/tentative/acquisition/data',
- meta: { title: '物联网采集' },
- children: [
- {
- path: '/tentative/acquisition/data',
- name: 'tentative-acquisition-data',
- meta: { title: '数据采集' },
- component: () => import('~src/views/tentative/acquisition/data.vue'),
- },
- ],
- },
- {
- path: '/tentative/collect',
- name: 'tentative-collect',
- redirect: '/tentative/collect/approach',
- meta: { title: '汇总管理' },
- children: [
- {
- path: '/tentative/collect/test',
- name: 'tentative-collect-test',
- meta: { title: '试验汇总' },
- component: () => import('~src/views/tentative/collect/test.vue'),
- },
- {
- path: '/tentative/collect/monthly',
- name: 'tentative-collect-monthly',
- meta: { title: '月报汇总' },
- component: () => import('~src/views/tentative/collect/monthly.vue'),
- },
- ],
- },
- {
- path: '/tentative/device',
- name: 'tentative-device',
- redirect: '/tentative/device/approach',
- meta: { title: '设备管理' },
- children: [
- {
- path: '/tentative/device/approach',
- name: 'tentative-device-approach',
- meta: { title: '设备进场管理' },
- component: () => import('~src/views/tentative/device/approach.vue'),
- },
- {
- path: '/tentative/device/employ',
- name: 'tentative-device-employ',
- meta: { title: '设备使用管理' },
- component: () => import('~src/views/tentative/device/employ.vue'),
- },
- {
- path: '/tentative/device/overhaul',
- name: 'tentative-device-overhaul',
- meta: { title: '设备检修管理' },
- component: () => import('~src/views/tentative/device/overhaul.vue'),
- },
- ],
- },
- {
- path: '/tentative/parameter',
- name: 'tentative-parameter',
- redirect: '/tentative/parameter/container',
- meta: { title: '参数设置' },
- children: [
- {
- path: '/tentative/parameter/container',
- name: 'tentative-parameter-container',
- meta: { title: '试验容器' },
- component: () => import('~src/views/tentative/parameter/container.vue'),
- },
- {
- path: '/tentative/parameter/sieve',
- name: 'tentative-parameter-sieve',
- meta: { title: '自定义筛孔类型' },
- component: () => import('~src/views/tentative/parameter/sieve.vue'),
- },
- {
- path: '/tentative/parameter/density',
- name: 'tentative-parameter-density',
- meta: { title: '温度及密度参数' },
- component: () => import('~src/views/tentative/parameter/density.vue'),
- },
- {
- path: '/tentative/parameter/compactness',
- name: 'tentative-parameter-compactness',
- meta: { title: '压实度评标参数' },
- component: () => import('~src/views/tentative/parameter/compactness.vue'),
- },
- ],
- },
- {
- path: '/tentative/laboratory',
- name: 'tentative-laboratory',
- redirect: '/tentative/laboratory/container',
- meta: { title: '实验室管理' },
- children: [
- {
- path: '/tentative/laboratory/user',
- name: 'tentative-laboratory-user',
- meta: { title: '人员档案' },
- component: () => import('~src/views/tentative/laboratory/user.vue'),
- },
- {
- path: '/tentative/laboratory/print',
- name: 'tentative-laboratory-print',
- meta: { title: '打印空表' },
- component: () => import('~src/views/tentative/laboratory/print.vue'),
- },
- ],
- },
- ],
- },
- {
- path: '/tasks',
- name: 'tasks',
- redirect: '/tasks/data',
- meta: { title: '任务管理' },
- component: Layout,
- children: [
- {
- path: '/tasks/hc-data',
- name: 'tasks-data',
- meta: { title: '任务查看' },
- component: () => import('~src/views/tasks/hc-data.vue'),
- },
- {
- path: '/tasks/flow',
- name: 'tasks-flow',
- meta: { title: '任务流程设置' },
- component: () => import('~src/views/tasks/flow.vue'),
- },
- {
- path: '/tasks/sign-admin',
- name: 'sign-admin',
- meta: { title: '电签管理员' },
- component: () => import('~src/views/tasks/sign-admin.vue'),
- },
- {
- path: '/tasks/message-data',
- name: 'message-data',
- meta: { title: '消息提醒' },
- component: () => import('~src/views/tasks/message-data.vue'),
- },
- ],
- },
- {
- path: '/patrol',
- name: 'patrol-menu',
- redirect: '/patrol/safe',
- meta: { title: '巡检管理' },
- component: Layout,
- children: [
- {
- path: '/patrol/safe',
- name: 'patrol-menu-safe',
- meta: { title: '巡检列表' },
- component: () => import('~src/views/patrol/safe.vue'),
- },
- {
- path: '/patrol/add',
- name: 'patrol-menu-add',
- meta: { title: '新增巡检' },
- component: () => import('~src/views/patrol/add.vue'),
- },
- {
- path: '/patrol/manage',
- name: 'patrol-menu-manage',
- meta: { title: '整改管理' },
- component: () => import('~src/views/patrol/manage.vue'),
- },
- ],
- },
- {
- path: '/other',
- name: 'other',
- redirect: '/other/order-service',
- meta: { title: '其他页面' },
- component: Layout,
- children: [
- {
- path: '/other/order-service',
- name: 'order-service',
- meta: { title: '工单服务' },
- component: () => import('~src/views/other/order-service.vue'),
- },
- {
- path: '/user/index',
- name: 'user-index',
- meta: { title: '个人中心' },
- component: () => import('~src/views/user/index.vue'),
- },
- ],
- },
- {
- path: '/hc-test',
- name: 'hc-test',
- redirect: '/test/index',
- meta: { title: '测试页面' },
- component: Layout,
- children: [
- {
- path: '/test/index',
- name: 'test-index',
- meta: { title: '测试' },
- component: () => import('~src/test/index.vue'),
- },
- ],
- },
- {
- path: '/403',
- name: '403',
- meta: { title: '403' },
- component: () => import('~src/views/error/403.vue'),
- },
- {
- path: '/404',
- name: '404',
- meta: { title: '404' },
- component: () => import('~src/views/error/404.vue'),
- },
- {
- path: '/500',
- name: '500',
- meta: { title: '500' },
- component: () => import('~src/views/error/500.vue'),
- },
- {
- path: '/:path(.*)*',
- redirect: '/404',
- },
- ]
|