| | |
| | | path: '/home', |
| | | name: 'home', |
| | | component: () => import('@/views/layout'), |
| | | meta: { |
| | | needLogin: true, |
| | | }, |
| | | children: [ |
| | | { |
| | | path: 'system', |
| | |
| | | path: 'baseSetting', |
| | | name: 'baseSetting', |
| | | component: () => import('@/views/operate/baseSetting'), |
| | | children: [ |
| | | { |
| | | path: "violation", |
| | | name: 'violation', |
| | | component: () => import('@/views/operate/baseSetting/violation'), |
| | | }, |
| | | { |
| | | path: "illegalBuild", |
| | | name: 'illegalBuild', |
| | | component: () => import('@/views/operate/baseSetting/illegalBuild'), |
| | | }, |
| | | { |
| | | path: "threepack", |
| | | name: 'threepack', |
| | | component: () => import('@/views/operate/baseSetting/threepack'), |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: 'casepool', |
| | | name: 'casepool', |
| | | component: () => import('@/views/operate/disposal'), |
| | | children:[ |
| | | children: [ |
| | | { |
| | | path: 'pool', |
| | | name: 'pool', |
| | |
| | | name: 'notDeal', |
| | | component: () => import('@/views/operate/disposal/casepool/notDeal'), |
| | | }, |
| | | { |
| | | path: 'learn', |
| | | name: 'learn', |
| | | component: () => import('@/views/operate/disposal/casepool/learn'), |
| | | }, |
| | | ] |
| | | }, |
| | | { |
| | | path: "fivepack", |
| | | name: 'fivepack', |
| | | component: () => import('@/views/operate/fivepack'), |
| | | children: [ |
| | | { |
| | | path: "shop", |
| | | name: 'shop', |
| | | component: () => import('@/views/operate/fivepack/shop'), |
| | | }, |
| | | { |
| | | path: "threepackage", |
| | | name: 'threepackage', |
| | | component: () => import('@/views/operate/fivepack/threepack'), |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: 'myWait', |
| | | name: 'myWait', |
| | | component: () => import('@/views/operate/myWait'), |
| | | }, |
| | | { |
| | | path: 'rectification', |
| | | name: 'rectification', |
| | | component: () => import('@/views/operate/rectification'), |
| | | children: [ |
| | | { |
| | | path: "taskList", |
| | | name: 'taskList', |
| | | component: () => import('@/views/operate/rectification/taskList'), |
| | | }, |
| | | { |
| | | path: "surveyList", |
| | | name: 'surveyList', |
| | | component: () => import('@/views/operate/rectification/surveyList'), |
| | | }, |
| | | { |
| | | path: "renovationList", |
| | | name: 'renovationList', |
| | | component: () => import('@/views/operate/rectification/renovationList'), |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: 'lawEnforcement', |
| | | name: 'lawEnforcement', |
| | | component: () => import('@/views/operate/lawEnforcement') |
| | | }, |
| | | { |
| | | path: 'management', |
| | | name: 'management', |
| | | component: () => import('@/views/operate/management'), |
| | | redirect:'/home/operate/management/myIndex', |
| | | children: [ |
| | | { |
| | | path: 'myIndex', |
| | | name: 'myIndex', |
| | | component: () => import('@/views/operate/management/myIndex'), |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | { |
| | | path: '/404', |
| | | name: "404", |
| | | component: () => import('@/views/NotFound'), |
| | | component: () => import('@/views/info/NotFound'), |
| | | }, |
| | | // { path: '*', redirect: '/404' } |
| | | { |
| | | path: '/fail', |
| | | name: "/fail", |
| | | component: () => import('@/views/info/Fail'), |
| | | }, |
| | | { |
| | | path: '/success', |
| | | name: "/success", |
| | | component: () => import('@/views/info/Success'), |
| | | }, |
| | | { path: '*', redirect: '/404' } |
| | | ] |
| | | |
| | | const router = new VueRouter({ |