diff --git a/src/permission.js b/src/permission.js
index ad85f57..d9b3095 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -14,42 +14,45 @@ const whiteList = ['/login','/', '/oatuh_login', '/sso_redirect', '/editPassword
* next 往下走
*/
let onRun = true;
-// router.beforeEach(async (to, from, next) => {
-// // 存在 token ,进入主页
-// // if (store.state.user.token) {
-// // 快捷访问
-// if (store.getters.token) {
-// // 判断用户资料是否获取
-// // 若不存在用户信息,则需要获取用户信息
-// // 触发获取用户信息的 action,并获取用户当前权限
-// await store.commit('permission/setRouteReady', true)
-// // 添加完动态路由之后,需要在进行一次主动跳转
-// const afterMenuList = await getItem('menusPermission');
-// // 处理用户权限,筛选出需要添加的权限
-// if (store.state.permission.routes == 0) {
-// const filterRoutes = await store.dispatch('permission/filterRoutes', afterMenuList)
-// filterRoutes.forEach(item => {
-// router.addRoute(item)
-// })
-// next({
-// ...to,
-// replace: true
-// })
-// } else {
-// next()
-// }
-// // 利用 addRoute 循环添加
-// } else {
-// const isOatuh = getItem('isOatuh')
-// // 没有token的情况下,可以进入白名单
-// if (whiteList.indexOf(to.path) > -1) {
-// next()
-// } else {
-// if (isOatuh) {
-// next('/oatuh_login')
-// } else {
-// next('/login')
-// }
-// }
-// }
-// })
+router.beforeEach(async (to, from, next) => {
+ // 存在 token ,进入主页
+ // if (store.state.user.token) {
+ // 快捷访问
+ if (store.getters.token) {
+ // 判断用户资料是否获取
+ // 若不存在用户信息,则需要获取用户信息
+ // 触发获取用户信息的 action,并获取用户当前权限
+ await store.commit('permission/setRouteReady', true)
+ // 添加完动态路由之后,需要在进行一次主动跳转
+ const afterMenuList = await getItem('menusPermission');
+ // 处理用户权限,筛选出需要添加的权限
+ if (store.state.permission.routes == 0) {
+ const filterRoutes = await store.dispatch('permission/filterRoutes', afterMenuList)
+
+ console.log(filterRoutes);
+
+ filterRoutes.forEach(item => {
+ router.addRoute(item)
+ })
+ next({
+ ...to,
+ replace: true
+ })
+ } else {
+ next()
+ }
+ // 利用 addRoute 循环添加
+ } else {
+ const isOatuh = getItem('isOatuh')
+ // 没有token的情况下,可以进入白名单
+ if (whiteList.indexOf(to.path) > -1) {
+ next()
+ } else {
+ if (isOatuh) {
+ next('/oatuh_login')
+ } else {
+ next('/login')
+ }
+ }
+ }
+})
diff --git a/src/router/index.js b/src/router/index.js
index 24e5222..4bc1a00 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -15,7 +15,270 @@ import store from "@/store";
* 私有路由表
*/
-export const privateRoutes = [];
+export const privateRoutes = [
+ {
+ path: "/",
+ name: "unitManagement",
+ component: layout,
+ redirect: "/unitManagement/unitInformation",
+ meta: {
+ title: "单位管理",
+ icon: "personnel"
+ },
+ children: [
+ {
+ path: "/unitManagement/unitInformation",
+ name: "unitInformation",
+ component: () =>
+ import("@/views/securityManagement/unitManagement/unitInformation/index"),
+ meta: {
+ title: "单位信息",
+ icon: "personnel"
+ },
+ }
+ ]
+ },
+ {
+ path: "/personnelManagement",
+ name: "personnelManagement",
+ component: layout,
+ meta: {
+ title: "人员管理",
+ icon: "personnel"
+ },
+ children: [
+ {
+ path: "/personnelManagement/practitioner",
+ name: "practitioner",
+ component: () =>
+ import("@/views/securityManagement/personnelManagement/practitioner/index"),
+ meta: {
+ title: "从业人员管理",
+ icon: "personnel"
+ },
+ },
+ {
+ path: "/personnelManagement/applicantPersonnel",
+ name: "applicantPersonnel",
+ component: () =>
+ import("@/views/securityManagement/personnelManagement/applicantPersonnel/index"),
+ meta: {
+ title: "申请人员",
+ icon: "personnel"
+ }
+ },
+ ]
+ },
+ {
+ path: "/trainingManagement",
+ name: "trainingManagement",
+ component: layout,
+ meta: {
+ title: "培训管理",
+ icon: "personnel"
+ },
+ children: [
+ {
+ path: "/trainingManagement/trainer",
+ name: "trainer",
+ component: () =>
+ import("@/views/securityManagement/trainingManagement/trainer/index"),
+ meta: {
+ title: "培训人员",
+ icon: "personnel"
+ },
+ },
+ {
+ path: "/trainingManagement/personnelTraining",
+ name: "personnelTraining",
+ component: () =>
+ import("@/views/securityManagement/trainingManagement/personnelTraining/index"),
+ meta: {
+ title: "保安待培训人员管理",
+ icon: "personnel"
+ },
+ },
+ {
+ path: "/trainingManagement/trainingProject",
+ name: "trainingProject",
+ component: () =>
+ import("@/views/securityManagement/trainingManagement/trainingProject/index"),
+ meta: {
+ title: "保安培训项目管理",
+ icon: "personnel"
+ }
+ },
+ {
+ path: "/trainingManagement/examManagement",
+ name: "examManagement",
+ component: () =>
+ import("@/views/securityManagement/trainingManagement/examManagement/index"),
+ meta: {
+ title: "保安考试管理",
+ icon: "personnel"
+ },
+ },
+ ]
+ },
+ {
+ path: "/training",
+ name: "training",
+ component: layout,
+ meta: {
+ title: "培训中心",
+ icon: "personnel"
+ },
+ children: [
+ {
+ path: "/training/securityTrainingVideo",
+ name: "securityTrainingVideo",
+ component: () => import("@/views/Training/SecurityTrainingVideo/index"),
+ meta: {
+ title: "保安培训视频",
+ icon: "personnel"
+ }
+ },
+ {
+ path: "/training/securityQuestionBank",
+ name: "securityQuestionBank",
+ component: () => import("@/views/Training/SecurityQuestionBank/index"),
+ meta: {
+ title: "保安题库",
+ icon: "personnel"
+ }
+ },
+ {
+ path: "/training/securityTrainingSyllabus",
+ name: "securityTrainingSyllabus",
+ component: () => import("@/views/Training/SecurityTrainingSyllabus/index"),
+ meta: {
+ title: "保安培训教学大纲",
+ icon: "personnel"
+ }
+ },
+ ]
+ },
+ {
+ path: "/njxx",
+ name: "njxx",
+ component: layout,
+ meta: {
+ title: "年检信息",
+ icon: "personnel"
+ },
+ children: [
+ {
+ path: "/training/annualInspectionTraining",
+ name: "annualInspectionTraining",
+ component: () => import("@/views/Training/AnnualInspectionTraining/index"),
+ meta: {
+ title: "年检培训",
+ icon: "personnel"
+ }
+ },
+ {
+ path: "/training/annualInspectionApplicants",
+ name: "annualInspectionApplicants",
+ component: () => import("@/views/Training/AnnualInspectionApplicants/index"),
+ meta: {
+ title: "年检申请人员",
+ icon: "personnel"
+ }
+ },
+ {
+ path: "/training/annualInspection",
+ name: "annualInspection",
+ component: () => import("@/views/Training/AnnualInspection/index"),
+ meta: {
+ title: "年检",
+ icon: "personnel"
+ }
+ },
+ ]
+ },
+ {
+ path: "/systemConfig",
+ name: "systemConfigModel",
+ component: layout,
+ meta: {
+ title: "系统管理",
+ icon: "personnel"
+ },
+ children: [
+ {
+ path: "/user/userList",
+ name: "userList",
+ component: () =>
+ import("@/views/backOfficeSystem/systemConfig/user-list/index"),
+ meta: {
+ title: "用户管理",
+ icon: "role"
+ }
+ },
+ {
+ path: "/user/role",
+ name: "userRoleIndex",
+ component: () =>
+ import("@/views/backOfficeSystem/systemConfig/role-list/index"),
+ meta: {
+ title: "角色列表",
+ icon: "role"
+ }
+ },
+ {
+ path: "/user/menuList",
+ name: "menuList",
+ component: () =>
+ import("@/views/backOfficeSystem/systemConfig/menu-list/index"),
+ meta: {
+ title: "菜单管理",
+ icon: "personnel-manage"
+ }
+ },
+ {
+ path: "/dict/detail",
+ name: "dictDetail",
+ component: () =>
+ import("@/views/backOfficeSystem/systemConfig/dict/detail"),
+ meta: {
+ title: "字典数据"
+ }
+ },
+ {
+ path: "/dict/index",
+ name: "dictIndex",
+ component: () =>
+ import("@/views/backOfficeSystem/systemConfig/dict/index"),
+ meta: {
+ title: "字典列表",
+ icon: "article-ranking"
+ }
+ },
+ {
+ path: "/user/deptAllocationUser/:id",
+ name: "deptAllocationUser",
+ component: () =>
+ import(
+ "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser"
+ ),
+ meta: {
+ title: "管理用户"
+ }
+ },
+ {
+ path: "/user/allocationUser/:id",
+ name: "allocationUser",
+ component: () =>
+ import(
+ "@/views/backOfficeSystem/systemConfig/role-list/allocationUser"
+ ),
+ meta: {
+ title: "分配用户"
+ }
+ },
+ ]
+ },
+];
/**
* 公开路由表
@@ -51,1382 +314,1228 @@ export const publicRoutes = [
// name: "dataBI",
// component: () => import("@/views/dataBI/index") //警保
// },
- {
- path: "/editPassword", // 注意:带有路径"/"的记录中的组件"默认"是一个不返回 Promise 的函数
- component: layout,
- redirect: "/user/department-ist",
- children: [
+ // {
+ // path: "/editPassword", // 注意:带有路径"/"的记录中的组件"默认"是一个不返回 Promise 的函数
+ // component: layout,
+ // redirect: "/user/department-ist",
+ // children: [
- {
- path: "/",
- name: "unitInformation",
- component: () =>
- import("@/views/securityManagement/unitInformation/index"),
- meta: {
- title: "单位信息",
- icon: "personnel"
- },
- },
- {
- path: "/personnelManagement",
- name: "personnelManagement",
- meta: {
- title: "人员管理",
- icon: "personnel"
- },
- children: [
- {
- path: "/personnelManagement/practitioner",
- name: "practitioner",
- component: () =>
- import("@/views/securityManagement/personnelManagement/practitioner/index"),
- meta: {
- title: "从业人员管理",
- icon: "personnel"
- },
- },
- {
- path: "/personnelManagement/applicantPersonnel",
- name: "applicantPersonnel",
- component: () =>
- import("@/views/securityManagement/personnelManagement/applicantPersonnel/index"),
- meta: {
- title: "申请人员",
- icon: "personnel"
- }
- },
- ]
- },
- {
- path: "/trainingManagement",
- name: "/trainingManagement",
- meta: {
- title: "培训管理",
- icon: "personnel"
- },
- children: [
- {
- path: "/trainingManagement/trainer",
- name: "trainer",
- component: () =>
- import("@/views/securityManagement/trainingManagement/trainer/index"),
- meta: {
- title: "培训人员",
- icon: "personnel"
- },
- },
- {
- path: "/trainingManagement/personnelTraining",
- name: "personnelTraining",
- component: () =>
- import("@/views/securityManagement/trainingManagement/personnelTraining/index"),
- meta: {
- title: "保安待培训人员管理",
- icon: "personnel"
- },
- },
- {
- path: "/trainingManagement/trainingProject",
- name: "trainingProject",
- component: () =>
- import("@/views/securityManagement/trainingManagement/trainingProject/index"),
- meta: {
- title: "保安培训项目管理",
- icon: "personnel"
- }
- },
- ]
- },
- {
- path: "/examManagement",
- name: "examManagement",
- component: () =>
- import("@/views/securityManagement/examManagement/index"),
- meta: {
- title: "保安考试管理",
- icon: "personnel"
- },
- },
- {
- path: "/training",
- name: "training",
- meta: {
- title: "培训中心",
- icon: "personnel"
- },
- children: [
- {
- path: "/training/securityTrainingVideo",
- name: "securityTrainingVideo",
- component: () => import("@/views/Training/SecurityTrainingVideo/index"),
- meta: {
- title: "保安培训视频",
- icon: "personnel"
- }
- },
- {
- path: "/training/securityQuestionBank",
- name: "securityQuestionBank",
- component: () => import("@/views/Training/SecurityQuestionBank/index"),
- meta: {
- title: "保安题库",
- icon: "personnel"
- }
- },
- {
- path: "/training/securityTrainingSyllabus",
- name: "securityTrainingSyllabus",
- component: () => import("@/views/Training/SecurityTrainingSyllabus/index"),
- meta: {
- title: "保安培训教学大纲",
- icon: "personnel"
- }
- },
- ]
- },
- {
- path: "/njxx",
- name: "njxx",
- meta: {
- title: "年检信息",
- icon: "personnel"
- },
- children: [
- {
- path: "/training/annualInspectionTraining",
- name: "annualInspectionTraining",
- component: () => import("@/views/Training/AnnualInspectionTraining/index"),
- meta: {
- title: "年检培训",
- icon: "personnel"
- }
- },
- {
- path: "/training/annualInspectionApplicants",
- name: "annualInspectionApplicants",
- component: () => import("@/views/Training/AnnualInspectionApplicants/index"),
- meta: {
- title: "年检申请人员",
- icon: "personnel"
- }
- },
- {
- path: "/training/annualInspection",
- name: "annualInspection",
- component: () => import("@/views/Training/AnnualInspection/index"),
- meta: {
- title: "年检",
- icon: "personnel"
- }
- },
- ]
- },
- // {
- // path: "/systemConfig",
- // name: "systemConfigModel",
- // meta: {
- // title: "系统管理",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/user/department-ist",
- // name: "departmentList",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/department-list/index"
- // ),
- // meta: {
- // title: "部门管理",
- // icon: "personnel-manage"
- // }
- // },
- // {
- // path: "/user/userList",
- // name: "userList",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/user-list/index"),
- // meta: {
- // title: "用户管理",
- // icon: "role"
- // }
- // },
- // {
- // path: "/user/role",
- // name: "userRoleIndex",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/role-list/index"),
- // meta: {
- // title: "角色列表",
- // icon: "role"
- // }
- // },
- // {
- // path: "/user/menuList",
- // name: "menuList",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/menu-list/index"),
- // meta: {
- // title: "菜单管理",
- // icon: "personnel-manage"
- // }
- // },
- // {
- // path: "/user/publicSecurity",
- // name: "publicSecurity",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/publicSecurity/index"
- // ),
- // meta: {
- // title: "公安机关要素",
- // icon: "personnel-manage"
- // }
- // },
- {
- path: "/dict/detail",
- name: "dictDetail",
- component: () =>
- import("@/views/backOfficeSystem/systemConfig/dict/detail"),
- meta: {
- title: "字典数据"
- }
- },
- {
- path: "/dict/index",
- name: "dictIndex",
- component: () =>
- import("@/views/backOfficeSystem/systemConfig/dict/index"),
- meta: {
- title: "字典列表",
- icon: "article-ranking"
- }
- },
- // {
- // path: "/user/job",
- // name: "userJob",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/job-list/index"),
- // meta: {
- // title: "岗位列表",
- // icon: "personnel-manage"
- // }
- // },
- // {
- // path: "/user/deptAllocationUser/:id",
- // name: "deptAllocationUser",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser"
- // ),
- // meta: {
- // title: "管理用户"
- // }
- // },
- // {
- // path: "/user/allocationUser/:id",
- // name: "allocationUser",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/role-list/allocationUser"
- // ),
- // meta: {
- // title: "分配用户"
- // }
- // },
- // {
- // path: "/sys/systemFxMx",
- // name: "systemFxMx",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/systemFxMx/index"),
- // meta: {
- // title: "系统分析模型",
- // icon: "personnel-manage"
- // }
- // },
- // // {
- // // path: "/sys/ysjq",
- // // name: "ysjq",
- // // component: () => import("@/views/backOfficeSystem/systemConfig/ysjq/index"),
- // // meta: {
- // // title: "演示警情",
- // // icon: "personnel-manage"
- // // }
- // // },
- // {
- // path: "/user/systemConfig",
- // name: "systemConfig",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/system-config-list/index"
- // ),
- // meta: {
- // title: "系统配置",
- // icon: "personnel-manage"
- // }
- // },
+ // {
+ // path: "/",
+ // name: "unitInformation",
+ // component: () =>
+ // import("@/views/securityManagement/unitInformation/index"),
+ // meta: {
+ // title: "单位信息",
+ // icon: "personnel"
+ // },
+ // },
+ // {
+ // path: "/systemConfig",
+ // name: "systemConfigModel",
+ // meta: {
+ // title: "系统管理",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/user/department-ist",
+ // name: "departmentList",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/department-list/index"
+ // ),
+ // meta: {
+ // title: "部门管理",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/user/userList",
+ // name: "userList",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/user-list/index"),
+ // meta: {
+ // title: "用户管理",
+ // icon: "role"
+ // }
+ // },
+ // {
+ // path: "/user/role",
+ // name: "userRoleIndex",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/role-list/index"),
+ // meta: {
+ // title: "角色列表",
+ // icon: "role"
+ // }
+ // },
+ // {
+ // path: "/user/menuList",
+ // name: "menuList",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/menu-list/index"),
+ // meta: {
+ // title: "菜单管理",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/user/publicSecurity",
+ // name: "publicSecurity",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/publicSecurity/index"
+ // ),
+ // meta: {
+ // title: "公安机关要素",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/dict/detail",
+ // name: "dictDetail",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/dict/detail"),
+ // meta: {
+ // title: "字典数据"
+ // }
+ // },
+ // {
+ // path: "/dict/index",
+ // name: "dictIndex",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/dict/index"),
+ // meta: {
+ // title: "字典列表",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/user/job",
+ // name: "userJob",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/job-list/index"),
+ // meta: {
+ // title: "岗位列表",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/user/deptAllocationUser/:id",
+ // name: "deptAllocationUser",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser"
+ // ),
+ // meta: {
+ // title: "管理用户"
+ // }
+ // },
+ // {
+ // path: "/user/allocationUser/:id",
+ // name: "allocationUser",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/role-list/allocationUser"
+ // ),
+ // meta: {
+ // title: "分配用户"
+ // }
+ // },
+ // {
+ // path: "/sys/systemFxMx",
+ // name: "systemFxMx",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/systemFxMx/index"),
+ // meta: {
+ // title: "系统分析模型",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/sys/ysjq",
+ // name: "ysjq",
+ // component: () => import("@/views/backOfficeSystem/systemConfig/ysjq/index"),
+ // meta: {
+ // title: "演示警情",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/user/systemConfig",
+ // name: "systemConfig",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/system-config-list/index"
+ // ),
+ // meta: {
+ // title: "系统配置",
+ // icon: "personnel-manage"
+ // }
+ // },
- // {
- // path: "/user/systemVersion",
- // name: "systemVersion",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/system-version-list/index"
- // ),
- // meta: {
- // title: "系统版本管理",
- // icon: "personnel-manage"
- // }
- // },
- // {
- // path: "/user/useQk",
- // name: "useQk",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/useQk/index"),
- // meta: {
- // title: "系统使用情况",
- // icon: "personnel-manage"
- // }
- // },
- // {
- // path: "/user/zdqyFz",
- // name: "zdqyFz",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/zdqyFz/index"),
- // meta: {
- // title: "重点区域分值",
- // icon: "personnel-manage"
- // }
- // },
+ // {
+ // path: "/user/systemVersion",
+ // name: "systemVersion",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/system-version-list/index"
+ // ),
+ // meta: {
+ // title: "系统版本管理",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/user/useQk",
+ // name: "useQk",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/useQk/index"),
+ // meta: {
+ // title: "系统使用情况",
+ // icon: "personnel-manage"
+ // }
+ // },
+ // {
+ // path: "/user/zdqyFz",
+ // name: "zdqyFz",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/zdqyFz/index"),
+ // meta: {
+ // title: "重点区域分值",
+ // icon: "personnel-manage"
+ // }
+ // },
- // {
- // path: "/user/log",
- // name: "/user/log",
- // meta: {
- // title: "日志",
- // icon: "article"
- // },
- // children: [
- // {
- // path: "/user/operateLog",
- // name: "/user/operateLog",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index"
- // ),
- // meta: {
- // title: "操作日志",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/user/loginLog",
- // name: "/user/loginLog",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index"
- // ),
- // meta: {
- // title: "登录日志",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/developer",
- // name: "developer",
- // component: () => import("@/views/developer/index"),
- // meta: {
- // title: "开发者中心",
- // icon: "article-ranking"
- // }
- // },
- // {
- // //如果三级 需要把路由注册出来
- // path: "/user/operateLog",
- // name: "/user/operateLog",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index"
- // )
- // },
- // {
- // path: "/user/loginLog",
- // name: "/user/loginLog",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index"
- // )
- // },
- // {
- // path: "/tool/gen-edit/index/:tableId",
- // name: "gen-edit",
- // component: () =>
- // import("@/views/backOfficeSystem/systemConfig/gen/editTable"),
- // meta: {
- // title: "代码生成编辑"
- // }
- // }
- // ]
- // },
- // {
- // path: "/basicsmanage",
- // name: "/basicsmanage",
- // meta: {
- // title: "基础管理",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/watchman-ll",
- // name: "watchman-ll",
- // meta: {
- // title: "巡防力量管理",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/patrol-police",
- // name: "patrol-police",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/watchman-ll/patrol-police/index"
- // ),
- // meta: {
- // title: "巡防民警",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/auxiliary-police",
- // name: "auxiliary-police",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/watchman-ll/auxiliary-police/index"
- // ),
- // meta: {
- // title: "巡防辅警",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/baManagement",
- // name: "baManagement",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/watchman-ll/baManagement/index"
- // ),
- // meta: {
- // title: "保安人员",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/prevention",
- // name: "prevention",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/watchman-ll/prevention/index"
- // ),
- // meta: {
- // title: "群防群治人员",
- // icon: "article-ranking"
- // }
- // }
+ // {
+ // path: "/user/log",
+ // name: "/user/log",
+ // meta: {
+ // title: "日志",
+ // icon: "article"
+ // },
+ // children: [
+ // {
+ // path: "/user/operateLog",
+ // name: "/user/operateLog",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index"
+ // ),
+ // meta: {
+ // title: "操作日志",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/user/loginLog",
+ // name: "/user/loginLog",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index"
+ // ),
+ // meta: {
+ // title: "登录日志",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/developer",
+ // name: "developer",
+ // component: () => import("@/views/developer/index"),
+ // meta: {
+ // title: "开发者中心",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // //如果三级 需要把路由注册出来
+ // path: "/user/operateLog",
+ // name: "/user/operateLog",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index"
+ // )
+ // },
+ // {
+ // path: "/user/loginLog",
+ // name: "/user/loginLog",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index"
+ // )
+ // },
+ // {
+ // path: "/tool/gen-edit/index/:tableId",
+ // name: "gen-edit",
+ // component: () =>
+ // import("@/views/backOfficeSystem/systemConfig/gen/editTable"),
+ // meta: {
+ // title: "代码生成编辑"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/basicsmanage",
+ // name: "/basicsmanage",
+ // meta: {
+ // title: "基础管理",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/watchman-ll",
+ // name: "watchman-ll",
+ // meta: {
+ // title: "巡防力量管理",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/patrol-police",
+ // name: "patrol-police",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/watchman-ll/patrol-police/index"
+ // ),
+ // meta: {
+ // title: "巡防民警",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/auxiliary-police",
+ // name: "auxiliary-police",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/watchman-ll/auxiliary-police/index"
+ // ),
+ // meta: {
+ // title: "巡防辅警",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/baManagement",
+ // name: "baManagement",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/watchman-ll/baManagement/index"
+ // ),
+ // meta: {
+ // title: "保安人员",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/prevention",
+ // name: "prevention",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/watchman-ll/prevention/index"
+ // ),
+ // meta: {
+ // title: "群防群治人员",
+ // icon: "article-ranking"
+ // }
+ // }
- // // {
- // // path: "/professional-skills",
- // // name: "professional-skills",
- // // component: () =>
- // // import(
- // // "@/views/backOfficeSystem/basicsmanage/watchman-ll/professional-skills/index"
- // // ),
- // // meta: {
- // // title: "专业技能",
- // // icon: "article-ranking"
- // // }
- // // },
- // // {
- // // path: "/experience",
- // // name: "experience",
- // // component: () =>
- // // import("@/views/backOfficeSystem/basicsmanage/watchman-ll/experience/index"),
- // // meta: {
- // // title: "经验管理",
- // // icon: "article-ranking"
- // // }
- // // },
- // ]
- // },
- // {
- // path: "/watchman-zb",
- // name: "/watchman-zb",
- // meta: {
- // title: "巡防装备管理",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/intelligence",
- // name: "intelligence-zb",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/watchman-zb/intelligence/index"
- // ),
- // meta: {
- // title: "智能装备管理",
- // icon: "article-ranking"
- // }
- // },
- // // {
- // // path: "/police-equipment",
- // // name: "police-equipment",
- // // component: () =>
- // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/police-equipment/index"),
- // // meta: {
- // // title: "常用装备管理",
- // // icon: "article-ranking"
- // // }
- // // },
- // {
- // path: "/watchman-car",
- // name: "watchman-car",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-car/index"
- // ),
- // meta: {
- // title: "巡防车辆管理",
- // icon: "article-ranking"
- // }
- // }
- // // {
- // // path: "/watchman-zbgl",
- // // name: "watchman-zbgl",
- // // component: () =>
- // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-zbgl/index"),
- // // meta: {
- // // title: "巡防装备分类管理",
- // // icon: "article-ranking"
- // // }
- // // },
- // // {
- // // path: "/watchman-zbtx-dell",
- // // name: "watchman-zbtx-dell",
- // // component: () =>
- // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-zbtx/index"),
- // // meta: {
- // // title: "巡防装备到期提醒",
- // // icon: "article-ranking"
- // // }
- // // },
- // // {
- // // path: "/day-streetzb",
- // // name: "day-streetzb",
- // // component: () =>
- // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/day-streetzb/index"),
- // // meta: {
- // // title: "每日街面装备",
- // // icon: "article-ranking"
- // // }
- // // },
- // ]
- // },
+ // // {
+ // // path: "/professional-skills",
+ // // name: "professional-skills",
+ // // component: () =>
+ // // import(
+ // // "@/views/backOfficeSystem/basicsmanage/watchman-ll/professional-skills/index"
+ // // ),
+ // // meta: {
+ // // title: "专业技能",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // // {
+ // // path: "/experience",
+ // // name: "experience",
+ // // component: () =>
+ // // import("@/views/backOfficeSystem/basicsmanage/watchman-ll/experience/index"),
+ // // meta: {
+ // // title: "经验管理",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // ]
+ // },
+ // {
+ // path: "/watchman-zb",
+ // name: "/watchman-zb",
+ // meta: {
+ // title: "巡防装备管理",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/intelligence",
+ // name: "intelligence-zb",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/watchman-zb/intelligence/index"
+ // ),
+ // meta: {
+ // title: "智能装备管理",
+ // icon: "article-ranking"
+ // }
+ // },
+ // // {
+ // // path: "/police-equipment",
+ // // name: "police-equipment",
+ // // component: () =>
+ // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/police-equipment/index"),
+ // // meta: {
+ // // title: "常用装备管理",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // {
+ // path: "/watchman-car",
+ // name: "watchman-car",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-car/index"
+ // ),
+ // meta: {
+ // title: "巡防车辆管理",
+ // icon: "article-ranking"
+ // }
+ // }
+ // // {
+ // // path: "/watchman-zbgl",
+ // // name: "watchman-zbgl",
+ // // component: () =>
+ // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-zbgl/index"),
+ // // meta: {
+ // // title: "巡防装备分类管理",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // // {
+ // // path: "/watchman-zbtx-dell",
+ // // name: "watchman-zbtx-dell",
+ // // component: () =>
+ // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-zbtx/index"),
+ // // meta: {
+ // // title: "巡防装备到期提醒",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // // {
+ // // path: "/day-streetzb",
+ // // name: "day-streetzb",
+ // // component: () =>
+ // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/day-streetzb/index"),
+ // // meta: {
+ // // title: "每日街面装备",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // ]
+ // },
- // {
- // path: "/service-jz",
- // component: () =>
- // import("@/views/backOfficeSystem/basicsmanage/service-jz/index"),
- // name: "service-jz",
- // meta: {
- // title: "勤务警组管理",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/police-station",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/basicsmanage/police-station/index"
- // ),
- // name: "police-station",
- // meta: {
- // title: "警务站管理",
- // icon: "article-ranking"
- // }
- // },
+ // {
+ // path: "/service-jz",
+ // component: () =>
+ // import("@/views/backOfficeSystem/basicsmanage/service-jz/index"),
+ // name: "service-jz",
+ // meta: {
+ // title: "勤务警组管理",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/police-station",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/basicsmanage/police-station/index"
+ // ),
+ // name: "police-station",
+ // meta: {
+ // title: "警务站管理",
+ // icon: "article-ranking"
+ // }
+ // },
- // {
- // path: "/patrol-route",
- // // component: () => import("@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"),
- // name: "patrol-route",
- // meta: {
- // title: "巡逻路线管理",
- // icon: "article-ranking"
- // },
- // children: [
- // // {
- // // path: "/RequiredPatrolLine",
- // // name: "RequiredPatrolLine",
- // // component: () => import("@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"),
- // // meta: {
- // // title: "巡逻路线管理",
- // // icon: "article"
- // // }
- // // },
- // // {
- // // path: "/mandatory-patrol",
- // // name: "mandatory-patrol",
- // // component: () =>
- // // import(
- // // "@/views/backOfficeSystem/basicsmanage/patrol-route/mandatory-patrol/index"
- // // ),
- // // meta: {
- // // title: "巡逻点位管理",
- // // icon: "article-ranking"
- // // }
- // // },
- // // {
- // // path: "/RequiredPatrolLine",
- // // name: "RequiredPatrolLine",
- // // component: () => import("@/views/backOfficeSystem/basicsmanage/patrol-route/patrol-line/index"),
- // // meta: {
- // // title: "巡逻路线管理",
- // // icon: "article"
- // // }
- // // },
- // {
- // path: "/RequiredPatrolLine",
- // name: "RequiredPatrolLine",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"
- // ),
- // meta: {
- // title: "巡逻路线管理",
- // icon: "article"
- // }
- // },
- // {
- // path: "/taskManagement",
- // name: "taskManagement",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/AlarmLinkage/taskManagement/index"
- // ),
- // meta: {
- // title: "任务中心",
- // icon: "article"
- // }
- // }
- // ]
- // }
- // // {
- // // path: "/expertBase",
- // // component: () => import("@/views/backOfficeSystem/basicsmanage/expertBase/index"),
- // // name: "expertBase",
- // // meta: {
- // // title: "专家库管理",
- // // icon: "article-ranking"
- // // }
- // // },
- // // {
- // // path: "/watchmanFiling",
- // // component: () => import("@/views/backOfficeSystem/basicsmanage/watchmanFiling/index"),
- // // name: "watchmanFiling",
- // // meta: {
- // // title: "巡防报备",
- // // icon: "article-ranking"
- // // }
- // // },
- // ]
- // },
- // {
- // path: "/warningCenter",
- // name: "warningCenter",
- // meta: {
- // title: "预警中心",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/warningCenter/warningInfo",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/warningCenter/warningInfo/index"
- // ),
- // name: "warningInfo",
- // meta: {
- // title: "预警信息",
- // icon: "article-ranking"
- // }
- // },
- // // {
- // // path: "/warningCenter/warningInstruct",
- // // component: () => import("@/views/backOfficeSystem/warningCenter/warningInstruct/index"),
- // // name: "warningInstruct",
- // // meta: {
- // // title: "指令信息",
- // // icon: "article-ranking"
- // // }
- // // },
- // {
- // path: "/warningCenter/jqInfo",
- // component: () =>
- // import("@/views/backOfficeSystem/warningCenter/jqInfo/index"),
- // name: "jqInfo",
- // meta: {
- // title: "警情信息",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/warningCenter/alarmTrend",
- // component: () =>
- // import("@/views/backOfficeSystem/warningCenter/alarmTrend/index"),
- // name: "alarmTrend",
- // meta: {
- // title: "警情趋势",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/warningCenter/earlyWarningAnalysisModel",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/warningCenter/earlyWarningAnalysisModel/index"
- // ),
- // name: "earlyWarningAnalysisModel",
- // meta: {
- // title: "预警分析模型",
- // icon: "article-ranking"
- // }
- // }
- // // {
- // // path: "/warningCenter/earlyWarningdemo",
- // // component: () => import("@/views/backOfficeSystem/warningCenter/earlyWarningdemo/index"),
- // // name: "earlyWarningdemo",
- // // meta: {
- // // title: "预警模板",
- // // icon: "article-ranking"
- // // }
- // // },
- // // {
- // // path: "/warningCenter/derectingPatrols",
- // // component: () => import("@/views/backOfficeSystem/warningCenter/derectingPatrols/index"),
- // // name: "derectingPatrols",
- // // meta: {
- // // title: "指导巡逻",
- // // icon: "article-ranking"
- // // }
- // // },
- // ]
- // },
- // {
- // path: "/videoPatrol",
- // name: "videoPatrol",
- // meta: {
- // title: "视频巡逻",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/videoPatrol/patrolPlan",
- // component: () =>
- // import("@/views/backOfficeSystem/videoPatrol/patrolPlan/index"),
- // name: "patrolPlan",
- // meta: {
- // title: "巡逻方案",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/rxgzy",
- // name: "rxgzy",
- // component: () =>
- // import("@/views/backOfficeSystem/basicsmanage/rxgzy/index"),
- // meta: {
- // title: "感知源管理",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/performanceMenu",
- // name: "performanceMenu",
- // meta: {
- // title: "质量监督",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/performanceMenu/assessment",
- // name: "assessment",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/performanceMenu/assessment/index"
- // ),
- // meta: {
- // title: "配置考核部门",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/performanceMenu/achievements",
- // name: "achievements",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/performanceMenu/achievements/index"
- // ),
- // meta: {
- // title: "质量监督",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/performanceMenu/jxbg",
- // name: "jxbg",
- // component: () =>
- // import("@/views/backOfficeSystem/performanceMenu/jxbg/index"),
- // meta: {
- // title: "工作报告",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/performanceMenu/model",
- // component: () =>
- // import("@/views/backOfficeSystem/performanceMenu/model/index"),
- // name: "model",
- // meta: {
- // title: "考核模型",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/patrolResults",
- // name: "patrolResults",
- // meta: {
- // title: "巡防战果",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/patrolResults/mediumPersonnelRatioLog",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolResults/mediumPersonnelRatioLog/index"
- // ),
- // name: "mediumPersonnelRatioLog",
- // meta: {
- // title: "人员战果",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResults/mediumVehicleRatio",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolResults/mediumVehicleRatio/index"
- // ),
- // name: "mediumVehicleRatio",
- // meta: {
- // title: "车辆战果",
- // icon: "article-ranking"
- // }
- // }
- // // {
- // // path: "/patrolResults/ItemVehicleRatio",
- // // component: () => import("@/views/backOfficeSystem/patrolResults/ItemVehicleRatio/index"),
- // // name: "ItemVehicleRatio",
- // // meta: {
- // // title: '物品战果',
- // // icon: "article-ranking"
- // // }
- // // },
- // ]
- // },
- // {
- // path: "/patrolStatistics",
- // name: "patrolStatistics",
- // meta: {
- // title: "巡防统计",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/patrolStatistics/securitySituation",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/securitySituation/index"
- // ),
- // name: "securitySituation",
- // meta: {
- // title: "安全态势统计",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolStatistics/interfaceAlarm",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/interfaceAlarm/index"
- // ),
- // name: "interfaceAlarm",
- // meta: {
- // title: "街面警情统计",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolStatistics/patrolResources",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
- // ),
- // name: "patrolResources",
- // meta: {
- // title: "巡防资源统计",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/patrolResources/perceptualSource",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
- // ),
- // name: "perceptualSource",
- // meta: {
- // title: "感知源",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResources/patrolForce",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/patrolForce/index"
- // ),
- // name: "patrolForce",
- // meta: {
- // title: "巡防力量",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResources/mobileEquipment",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/mobileEquipment/index"
- // ),
- // name: "mobileEquipment",
- // meta: {
- // title: "移动装备",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResources/streetPoliceStation",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/streetPoliceStation/index"
- // ),
- // name: "streetPoliceStation",
- // meta: {
- // title: "街面警务站",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/patrolResources/perceptualSource",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
- // ),
- // name: "perceptualSource",
- // meta: {
- // title: "感知源"
- // }
- // },
- // {
- // path: "/patrolResources/patrolForce",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/patrolForce/index"
- // ),
- // name: "patrolForce",
- // meta: {
- // title: "巡防力量"
- // }
- // },
- // {
- // path: "/patrolResources/mobileEquipment",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/mobileEquipment/index"
- // ),
- // name: "mobileEquipment",
- // meta: {
- // title: "移动装备"
- // }
- // },
- // {
- // path: "/patrolResources/streetPoliceStation",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/streetPoliceStation/index"
- // ),
- // name: "streetPoliceStation",
- // meta: {
- // title: "街面警务站"
- // }
- // },
- // {
- // path: "/patrolStatistics/patrolResultsTj",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index"
- // ),
- // name: "patrolResultsTj",
- // meta: {
- // title: "巡防战果统计",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/patrolResultsTj/manVehicleInventoryAnalysis",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index"
- // ),
- // name: "manVehicleInventoryAnalysis",
- // meta: {
- // title: "盘查统计分析",
- // icon: "article-ranking"
- // }
- // },
- // // {
- // // path: "/patrolResultsTj/car",
- // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryCharacteristicStatistics/index"),
- // // name: "inventoryCharacteristicStatistics",
- // // meta: {
- // // title: '盘查车辆分析',
- // // icon: "article-ranking"
- // // },
- // // },
- // // {
- // // path: "/patrolResultsTj/humanAndVehicleAchievements",
- // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/humanAndVehicleAchievements/index"),
- // // name: "humanAndVehicleAchievements",
- // // meta: {
- // // title: '盘查物品分析',
- // // icon: "article-ranking"
- // // },
- // // },
- // {
- // path: "/patrolResultsTj/inventoryStatisticsOfArticles",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryStatisticsOfArticles/index"
- // ),
- // name: "inventoryStatisticsOfArticles",
- // meta: {
- // title: "处置警情分析",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResultsTj/manVehicleInventoryStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryStatistics/index"
- // ),
- // name: "manVehicleInventoryStatistics",
- // meta: {
- // title: "事件分析",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/patrolStatistics/patrolWork",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index"
- // ),
- // name: "patrolWork",
- // meta: {
- // title: "巡防工作统计",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/patrolWork/deptStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index"
- // ),
- // name: "deptStatistics",
- // meta: {
- // title: "部门统计",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolWork/patrolAreaStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolAreaStatistics/index"
- // ),
- // name: "patrolAreaStatistics",
- // meta: {
- // title: "巡区统计",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolWork/patrolGroupStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolGroupStatistics/index"
- // ),
- // name: "patrolGroupStatistics",
- // meta: {
- // title: "巡组统计",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolWork/personalStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/personalStatistics/index"
- // ),
- // name: "personalStatistics",
- // meta: {
- // title: "个人统计",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/patrolWork/deptStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index"
- // ),
- // name: "deptStatistics",
- // meta: {
- // title: "部门统计"
- // }
- // },
- // {
- // path: "/patrolWork/patrolAreaStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolAreaStatistics/index"
- // ),
- // name: "patrolAreaStatistics",
- // meta: {
- // title: "巡区统计"
- // }
- // },
- // {
- // path: "/patrolWork/patrolGroupStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolGroupStatistics/index"
- // ),
- // name: "patrolGroupStatistics",
- // meta: {
- // title: "巡组统计"
- // }
- // },
- // {
- // path: "/patrolWork/personalStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolWork/personalStatistics/index"
- // ),
- // name: "personalStatistics",
- // meta: {
- // title: "个人统计"
- // }
- // },
- // {
- // path: "/interfaceFocus/keyPersonnel",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/interfaceFocus/keyPersonnel/index"
- // ),
- // name: "keyPersonnel",
- // meta: {
- // title: "重点人员统计"
- // }
- // },
- // {
- // path: "/interfaceFocus/importantPlaces",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/interfaceFocus/importantPlaces/index"
- // ),
- // name: "importantPlaces",
- // meta: {
- // title: "重要场所统计"
- // }
- // },
- // {
- // path: "/patrolResultsTj/manVehicleInventoryAnalysis",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index"
- // ),
- // name: "manVehicleInventoryAnalysis",
- // meta: {
- // title: "盘查统计分析"
- // }
- // },
- // // {
- // // path: "/patrolResultsTj/car",
- // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryCharacteristicStatistics/index"),
- // // name: "inventoryCharacteristicStatistics",
- // // meta: {
- // // title: '盘查车辆分析'
- // // },
- // // },
- // // {
- // // path: "/patrolResultsTj/humanAndVehicleAchievements",
- // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/humanAndVehicleAchievements/index"),
- // // name: "humanAndVehicleAchievements",
- // // meta: {
- // // title: '盘查物品分析'
- // // },
- // // },
- // {
- // path: "/patrolResultsTj/inventoryStatisticsOfArticles",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryStatisticsOfArticles/index"
- // ),
- // name: "inventoryStatisticsOfArticles",
- // meta: {
- // title: "处置警情分析"
- // }
- // },
- // {
- // path: "/patrolResultsTj/manVehicleInventoryStatistics",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryStatistics/index"
- // ),
- // name: "manVehicleInventoryStatistics",
- // meta: {
- // title: "事件分析"
- // }
- // }
- // ]
- // },
- // {
- // path: "/contingencyPlan",
- // name: "contingencyPlan",
- // meta: {
- // title: "预案管理",
- // icon: "personnel"
- // },
- // children: [
- // {
- // path: "/PlanManagement",
- // name: "BasicConfiguration",
- // meta: {
- // title: "基础配置",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/PlanManagement",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/contingencyPlan/PlanManagement/index"
- // ),
- // name: "PlanManagement",
- // meta: {
- // title: "预案等级管理",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/TypeManagement",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/contingencyPlan/TypeManagement/index"
- // ),
- // name: "TypeManagement",
- // meta: {
- // title: "预案类型管理",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // },
- // {
- // path: "/YaManagement",
- // name: "Contingency",
- // meta: {
- // title: "预案管理",
- // icon: "article-ranking"
- // },
- // children: [
- // {
- // path: "/YaManagement",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/contingencyPlan/YaManagement/index"
- // ),
- // name: "YaManagement",
- // meta: {
- // title: "预案管理(市局)",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResources/perceptualSource",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
- // ),
- // name: "perceptualSource",
- // meta: {
- // title: "预案执行(作战力量)",
- // icon: "article-ranking"
- // }
- // },
- // {
- // path: "/patrolResources/perceptualSource",
- // component: () =>
- // import(
- // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
- // ),
- // name: "perceptualSource",
- // meta: {
- // title: "预案执行(市局)",
- // icon: "article-ranking"
- // }
- // }
- // ]
- // }
- // ]
- // }
- ]
- }
+ // {
+ // path: "/patrol-route",
+ // // component: () => import("@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"),
+ // name: "patrol-route",
+ // meta: {
+ // title: "巡逻路线管理",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // // {
+ // // path: "/RequiredPatrolLine",
+ // // name: "RequiredPatrolLine",
+ // // component: () => import("@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"),
+ // // meta: {
+ // // title: "巡逻路线管理",
+ // // icon: "article"
+ // // }
+ // // },
+ // // {
+ // // path: "/mandatory-patrol",
+ // // name: "mandatory-patrol",
+ // // component: () =>
+ // // import(
+ // // "@/views/backOfficeSystem/basicsmanage/patrol-route/mandatory-patrol/index"
+ // // ),
+ // // meta: {
+ // // title: "巡逻点位管理",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // // {
+ // // path: "/RequiredPatrolLine",
+ // // name: "RequiredPatrolLine",
+ // // component: () => import("@/views/backOfficeSystem/basicsmanage/patrol-route/patrol-line/index"),
+ // // meta: {
+ // // title: "巡逻路线管理",
+ // // icon: "article"
+ // // }
+ // // },
+ // {
+ // path: "/RequiredPatrolLine",
+ // name: "RequiredPatrolLine",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"
+ // ),
+ // meta: {
+ // title: "巡逻路线管理",
+ // icon: "article"
+ // }
+ // },
+ // {
+ // path: "/taskManagement",
+ // name: "taskManagement",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/AlarmLinkage/taskManagement/index"
+ // ),
+ // meta: {
+ // title: "任务中心",
+ // icon: "article"
+ // }
+ // }
+ // ]
+ // }
+ // // {
+ // // path: "/expertBase",
+ // // component: () => import("@/views/backOfficeSystem/basicsmanage/expertBase/index"),
+ // // name: "expertBase",
+ // // meta: {
+ // // title: "专家库管理",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // // {
+ // // path: "/watchmanFiling",
+ // // component: () => import("@/views/backOfficeSystem/basicsmanage/watchmanFiling/index"),
+ // // name: "watchmanFiling",
+ // // meta: {
+ // // title: "巡防报备",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // ]
+ // },
+ // {
+ // path: "/warningCenter",
+ // name: "warningCenter",
+ // meta: {
+ // title: "预警中心",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/warningCenter/warningInfo",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/warningCenter/warningInfo/index"
+ // ),
+ // name: "warningInfo",
+ // meta: {
+ // title: "预警信息",
+ // icon: "article-ranking"
+ // }
+ // },
+ // // {
+ // // path: "/warningCenter/warningInstruct",
+ // // component: () => import("@/views/backOfficeSystem/warningCenter/warningInstruct/index"),
+ // // name: "warningInstruct",
+ // // meta: {
+ // // title: "指令信息",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // {
+ // path: "/warningCenter/jqInfo",
+ // component: () =>
+ // import("@/views/backOfficeSystem/warningCenter/jqInfo/index"),
+ // name: "jqInfo",
+ // meta: {
+ // title: "警情信息",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/warningCenter/alarmTrend",
+ // component: () =>
+ // import("@/views/backOfficeSystem/warningCenter/alarmTrend/index"),
+ // name: "alarmTrend",
+ // meta: {
+ // title: "警情趋势",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/warningCenter/earlyWarningAnalysisModel",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/warningCenter/earlyWarningAnalysisModel/index"
+ // ),
+ // name: "earlyWarningAnalysisModel",
+ // meta: {
+ // title: "预警分析模型",
+ // icon: "article-ranking"
+ // }
+ // }
+ // // {
+ // // path: "/warningCenter/earlyWarningdemo",
+ // // component: () => import("@/views/backOfficeSystem/warningCenter/earlyWarningdemo/index"),
+ // // name: "earlyWarningdemo",
+ // // meta: {
+ // // title: "预警模板",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // // {
+ // // path: "/warningCenter/derectingPatrols",
+ // // component: () => import("@/views/backOfficeSystem/warningCenter/derectingPatrols/index"),
+ // // name: "derectingPatrols",
+ // // meta: {
+ // // title: "指导巡逻",
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // ]
+ // },
+ // {
+ // path: "/videoPatrol",
+ // name: "videoPatrol",
+ // meta: {
+ // title: "视频巡逻",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/videoPatrol/patrolPlan",
+ // component: () =>
+ // import("@/views/backOfficeSystem/videoPatrol/patrolPlan/index"),
+ // name: "patrolPlan",
+ // meta: {
+ // title: "巡逻方案",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/rxgzy",
+ // name: "rxgzy",
+ // component: () =>
+ // import("@/views/backOfficeSystem/basicsmanage/rxgzy/index"),
+ // meta: {
+ // title: "感知源管理",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/performanceMenu",
+ // name: "performanceMenu",
+ // meta: {
+ // title: "质量监督",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/performanceMenu/assessment",
+ // name: "assessment",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/performanceMenu/assessment/index"
+ // ),
+ // meta: {
+ // title: "配置考核部门",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/performanceMenu/achievements",
+ // name: "achievements",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/performanceMenu/achievements/index"
+ // ),
+ // meta: {
+ // title: "质量监督",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/performanceMenu/jxbg",
+ // name: "jxbg",
+ // component: () =>
+ // import("@/views/backOfficeSystem/performanceMenu/jxbg/index"),
+ // meta: {
+ // title: "工作报告",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/performanceMenu/model",
+ // component: () =>
+ // import("@/views/backOfficeSystem/performanceMenu/model/index"),
+ // name: "model",
+ // meta: {
+ // title: "考核模型",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/patrolResults",
+ // name: "patrolResults",
+ // meta: {
+ // title: "巡防战果",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/patrolResults/mediumPersonnelRatioLog",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolResults/mediumPersonnelRatioLog/index"
+ // ),
+ // name: "mediumPersonnelRatioLog",
+ // meta: {
+ // title: "人员战果",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResults/mediumVehicleRatio",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolResults/mediumVehicleRatio/index"
+ // ),
+ // name: "mediumVehicleRatio",
+ // meta: {
+ // title: "车辆战果",
+ // icon: "article-ranking"
+ // }
+ // }
+ // // {
+ // // path: "/patrolResults/ItemVehicleRatio",
+ // // component: () => import("@/views/backOfficeSystem/patrolResults/ItemVehicleRatio/index"),
+ // // name: "ItemVehicleRatio",
+ // // meta: {
+ // // title: '物品战果',
+ // // icon: "article-ranking"
+ // // }
+ // // },
+ // ]
+ // },
+ // {
+ // path: "/patrolStatistics",
+ // name: "patrolStatistics",
+ // meta: {
+ // title: "巡防统计",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/patrolStatistics/securitySituation",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/securitySituation/index"
+ // ),
+ // name: "securitySituation",
+ // meta: {
+ // title: "安全态势统计",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolStatistics/interfaceAlarm",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/interfaceAlarm/index"
+ // ),
+ // name: "interfaceAlarm",
+ // meta: {
+ // title: "街面警情统计",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolStatistics/patrolResources",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
+ // ),
+ // name: "patrolResources",
+ // meta: {
+ // title: "巡防资源统计",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/patrolResources/perceptualSource",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
+ // ),
+ // name: "perceptualSource",
+ // meta: {
+ // title: "感知源",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/patrolForce",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/patrolForce/index"
+ // ),
+ // name: "patrolForce",
+ // meta: {
+ // title: "巡防力量",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/mobileEquipment",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/mobileEquipment/index"
+ // ),
+ // name: "mobileEquipment",
+ // meta: {
+ // title: "移动装备",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/streetPoliceStation",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/streetPoliceStation/index"
+ // ),
+ // name: "streetPoliceStation",
+ // meta: {
+ // title: "街面警务站",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/patrolResources/perceptualSource",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
+ // ),
+ // name: "perceptualSource",
+ // meta: {
+ // title: "感知源"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/patrolForce",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/patrolForce/index"
+ // ),
+ // name: "patrolForce",
+ // meta: {
+ // title: "巡防力量"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/mobileEquipment",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/mobileEquipment/index"
+ // ),
+ // name: "mobileEquipment",
+ // meta: {
+ // title: "移动装备"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/streetPoliceStation",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/streetPoliceStation/index"
+ // ),
+ // name: "streetPoliceStation",
+ // meta: {
+ // title: "街面警务站"
+ // }
+ // },
+ // {
+ // path: "/patrolStatistics/patrolResultsTj",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index"
+ // ),
+ // name: "patrolResultsTj",
+ // meta: {
+ // title: "巡防战果统计",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/patrolResultsTj/manVehicleInventoryAnalysis",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index"
+ // ),
+ // name: "manVehicleInventoryAnalysis",
+ // meta: {
+ // title: "盘查统计分析",
+ // icon: "article-ranking"
+ // }
+ // },
+ // // {
+ // // path: "/patrolResultsTj/car",
+ // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryCharacteristicStatistics/index"),
+ // // name: "inventoryCharacteristicStatistics",
+ // // meta: {
+ // // title: '盘查车辆分析',
+ // // icon: "article-ranking"
+ // // },
+ // // },
+ // // {
+ // // path: "/patrolResultsTj/humanAndVehicleAchievements",
+ // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/humanAndVehicleAchievements/index"),
+ // // name: "humanAndVehicleAchievements",
+ // // meta: {
+ // // title: '盘查物品分析',
+ // // icon: "article-ranking"
+ // // },
+ // // },
+ // {
+ // path: "/patrolResultsTj/inventoryStatisticsOfArticles",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryStatisticsOfArticles/index"
+ // ),
+ // name: "inventoryStatisticsOfArticles",
+ // meta: {
+ // title: "处置警情分析",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResultsTj/manVehicleInventoryStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryStatistics/index"
+ // ),
+ // name: "manVehicleInventoryStatistics",
+ // meta: {
+ // title: "事件分析",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/patrolStatistics/patrolWork",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index"
+ // ),
+ // name: "patrolWork",
+ // meta: {
+ // title: "巡防工作统计",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/patrolWork/deptStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index"
+ // ),
+ // name: "deptStatistics",
+ // meta: {
+ // title: "部门统计",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolWork/patrolAreaStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolAreaStatistics/index"
+ // ),
+ // name: "patrolAreaStatistics",
+ // meta: {
+ // title: "巡区统计",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolWork/patrolGroupStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolGroupStatistics/index"
+ // ),
+ // name: "patrolGroupStatistics",
+ // meta: {
+ // title: "巡组统计",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolWork/personalStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/personalStatistics/index"
+ // ),
+ // name: "personalStatistics",
+ // meta: {
+ // title: "个人统计",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/patrolWork/deptStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index"
+ // ),
+ // name: "deptStatistics",
+ // meta: {
+ // title: "部门统计"
+ // }
+ // },
+ // {
+ // path: "/patrolWork/patrolAreaStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolAreaStatistics/index"
+ // ),
+ // name: "patrolAreaStatistics",
+ // meta: {
+ // title: "巡区统计"
+ // }
+ // },
+ // {
+ // path: "/patrolWork/patrolGroupStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolGroupStatistics/index"
+ // ),
+ // name: "patrolGroupStatistics",
+ // meta: {
+ // title: "巡组统计"
+ // }
+ // },
+ // {
+ // path: "/patrolWork/personalStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolWork/personalStatistics/index"
+ // ),
+ // name: "personalStatistics",
+ // meta: {
+ // title: "个人统计"
+ // }
+ // },
+ // {
+ // path: "/interfaceFocus/keyPersonnel",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/interfaceFocus/keyPersonnel/index"
+ // ),
+ // name: "keyPersonnel",
+ // meta: {
+ // title: "重点人员统计"
+ // }
+ // },
+ // {
+ // path: "/interfaceFocus/importantPlaces",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/interfaceFocus/importantPlaces/index"
+ // ),
+ // name: "importantPlaces",
+ // meta: {
+ // title: "重要场所统计"
+ // }
+ // },
+ // {
+ // path: "/patrolResultsTj/manVehicleInventoryAnalysis",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index"
+ // ),
+ // name: "manVehicleInventoryAnalysis",
+ // meta: {
+ // title: "盘查统计分析"
+ // }
+ // },
+ // // {
+ // // path: "/patrolResultsTj/car",
+ // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryCharacteristicStatistics/index"),
+ // // name: "inventoryCharacteristicStatistics",
+ // // meta: {
+ // // title: '盘查车辆分析'
+ // // },
+ // // },
+ // // {
+ // // path: "/patrolResultsTj/humanAndVehicleAchievements",
+ // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/humanAndVehicleAchievements/index"),
+ // // name: "humanAndVehicleAchievements",
+ // // meta: {
+ // // title: '盘查物品分析'
+ // // },
+ // // },
+ // {
+ // path: "/patrolResultsTj/inventoryStatisticsOfArticles",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryStatisticsOfArticles/index"
+ // ),
+ // name: "inventoryStatisticsOfArticles",
+ // meta: {
+ // title: "处置警情分析"
+ // }
+ // },
+ // {
+ // path: "/patrolResultsTj/manVehicleInventoryStatistics",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryStatistics/index"
+ // ),
+ // name: "manVehicleInventoryStatistics",
+ // meta: {
+ // title: "事件分析"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/contingencyPlan",
+ // name: "contingencyPlan",
+ // meta: {
+ // title: "预案管理",
+ // icon: "personnel"
+ // },
+ // children: [
+ // {
+ // path: "/PlanManagement",
+ // name: "BasicConfiguration",
+ // meta: {
+ // title: "基础配置",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/PlanManagement",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/contingencyPlan/PlanManagement/index"
+ // ),
+ // name: "PlanManagement",
+ // meta: {
+ // title: "预案等级管理",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/TypeManagement",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/contingencyPlan/TypeManagement/index"
+ // ),
+ // name: "TypeManagement",
+ // meta: {
+ // title: "预案类型管理",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // },
+ // {
+ // path: "/YaManagement",
+ // name: "Contingency",
+ // meta: {
+ // title: "预案管理",
+ // icon: "article-ranking"
+ // },
+ // children: [
+ // {
+ // path: "/YaManagement",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/contingencyPlan/YaManagement/index"
+ // ),
+ // name: "YaManagement",
+ // meta: {
+ // title: "预案管理(市局)",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/perceptualSource",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
+ // ),
+ // name: "perceptualSource",
+ // meta: {
+ // title: "预案执行(作战力量)",
+ // icon: "article-ranking"
+ // }
+ // },
+ // {
+ // path: "/patrolResources/perceptualSource",
+ // component: () =>
+ // import(
+ // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index"
+ // ),
+ // name: "perceptualSource",
+ // meta: {
+ // title: "预案执行(市局)",
+ // icon: "article-ranking"
+ // }
+ // }
+ // ]
+ // }
+ // ]
+ // }
+ // ]
+ // }
];
const router = createRouter({
diff --git a/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue b/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue
index 44b5297..b42ac10 100644
--- a/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue
+++ b/src/views/Training/SecurityTrainingSyllabus/components/detailForm.vue
@@ -49,7 +49,7 @@ const formList = reactive([
{ label: "学时安排", prop: "gksc", type: "input" },
],
[
- { label: "上传附件", prop: "fj", type: "upload" },
+ { label: "上传附件", prop: "fj", type: "upload", isAll: true, showBtn: true, isImg: false },
],
])
@@ -63,8 +63,8 @@ const init = (type, id,) => {
};
function getDateById (id) {
- qcckPost({},`/bagl/mosty-base/baxx/jxda/getInfo/${id}`).then((res) => {
- res.fj = res.fj ? res.fj.split(','):[]
+ qcckPost({},`/mosty-base/baxx/jxda/getInfo/${id}`).then((res) => {
+ res.fj = res.fj ? JSON.parse(res.fj):[]
listQuery.value = res || {};
})
}
@@ -74,7 +74,11 @@ const save = () => {
loading.value = true;
let url = title.value == '新增' ? `/bagl/mosty-base/baxx/jxda/add` : `/bagl/mosty-base/baxx/jxda/edit`;
let params = { ...val }
- params.fj = params.fj ? params.fj.join(','):''
+ params.fj = params.fj ? JSON.stringify(params.fj):''
+
+ console.log(params, val);
+
+ return
qcckPost(params, url).then(() => {
loading.value = false;
proxy.$message.success("保存成功");
@@ -87,7 +91,7 @@ const save = () => {
}
const close = () => {
dialogForm.value = false;
- listQuery.value = {fj:[]}
+ listQuery.value.fj = []
FormRef.value.reset()
};;
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 24c8dfb..63aa2d4 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -142,6 +142,8 @@ const handleLogin = () => {
// 登录后操作;
if (res.deptList.length === 1) {
router.push("/");
+ console.log("xxxxxxx");
+
// window.location.href = "/";
} else {
deptList.value = [...res.deptList];
diff --git a/src/views/securityManagement/examManagement/components/viewAndUploadDialog.vue b/src/views/securityManagement/trainingManagement/examManagement/components/viewAndUploadDialog.vue
similarity index 100%
rename from src/views/securityManagement/examManagement/components/viewAndUploadDialog.vue
rename to src/views/securityManagement/trainingManagement/examManagement/components/viewAndUploadDialog.vue
diff --git a/src/views/securityManagement/examManagement/components/viewExamDetalis.vue b/src/views/securityManagement/trainingManagement/examManagement/components/viewExamDetalis.vue
similarity index 100%
rename from src/views/securityManagement/examManagement/components/viewExamDetalis.vue
rename to src/views/securityManagement/trainingManagement/examManagement/components/viewExamDetalis.vue
diff --git a/src/views/securityManagement/examManagement/index.vue b/src/views/securityManagement/trainingManagement/examManagement/index.vue
similarity index 100%
rename from src/views/securityManagement/examManagement/index.vue
rename to src/views/securityManagement/trainingManagement/examManagement/index.vue
diff --git a/src/views/securityManagement/trainingManagement/trainingProject/components/addPxxm.vue b/src/views/securityManagement/trainingManagement/trainingProject/components/addPxxm.vue
index da5d695..0f75e80 100644
--- a/src/views/securityManagement/trainingManagement/trainingProject/components/addPxxm.vue
+++ b/src/views/securityManagement/trainingManagement/trainingProject/components/addPxxm.vue
@@ -57,11 +57,10 @@
-
-
+
+
+
+
@@ -102,6 +101,7 @@ import SelectPersonnelDialog from "./selectPersonnelDialog.vue";
const { proxy } = getCurrentInstance()
const visible = ref(false)
const showDialog = ref(false)
+const cyryList = ref([])
const formData = ref({
pxkcList: [{
pxkcxm: '', //课程名称
@@ -173,6 +173,7 @@ const delItem = (item,index) => {
}
const init = () => {
+ getCyryList()
showDialog.value = true
}
@@ -197,6 +198,18 @@ const handleChange = (val) => {
pageData.tableData = [...pageData.tableData, ...val]?.filter((i, index, arr) => arr?.findIndex(s => i?.id === s?.id) === index)
}
+// 获取授课教员
+const getCyryList = async () => {
+ const res = await qcckPost({
+ pxgsid: "",
+ gw: '04'
+ }, `/mosty-base//baxx/cyry/list`)
+
+ if (res) {
+ cyryList.value = res
+ }
+}
+
const save = () => {
if (pageData.tableData.length === 0) return proxy.$message.warning('请选择培训保安人员')
const ryidList = pageData.tableData?.map(i => i?.id)
diff --git a/src/views/securityManagement/unitInformation/components/viewDetailsDialog.vue b/src/views/securityManagement/unitManagement/unitInformation/components/viewDetailsDialog.vue
similarity index 98%
rename from src/views/securityManagement/unitInformation/components/viewDetailsDialog.vue
rename to src/views/securityManagement/unitManagement/unitInformation/components/viewDetailsDialog.vue
index 6ec4e33..ccd39a9 100644
--- a/src/views/securityManagement/unitInformation/components/viewDetailsDialog.vue
+++ b/src/views/securityManagement/unitManagement/unitInformation/components/viewDetailsDialog.vue
@@ -11,7 +11,7 @@
{{ formData.dwmc }}
{{ formData.xydm }}
-
+
diff --git a/src/views/securityManagement/unitInformation/index.vue b/src/views/securityManagement/unitManagement/unitInformation/index.vue
similarity index 100%
rename from src/views/securityManagement/unitInformation/index.vue
rename to src/views/securityManagement/unitManagement/unitInformation/index.vue