|
@@ -1,155 +1,155 @@
|
|
-import Layout from "~src/layout/index.vue";
|
|
|
|
|
|
+import Layout from '~src/layout/index.vue'
|
|
|
|
|
|
//路由菜单系统内置页面配置
|
|
//路由菜单系统内置页面配置
|
|
export default [
|
|
export default [
|
|
{
|
|
{
|
|
path: '/',
|
|
path: '/',
|
|
- redirect: '/using/stats'
|
|
|
|
|
|
+ redirect: '/using/stats',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/login',
|
|
path: '/login',
|
|
name: 'login',
|
|
name: 'login',
|
|
- meta: {title: '登录'},
|
|
|
|
- component: () => import('~src/views/login/index.vue')
|
|
|
|
|
|
+ meta: { title: '登录' },
|
|
|
|
+ component: () => import('~src/views/login/index.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/auth',
|
|
path: '/auth',
|
|
name: 'auth',
|
|
name: 'auth',
|
|
- meta: {title: '授权登录'},
|
|
|
|
- component: () => import('~src/views/user/auth.vue')
|
|
|
|
|
|
+ meta: { title: '授权登录' },
|
|
|
|
+ component: () => import('~src/views/user/auth.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/home',
|
|
path: '/home',
|
|
name: 'home',
|
|
name: 'home',
|
|
redirect: '/home/index',
|
|
redirect: '/home/index',
|
|
- meta: {title: '数据看板'},
|
|
|
|
|
|
+ meta: { title: '数据看板' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/home/index',
|
|
path: '/home/index',
|
|
name: 'home-index',
|
|
name: 'home-index',
|
|
- meta: {title: '数据看板'},
|
|
|
|
- component: () => import('~src/views/home/index.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '数据看板' },
|
|
|
|
+ component: () => import('~src/views/home/index.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/file',
|
|
path: '/file',
|
|
name: 'file',
|
|
name: 'file',
|
|
redirect: '/file/collection',
|
|
redirect: '/file/collection',
|
|
- meta: {title: '文件收集'},
|
|
|
|
|
|
+ meta: { title: '文件收集' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/file/collection',
|
|
path: '/file/collection',
|
|
name: 'file-collection',
|
|
name: 'file-collection',
|
|
- meta: {title: '在线收集'},
|
|
|
|
- component: () => import('~src/views/file/collection.vue')
|
|
|
|
|
|
+ meta: { title: '在线收集' },
|
|
|
|
+ component: () => import('~src/views/file/collection.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/file/records',
|
|
path: '/file/records',
|
|
name: 'file-records',
|
|
name: 'file-records',
|
|
- meta: {title: '档案收集'},
|
|
|
|
- component: () => import('~src/views/file/records.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '档案收集' },
|
|
|
|
+ component: () => import('~src/views/file/records.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/archives',
|
|
path: '/archives',
|
|
name: 'archives',
|
|
name: 'archives',
|
|
redirect: '/archives/bookmark',
|
|
redirect: '/archives/bookmark',
|
|
- meta: {title: '档案管理'},
|
|
|
|
|
|
+ meta: { title: '档案管理' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/archives/bookmark',
|
|
path: '/archives/bookmark',
|
|
name: 'archives-bookmark',
|
|
name: 'archives-bookmark',
|
|
- meta: {title: '档案著录'},
|
|
|
|
- component: () => import('~src/views/archives/bookmark.vue')
|
|
|
|
|
|
+ meta: { title: '档案著录' },
|
|
|
|
+ component: () => import('~src/views/archives/bookmark.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/archives/rolling',
|
|
path: '/archives/rolling',
|
|
name: 'archives-rolling',
|
|
name: 'archives-rolling',
|
|
- meta: {title: '自动立卷'},
|
|
|
|
- component: () => import('~src/views/archives/rolling.vue')
|
|
|
|
|
|
+ meta: { title: '自动立卷' },
|
|
|
|
+ component: () => import('~src/views/archives/rolling.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/archives/appraisal',
|
|
path: '/archives/appraisal',
|
|
name: 'archives-appraisal',
|
|
name: 'archives-appraisal',
|
|
- meta: {title: '档案鉴定'},
|
|
|
|
- component: () => import('~src/views/archives/appraisal.vue')
|
|
|
|
|
|
+ meta: { title: '档案鉴定' },
|
|
|
|
+ component: () => import('~src/views/archives/appraisal.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/archives/meta-data',
|
|
path: '/archives/meta-data',
|
|
name: 'archives-meta-data',
|
|
name: 'archives-meta-data',
|
|
- meta: {title: '元数据'},
|
|
|
|
- component: () => import('~src/views/archives/meta-data.vue')
|
|
|
|
|
|
+ meta: { title: '元数据' },
|
|
|
|
+ component: () => import('~src/views/archives/meta-data.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/archives/tuning',
|
|
path: '/archives/tuning',
|
|
name: 'archives-tuning',
|
|
name: 'archives-tuning',
|
|
- meta: {title: '档案调整'},
|
|
|
|
- component: () => import('~src/views/archives/tuning.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '档案调整' },
|
|
|
|
+ component: () => import('~src/views/archives/tuning.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/custody',
|
|
path: '/custody',
|
|
name: 'custody',
|
|
name: 'custody',
|
|
redirect: '/custody/backup',
|
|
redirect: '/custody/backup',
|
|
- meta: {title: '档案保管'},
|
|
|
|
|
|
+ meta: { title: '档案保管' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/custody/backup',
|
|
path: '/custody/backup',
|
|
name: 'custody-backup',
|
|
name: 'custody-backup',
|
|
- meta: {title: '存储备份'},
|
|
|
|
- component: () => import('~src/views/custody/backup.vue')
|
|
|
|
|
|
+ meta: { title: '存储备份' },
|
|
|
|
+ component: () => import('~src/views/custody/backup.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/custody/early',
|
|
path: '/custody/early',
|
|
name: 'custody-early',
|
|
name: 'custody-early',
|
|
- meta: {title: '档案预警'},
|
|
|
|
- component: () => import('~src/views/custody/early.vue')
|
|
|
|
|
|
+ meta: { title: '档案预警' },
|
|
|
|
+ component: () => import('~src/views/custody/early.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/custody/early-admin',
|
|
path: '/custody/early-admin',
|
|
name: 'custody-early-admin',
|
|
name: 'custody-early-admin',
|
|
- meta: {title: '档案预警'},
|
|
|
|
- component: () => import('~src/views/custody/early-admin.vue')
|
|
|
|
|
|
+ meta: { title: '档案预警' },
|
|
|
|
+ component: () => import('~src/views/custody/early-admin.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/custody/testing',
|
|
path: '/custody/testing',
|
|
name: 'custody-testing',
|
|
name: 'custody-testing',
|
|
- meta: {title: '四性检测'},
|
|
|
|
- component: () => import('~src/views/custody/testing.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '四性检测' },
|
|
|
|
+ component: () => import('~src/views/custody/testing.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/using',
|
|
path: '/using',
|
|
name: 'using',
|
|
name: 'using',
|
|
redirect: '/using/stats',
|
|
redirect: '/using/stats',
|
|
- meta: {title: '档案利用'},
|
|
|
|
|
|
+ meta: { title: '档案利用' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/using/stats',
|
|
path: '/using/stats',
|
|
name: 'using-stats',
|
|
name: 'using-stats',
|
|
- meta: {title: '档案统计'},
|
|
|
|
- component: () => import('~src/views/using/stats.vue')
|
|
|
|
|
|
+ meta: { title: '档案统计' },
|
|
|
|
+ component: () => import('~src/views/using/stats.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/using/bim',
|
|
path: '/using/bim',
|
|
name: 'using-bim',
|
|
name: 'using-bim',
|
|
- meta: {title: 'BIM查询'},
|
|
|
|
- component: () => import('~src/views/using/bim.vue')
|
|
|
|
|
|
+ meta: { title: 'BIM查询' },
|
|
|
|
+ component: () => import('~src/views/using/bim.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/using/query',
|
|
path: '/using/query',
|
|
name: 'using-query',
|
|
name: 'using-query',
|
|
- meta: {title: '档案查询'},
|
|
|
|
- component: () => import('~src/views/using/query.vue')
|
|
|
|
|
|
+ meta: { title: '档案查询' },
|
|
|
|
+ component: () => import('~src/views/using/query.vue'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
@@ -157,68 +157,101 @@ export default [
|
|
path: '/transfer',
|
|
path: '/transfer',
|
|
name: 'transfer',
|
|
name: 'transfer',
|
|
redirect: '/transfer/inspects',
|
|
redirect: '/transfer/inspects',
|
|
- meta: {title: '档案移交'},
|
|
|
|
|
|
+ meta: { title: '档案移交' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/transfer/hand-over',
|
|
path: '/transfer/hand-over',
|
|
name: 'transfer-hand-over',
|
|
name: 'transfer-hand-over',
|
|
- meta: {title: '档案移交'},
|
|
|
|
- component: () => import('~src/views/transfer/hand-over.vue')
|
|
|
|
|
|
+ meta: { title: '档案移交' },
|
|
|
|
+ component: () => import('~src/views/transfer/hand-over.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/inspects',
|
|
path: '/transfer/inspects',
|
|
name: 'transfer-inspects',
|
|
name: 'transfer-inspects',
|
|
- meta: {title: '档案巡检'},
|
|
|
|
- component: () => import('~src/views/transfer/inspects.vue')
|
|
|
|
|
|
+ meta: { title: '档案巡检' },
|
|
|
|
+ component: () => import('~src/views/transfer/inspects.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/initial',
|
|
path: '/transfer/initial',
|
|
name: 'transfer-initial',
|
|
name: 'transfer-initial',
|
|
- meta: {title: '档案初验'},
|
|
|
|
- component: () => import('~src/views/transfer/initial.vue')
|
|
|
|
|
|
+ meta: { title: '档案初验' },
|
|
|
|
+ component: () => import('~src/views/transfer/initial.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/initial-expert',
|
|
path: '/transfer/initial-expert',
|
|
name: 'transfer-initial-expert',
|
|
name: 'transfer-initial-expert',
|
|
- meta: {title: '档案初验(专家)'},
|
|
|
|
- component: () => import('~src/views/transfer/initial-expert.vue')
|
|
|
|
|
|
+ meta: { title: '档案初验(专家)' },
|
|
|
|
+ component: () => import('~src/views/transfer/initial-expert.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/initial-submit-report',
|
|
path: '/transfer/initial-submit-report',
|
|
name: 'transfer-initial-submit-report',
|
|
name: 'transfer-initial-submit-report',
|
|
- meta: {title: '提交验收报告'},
|
|
|
|
- component: () => import('~src/views/transfer/submit-report.vue')
|
|
|
|
|
|
+ meta: { title: '提交验收报告' },
|
|
|
|
+ component: () => import('~src/views/transfer/submit-report.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/entry-sampling',
|
|
path: '/transfer/entry-sampling',
|
|
name: 'transfer-entry-sampling',
|
|
name: 'transfer-entry-sampling',
|
|
- meta: {title: '分配验收范围'},
|
|
|
|
- component: () => import('~src/views/transfer/entry-sampling.vue')
|
|
|
|
|
|
+ meta: { title: '分配验收范围' },
|
|
|
|
+ component: () => import('~src/views/transfer/entry-sampling.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/leader-sampling',
|
|
path: '/transfer/leader-sampling',
|
|
name: 'transfer-leader-sampling',
|
|
name: 'transfer-leader-sampling',
|
|
- meta: {title: '专家组长抽检'},
|
|
|
|
- component: () => import('~src/views/transfer/leader-sampling.vue')
|
|
|
|
|
|
+ meta: { title: '专家组长抽检' },
|
|
|
|
+ component: () => import('~src/views/transfer/leader-sampling.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/preliminary-examination',
|
|
path: '/transfer/preliminary-examination',
|
|
name: 'transfer-preliminary-examination',
|
|
name: 'transfer-preliminary-examination',
|
|
- meta: {title: '档案初验'},
|
|
|
|
- component: () => import('~src/views/transfer/preliminary-examination.vue')
|
|
|
|
|
|
+ meta: { title: '档案初验' },
|
|
|
|
+ component: () => import('~src/views/transfer/preliminary-examination.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/writing-conclusion',
|
|
path: '/transfer/writing-conclusion',
|
|
name: 'transfer-writing-conclusion',
|
|
name: 'transfer-writing-conclusion',
|
|
- meta: {title: '编写结论'},
|
|
|
|
- component: () => import('~src/views/transfer/writing-conclusion.vue')
|
|
|
|
|
|
+ meta: { title: '编写结论' },
|
|
|
|
+ component: () => import('~src/views/transfer/writing-conclusion.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/transfer/write-report',
|
|
path: '/transfer/write-report',
|
|
name: 'transfer-write-report',
|
|
name: 'transfer-write-report',
|
|
- meta: {title: '编写报告'},
|
|
|
|
- component: () => import('~src/views/transfer/write-report.vue')
|
|
|
|
|
|
+ meta: { title: '编写报告' },
|
|
|
|
+ component: () => import('~src/views/transfer/write-report.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'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
@@ -226,85 +259,85 @@ export default [
|
|
path: '/config',
|
|
path: '/config',
|
|
name: 'config',
|
|
name: 'config',
|
|
redirect: '/config/theme',
|
|
redirect: '/config/theme',
|
|
- meta: {title: '系统设置'},
|
|
|
|
|
|
+ meta: { title: '系统设置' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/config/theme',
|
|
path: '/config/theme',
|
|
name: 'config-theme',
|
|
name: 'config-theme',
|
|
- meta: {title: '主题配置'},
|
|
|
|
- component: () => import('~src/views/config/index.vue')
|
|
|
|
|
|
+ meta: { title: '主题配置' },
|
|
|
|
+ component: () => import('~src/views/config/index.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/config/certified',
|
|
path: '/config/certified',
|
|
name: 'config-certified',
|
|
name: 'config-certified',
|
|
- meta: {title: '认证管理'},
|
|
|
|
- component: () => import('~src/views/config/certified.vue')
|
|
|
|
|
|
+ meta: { title: '认证管理' },
|
|
|
|
+ component: () => import('~src/views/config/certified.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/config/parameter',
|
|
path: '/config/parameter',
|
|
name: 'config-parameter',
|
|
name: 'config-parameter',
|
|
- meta: {title: '参数设置'},
|
|
|
|
- component: () => import('~src/views/config/parameter.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '参数设置' },
|
|
|
|
+ component: () => import('~src/views/config/parameter.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/other',
|
|
path: '/other',
|
|
name: 'other',
|
|
name: 'other',
|
|
redirect: '/other/order-index',
|
|
redirect: '/other/order-index',
|
|
- meta: {title: '其他页面'},
|
|
|
|
|
|
+ meta: { title: '其他页面' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/user/index',
|
|
path: '/user/index',
|
|
name: 'user-index',
|
|
name: 'user-index',
|
|
- meta: {title: '个人中心'},
|
|
|
|
- component: () => import('~src/views/user/index.vue')
|
|
|
|
|
|
+ meta: { title: '个人中心' },
|
|
|
|
+ component: () => import('~src/views/user/index.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/user/project',
|
|
path: '/user/project',
|
|
name: 'user-project',
|
|
name: 'user-project',
|
|
- meta: {title: '项目档案汇总'},
|
|
|
|
- component: () => import('~src/views/user/project.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '项目档案汇总' },
|
|
|
|
+ component: () => import('~src/views/user/project.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/hc-test',
|
|
path: '/hc-test',
|
|
name: 'hc-test',
|
|
name: 'hc-test',
|
|
redirect: '/test/index',
|
|
redirect: '/test/index',
|
|
- meta: {title: '测试页面'},
|
|
|
|
|
|
+ meta: { title: '测试页面' },
|
|
component: Layout,
|
|
component: Layout,
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: '/test/index',
|
|
path: '/test/index',
|
|
name: 'test-index',
|
|
name: 'test-index',
|
|
- meta: {title: '测试'},
|
|
|
|
- component: () => import('~src/test/index.vue')
|
|
|
|
- }
|
|
|
|
|
|
+ meta: { title: '测试' },
|
|
|
|
+ component: () => import('~src/test/index.vue'),
|
|
|
|
+ },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/403',
|
|
path: '/403',
|
|
name: '403',
|
|
name: '403',
|
|
- meta: {title: '403'},
|
|
|
|
- component: () => import('~src/views/error/403.vue')
|
|
|
|
|
|
+ meta: { title: '403' },
|
|
|
|
+ component: () => import('~src/views/error/403.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/404',
|
|
path: '/404',
|
|
name: '404',
|
|
name: '404',
|
|
- meta: {title: '404'},
|
|
|
|
- component: () => import('~src/views/error/404.vue')
|
|
|
|
|
|
+ meta: { title: '404' },
|
|
|
|
+ component: () => import('~src/views/error/404.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/500',
|
|
path: '/500',
|
|
name: '500',
|
|
name: '500',
|
|
- meta: {title: '500'},
|
|
|
|
- component: () => import('~src/views/error/500.vue')
|
|
|
|
|
|
+ meta: { title: '500' },
|
|
|
|
+ component: () => import('~src/views/error/500.vue'),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/:path(.*)*',
|
|
path: '/:path(.*)*',
|
|
- redirect: '/404'
|
|
|
|
- }
|
|
|
|
|
|
+ redirect: '/404',
|
|
|
|
+ },
|
|
]
|
|
]
|