From ab36c0c3dbaa95fa3f94268cfc8b8bb7aae22b80 Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期四, 22 九月 2022 10:44:13 +0800 Subject: [PATCH] 新增案件池问题登记 --- src/router/index.js | 53 ++++++++++++++++++++++++++++++----------------------- 1 files changed, 30 insertions(+), 23 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 1bdd60a..c6f1fe1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,9 +3,9 @@ Vue.use(VueRouter) const routes = [ { - path:"/", - name:'index', - redirect:'/home' + path: "/", + name: 'index', + redirect: '/home' }, { path: '/home', @@ -23,33 +23,33 @@ component: () => import('@/views/systemSetting/baseSetting/user') }, { - path:'role', - name:'role', + path: 'role', + name: 'role', component: () => import('@/views/systemSetting/baseSetting/role') }, { - path:'authority', - name:'authority', + path: 'authority', + name: 'authority', component: () => import('@/views/systemSetting/baseSetting/authority') }, { - path:'department', - name:'department', + path: 'department', + name: 'department', component: () => import('@/views/systemSetting/baseSetting/department') }, { - path:'portalSetting', - name:'portalSetting', + path: 'portalSetting', + name: 'portalSetting', component: () => import('@/views/systemSetting/platform/portalSetting') }, { - path:'otherInterface', - name:'otherInterface', + path: 'otherInterface', + name: 'otherInterface', component: () => import('@/views/systemSetting/platform/otherInterface') }, { - path:'mySetting', - name:'mySetting', + path: 'mySetting', + name: 'mySetting', component: () => import('@/views/systemSetting/platform/mySetting') } ] @@ -58,16 +58,23 @@ path: "operate", name: 'operate', component: () => import('@/views/operate'), - children:[ + children: [ { - path:'baseSetting', - name:'baseSetting', - component:()=> import('@/views/operate/baseSetting'), + path: 'baseSetting', + name: 'baseSetting', + component: () => import('@/views/operate/baseSetting'), }, { - path:'casepool', - name:'casepool', - component:() => import('@/views/operate/disposal/casepool') + path: 'casepool', + name: 'casepool', + component: () => import('@/views/operate/disposal/casepool'), + children: [ + { + path: 'escalation', + name: 'escalation', + component: () => import('@/views/operate/disposal/escalation'), + } + ] } ] }, @@ -123,6 +130,6 @@ }) const originalPush = router.push router.push = function push(location) { - return originalPush.call(this, location).catch(err => err); + return originalPush.call(this, location).catch(err => err); } export default router -- Gitblit v1.8.0