From a6810bf6a2db02fa855e7e18a8f97bb354e892e5 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 13 Jul 2021 22:32:20 +0800
Subject: [PATCH] 1.保安员管理修改 2.组织机构修改
---
src/router/views/index.js | 130 +++++++++++++++++++++++++++++++++++++++----
1 files changed, 117 insertions(+), 13 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 1d009f0..dcf16c5 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -145,19 +145,6 @@
}, {
path: '/securityGuard',
component: Layout,
- redirect: '/securityGuard/securityGuardRegistration',
- children: [{
- path: 'index',
- name: '保安员入职信息登记',
- meta: {
- i18n: 'dict'
- },
- component: () =>
- import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardRegistration')
- }]
-}, {
- path: '/securityGuard',
- component: Layout,
redirect: '/securityGuard/securityGuard',
children: [{
path: 'index',
@@ -167,6 +154,45 @@
},
component: () =>
import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+ }]
+}, {
+ path: '/securityGuardDetail',
+ component: Layout,
+ redirect: '/securityGuardDetail/index',
+ children: [{
+ path: 'index',
+ name: '保安员详情',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardDetail')
+ }]
+}, {
+ path: '/resource',
+ component: Layout,
+ redirect: '/resource/attach',
+ children: [{
+ path: 'attach',
+ name: '附件上传',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/resource/attach')
+ }]
+}, {
+ path: '/securityUnitChild',
+ component: Layout,
+ redirect: '/securityUnitChild/index',
+ children: [{
+ path: 'index',
+ name: '保安单位详情',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/securityUnitChild/index')
}]
}, {
path: '/securityGuard',
@@ -182,6 +208,19 @@
import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
}]
}, {
+ path: '/desk',
+ component: Layout,
+ redirect: '/desk/notice',
+ children: [{
+ path: 'index',
+ name: '通知公告',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/desk/notice')
+ }]
+}, {
path: '/dispatch',
component: Layout,
redirect: '/dispatch/index',
@@ -194,4 +233,69 @@
component: () =>
import ( /* webpackChunkName: "views" */ '@/views/dispatch/index')
}]
+}, {
+ path: '/dispatchChild',
+ component: Layout,
+ redirect: '/dispatchChild/index',
+ children: [{
+ path: 'index',
+ name: '派遣服务记录',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
+ }]
+}, {
+ path: '/equipments',
+ component: Layout,
+ redirect: '/equipments/index',
+ children: [{
+ path: 'index',
+ name: '保安公司装备管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/equipments/index')
+ }]
+}, {
+ path: '/car',
+ component: Layout,
+ redirect: '/car/index',
+ children: [{
+ path: 'index',
+ name: '保安公司车辆管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/car/index')
+ }]
+}, {
+ path: '/gun',
+ component: Layout,
+ redirect: '/gun/index',
+ children: [{
+ path: 'index',
+ name: '保安公司枪支管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/gun/index')
+ }]
+}, {
+ path: '/trainingRegistration',
+ component: Layout,
+ redirect: '/trainingRegistration/index',
+ children: [{
+ path: 'index',
+ name: '保安培训报名管理',
+ meta: {
+ i18n: 'dict'
+ },
+ component: () =>
+ import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+ }]
}]
\ No newline at end of file
--
Gitblit v1.9.3