|
@@ -57,12 +57,89 @@ export const constantRoutes = [
|
|
path: '',
|
|
path: '',
|
|
component: Layout,
|
|
component: Layout,
|
|
redirect: 'index',
|
|
redirect: 'index',
|
|
|
|
+ meta: { title: '首页', icon: '', noCache: true, affix: true },
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
path: 'index',
|
|
path: 'index',
|
|
component: (resolve) => require(['@/views/index'], resolve),
|
|
component: (resolve) => require(['@/views/index'], resolve),
|
|
name: '首页',
|
|
name: '首页',
|
|
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: 'index1',
|
|
|
|
+ name: '流程工作台',
|
|
|
|
+ hidden: false,
|
|
|
|
+ alwaysShow: true,
|
|
|
|
+ meta: { title: '流程工作台', icon: 'spot', noCache: true },
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'index1',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '待我审批',
|
|
|
|
+ meta: { title: '待我审批', icon: '', noCache: false},
|
|
|
|
+ },{
|
|
|
|
+ path: 'index2',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '已办理',
|
|
|
|
+ meta: { title: '已办理', icon: '', noCache: false},
|
|
|
|
+ },{
|
|
|
|
+ path: 'index3',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '已延时',
|
|
|
|
+ meta: { title: '已延时', icon: '', noCache: false},
|
|
|
|
+ },{
|
|
|
|
+ path: 'index4',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '我的流程',
|
|
|
|
+ meta: { title: '我的流程', icon: '', noCache: false},
|
|
|
|
+ }]
|
|
|
|
+ },{
|
|
|
|
+ path: 'index2',
|
|
|
|
+ name: '工作协助',
|
|
|
|
+ hidden: false,
|
|
|
|
+ alwaysShow: true,
|
|
|
|
+ meta: { title: '工作协助', icon: 'spot', noCache: true },
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'index1',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '批注',
|
|
|
|
+ meta: { title: '批注', icon: '', noCache: false},
|
|
|
|
+ },{
|
|
|
|
+ path: 'index2',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '微邮',
|
|
|
|
+ meta: { title: '微邮', icon: '', noCache: false},
|
|
|
|
+ }]
|
|
|
|
+ },{
|
|
|
|
+ path: 'index3',
|
|
|
|
+ name: '交办事项',
|
|
|
|
+ hidden: false,
|
|
|
|
+ alwaysShow: true,
|
|
|
|
+ meta: { title: '交办事项', icon: 'spot', noCache: true },
|
|
|
|
+ children: [{
|
|
|
|
+ path: 'index1',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '待我处理',
|
|
|
|
+ meta: { title: '待我处理', icon: '', noCache: false},
|
|
|
|
+ },{
|
|
|
|
+ path: 'index2',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '我的安排',
|
|
|
|
+ meta: { title: '我的安排', icon: '', noCache: false },
|
|
|
|
+ },{
|
|
|
|
+ path: 'index3',
|
|
|
|
+ hidden: false,
|
|
|
|
+ component: (resolve) => require(['@/views/index'], resolve),
|
|
|
|
+ name: '历史事务',
|
|
|
|
+ meta: { title: '历史事务', icon: '', noCache: false},
|
|
|
|
+ }]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|