From a5db2f0149ac34be9791bd4e53bfd5677234eb5e Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期一, 24 十月 2022 10:59:11 +0800
Subject: [PATCH] 修改package.json
---
src/router/index.js | 185 +++++++++++++++++++++++++++++++++++-----------
1 files changed, 141 insertions(+), 44 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 709b9f6..4c1fc58 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,6 +11,9 @@
path: '/home',
name: 'home',
component: () => import('@/views/layout'),
+ meta: {
+ needLogin: true,
+ },
children: [
{
path: 'system',
@@ -18,39 +21,71 @@
component: () => import('@/views/systemSetting'),
children: [
{
- path: "user",
- name: "user",
- component: () => import('@/views/systemSetting/baseSetting/user')
+ path: 'userSetting',
+ name: 'userSetting',
+ component: () => import('@/views/systemSetting/baseSetting'),
+ children: [
+ {
+ path: "user",
+ name: "user",
+ component: () => import('@/views/systemSetting/baseSetting/user')
+ },
+ {
+ path: 'role',
+ name: 'role',
+ component: () => import('@/views/systemSetting/baseSetting/role')
+ },
+ {
+ path: 'department',
+ name: 'department',
+ component: () => import('@/views/systemSetting/baseSetting/department')
+ },
+
+ ]
},
{
- path: 'role',
- name: 'role',
- component: () => import('@/views/systemSetting/baseSetting/role')
+ path: 'platform',
+ name: 'platform',
+ component: () => import('@/views/systemSetting/platform'),
+ children: [
+ {
+ path: 'portalSetting',
+ name: 'portalSetting',
+ component: () => import('@/views/systemSetting/platform/portalSetting')
+ },
+ {
+ path: 'otherInterface',
+ name: 'otherInterface',
+ component: () => import('@/views/systemSetting/platform/otherInterface')
+ },
+ {
+ path: 'mySetting',
+ name: 'mySetting',
+ component: () => import('@/views/systemSetting/platform/mySetting')
+ }
+ ]
},
{
- path: 'authority',
- name: 'authority',
- component: () => import('@/views/systemSetting/baseSetting/authority')
- },
- {
- path: 'department',
- name: 'department',
- component: () => import('@/views/systemSetting/baseSetting/department')
- },
- {
- path: 'portalSetting',
- name: 'portalSetting',
- component: () => import('@/views/systemSetting/platform/portalSetting')
- },
- {
- path: 'otherInterface',
- name: 'otherInterface',
- component: () => import('@/views/systemSetting/platform/otherInterface')
- },
- {
- path: 'mySetting',
- name: 'mySetting',
- component: () => import('@/views/systemSetting/platform/mySetting')
+ path: 'device',
+ name: 'device',
+ component: () => import('@/views/systemSetting/device'),
+ children: [
+ {
+ path: 'bayonet',
+ name: 'bayonet',
+ component: () => import('@/views/systemSetting/device/bayonet')
+ },
+ {
+ path: 'grid',
+ name: 'grid',
+ component: () => import('@/views/systemSetting/device/grid'),
+ },
+ {
+ path: 'point',
+ name: 'point',
+ component: () => import('@/views/systemSetting/device/point'),
+ }
+ ]
}
]
},
@@ -74,11 +109,6 @@
name: 'illegalBuild',
component: () => import('@/views/operate/baseSetting/illegalBuild'),
},
- {
- path: "threepack",
- name: 'threepack',
- component: () => import('@/views/operate/baseSetting/threepack'),
- }
]
},
{
@@ -105,6 +135,11 @@
path: 'notDeal',
name: 'notDeal',
component: () => import('@/views/operate/disposal/casepool/notDeal'),
+ },
+ {
+ path: 'learn',
+ name: 'learn',
+ component: () => import('@/views/operate/disposal/casepool/learn'),
},
]
},
@@ -134,28 +169,90 @@
path: 'rectification',
name: 'rectification',
component: () => import('@/views/operate/rectification'),
- children:[
+ children: [
{
- path:"taskList",
- name:'taskList',
+ path: "taskList",
+ name: 'taskList',
component: () => import('@/views/operate/rectification/taskList'),
},
{
- path:"surveyList",
- name:'surveyList',
+ path: "surveyList",
+ name: 'surveyList',
component: () => import('@/views/operate/rectification/surveyList'),
},
{
- path:"renovationList",
- name:'renovationList',
+ path: "renovationList",
+ name: 'renovationList',
component: () => import('@/views/operate/rectification/renovationList'),
}
]
},
{
- path:'lawEnforcement',
- name:'lawEnforcement',
- component:()=>import('@/views/operate/lawEnforcement')
+ 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: 'managementMessage',
+ name: 'managementMessage',
+ component: () => import('@/views/operate/management/message'),
+ },
+ ]
+ },
+ {
+ path: 'car',
+ name: 'car',
+ component: () => import('@/views/operate/car'),
+ children: [
+ {
+ path: 'carIndex',
+ name: 'carIndex',
+ component: () => import('@/views/operate/car/myIndex'),
+ },
+ {
+ path: 'lawTrajectory',
+ name: 'lawTrajectory',
+ component: () => import('@/views/operate/car/lawCar'),
+ },
+ {
+ path: 'soilTrajectory',
+ name: 'soilTrajectory',
+ component: () => import('@/views/operate/car/soilCar'),
+ }
+ ]
+ },
+ {
+ path: 'message',
+ name: 'message',
+ component: () => import('@/views/operate/message'),
+ children: [
+ {
+ path: 'messageIndex',
+ name: 'messageIndex',
+ component: () => import('@/views/operate/message/myIndex'),
+ },
+ {
+ path: 'mycontrol',
+ name: 'mycontrol',
+ component: () => import('@/views/operate/message/mycontrol'),
+ },
+ ]
+ },
+ {
+ path: 'log',
+ name: 'log',
+ component: () => import('@/views/operate/log'),
}
]
},
--
Gitblit v1.8.0