From 60f61da97dd643d3f808fba14cf7d136a8b5f11b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 05 Nov 2021 17:27:21 +0800
Subject: [PATCH] +许可审批修改

---
 src/router/views/index.js                          | 1952 +++++++++++++++++++++++++-------------------------
 src/api/licenseApproval/permit.js                  |   12 
 src/views/licenseApproval/cancellationOfFiling.vue |   42 
 src/views/licenseApproval/securityTraining.vue     |   40 
 src/views/resource/attachOnce.vue                  |    2 
 src/api/licenseApproval/recordk.js                 |   12 
 src/views/licenseApproval/column.js                |   47 
 src/views/licenseApproval/securityGuard.vue        |   23 
 src/views/licenseApproval/securityPermit.vue       |   41 
 src/api/licenseApproval/revoke.js                  |   13 
 src/api/licenseApproval/record.js                  |   12 
 src/views/licenseApproval/crossRegion.vue          |   40 
 src/views/licenseApproval/branchOffice.vue         |   42 
 13 files changed, 1,255 insertions(+), 1,023 deletions(-)

diff --git a/src/api/licenseApproval/permit.js b/src/api/licenseApproval/permit.js
index bca351f..7c821f6 100644
--- a/src/api/licenseApproval/permit.js
+++ b/src/api/licenseApproval/permit.js
@@ -2,6 +2,18 @@
 
 export const getList = (current, size, params) => {
   return request({
+    url: '/api/permit/page',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getListold = (current, size, params) => {
+  return request({
     url: '/api/permit/list',
     method: 'get',
     params: {
diff --git a/src/api/licenseApproval/record.js b/src/api/licenseApproval/record.js
index 0bc371e..4cbf513 100644
--- a/src/api/licenseApproval/record.js
+++ b/src/api/licenseApproval/record.js
@@ -2,6 +2,18 @@
 
 export const getList = (current, size, params) => {
   return request({
+    url: '/api/record/page',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getListold = (current, size, params) => {
+  return request({
     url: '/api/record/list',
     method: 'get',
     params: {
diff --git a/src/api/licenseApproval/recordk.js b/src/api/licenseApproval/recordk.js
index e7fe5c0..ce2a69a 100644
--- a/src/api/licenseApproval/recordk.js
+++ b/src/api/licenseApproval/recordk.js
@@ -2,6 +2,18 @@
 
 export const getList = (current, size, params) => {
   return request({
+    url: '/api/recordk/page',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getListold = (current, size, params) => {
+  return request({
     url: '/api/recordk/list',
     method: 'get',
     params: {
diff --git a/src/api/licenseApproval/revoke.js b/src/api/licenseApproval/revoke.js
index a268a64..e2381e4 100644
--- a/src/api/licenseApproval/revoke.js
+++ b/src/api/licenseApproval/revoke.js
@@ -2,6 +2,19 @@
 
 export const getList = (current, size, params) => {
   return request({
+    url: '/api/revoke/page',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+
+export const getListold = (current, size, params) => {
+  return request({
     url: '/api/revoke/list',
     method: 'get',
     params: {
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 416d68a..a7cc1b2 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -1,986 +1,986 @@
 import Layout from '@/page/index/'
 
 export default [{
-        path: '/wel',
-        component: Layout,
-        redirect: '/wel/index',
-        children: [{
-            path: 'index',
-            name: '首页',
-            meta: {
-                i18n: 'dashboard'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/wel/index')
-        }, {
-            path: 'dashboard',
-            name: '控制台',
-            meta: {
-                i18n: 'dashboard',
-                menu: false,
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
-        }]
-    }, {
-        path: '/test',
-        component: Layout,
-        redirect: '/test/index',
-        children: [{
-            path: 'index',
-            name: '测试页',
-            meta: {
-                i18n: 'test'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/util/test')
-        }]
-    }, {
-        path: '/dict-horizontal',
-        component: Layout,
-        redirect: '/dict-horizontal/index',
-        children: [{
-            path: 'index',
-            name: '字典管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
-        }]
-    }, {
-        path: '/dict-vertical',
-        component: Layout,
-        redirect: '/dict-vertical/index',
-        children: [{
-            path: 'index',
-            name: '字典管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
-        }]
-    }, {
-        path: '/info',
-        component: Layout,
-        redirect: '/info/index',
-        children: [{
-            path: 'index',
-            name: '个人信息',
-            meta: {
-                i18n: 'info'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/system/userinfo')
-        }]
-    }, {
-        path: '/work/process/leave',
-        component: Layout,
-        redirect: '/work/process/leave/form',
-        children: [{
-            path: 'form/:processDefinitionId',
-            name: '请假流程',
-            meta: {
-                i18n: 'work'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
-        }, {
-            path: 'handle/:taskId/:processInstanceId/:businessId',
-            name: '处理请假流程',
-            meta: {
-                i18n: 'work'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
-        }, {
-            path: 'detail/:processInstanceId/:businessId',
-            name: '请假流程详情',
-            meta: {
-                i18n: 'work'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
-        }]
-    }, {
-        path: '/securityAnalysis',
-        component: Layout,
-        redirect: '/securityAnalysis/index',
-        children: [{
-            path: 'index',
-            name: '保安单位情况智能分析',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
-        }]
-    }, {
-        path: '/recruitmentManagement',
-        component: Layout,
-        redirect: '/recruitmentManagement/index',
-        children: [{
-            path: 'index',
-            name: '招聘管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
-        }]
-    }, {
-        path: '/securityUnit',
-        component: Layout,
-        redirect: '/securityUnit/index',
-        children: [{
-            path: 'index',
-            name: '保安单位信息',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
-        }]
-    }, {
-        path: '/securityGuard',
-        component: Layout,
-        redirect: '/securityGuard/securityGuard',
-        children: [{
-            path: 'index',
-            name: '保安员管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
-        }]
-    }, {
-        path: '/securityGuardOnce',
-        component: Layout,
-        redirect: '/securityGuard/securityGuardOnce',
-        children: [{
-            path: 'index',
-            name: '保安员查询',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardOnce')
-        }]
-    }, {
-        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',
-        component: Layout,
-        redirect: '/securityGuard/securityGuard',
-        children: [{
-            path: 'index',
-            name: '保安员管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
-        }]
-    },
-    // {
-    //     path: '/dispatch/dispatch',
-    //     component: Layout,
-    //     redirect: '/dispatch/dispatch',
-    //     children: [{
-    //         path: 'index',
-    //         name: '派遣服务管理',
-    //         meta: {
-    //             i18n: 'dict'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
-    //     }]
-    // },
-    {
-        path: '/desk',
-        component: Layout,
-        redirect: '/desk/notice',
-        children: [{
-            path: 'index',
-            name: '通知公告',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/desk/notice')
-        }]
-    },
-    {
-        path: '/talk',
-        component: Layout,
-        redirect: '/talk/talk',
-        children: [{
-            path: 'index',
-            name: '心理咨询',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/talk/talk')
-        }]
-    },
-    {
-        path: '/workreport',
-        component: Layout,
-        redirect: '/workreport/workreport',
-        children: [{
-            path: 'workreport',
-            name: '发起的汇报',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/workreport/workreport')
-        }]
-    },
-    {
-        path: '/workreport',
-        component: Layout,
-        redirect: '/workreport/workreply',
-        children: [{
-            path: 'workreply',
-            name: '接收的汇报',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/workreport/workreply')
-        }]
-    }, {
-        path: '/resource',
-        component: Layout,
-        redirect: '/resource/attachCopy',
-        children: [{
-            path: 'attachCopy',
-            name: '保安单位附件上传',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/resource/attachCopy')
-        }]
-    },
-    // {
-    //     path: '/dispatch',
-    //     component: Layout,
-    //     redirect: '/dispatch/dispatch',
-    //     children: [{
-    //         path: 'dispatch',
-    //         name: '派遣单位管理',
-    //         meta: {
-    //             i18n: 'dispatch'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
-    //     }, {
-    //         path: 'dispatchChildoperable',
-    //         name: '派遣记录管理',
-    //         meta: {
-    //             i18n: 'dispatch'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
-    //     }]
-    // },
-    // {
-    //     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: '/securityEquipment',
-    //     component: Layout,
-    //     redirect: '/securityEquipment',
-    //     children: [{
-    //         path: 'equipments',
-    //         name: '装备管理',
-    //         meta: {
-    //             i18n: 'securityEquipment'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
-    //     }, {
-    //         path: 'car',
-    //         name: '车辆管理',
-    //         meta: {
-    //             i18n: 'car'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
-    //     }, {
-    //         path: 'gun',
-    //         name: '车辆管理',
-    //         meta: {
-    //             i18n: 'gun'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
-    //     }]
-    // },
-    // {
-    //     path: '/trainingRegistration',
-    //     component: Layout,
-    //     redirect: '/trainingRegistration/index',
-    //     children: [{
-    //         path: 'index',
-    //         name: '保安培训报名管理',
-    //         meta: {
-    //             i18n: 'dict'
-    //         },
-    //         component: () =>
-    //             import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
-    //     }]
-    // },
-    {
-        path: '/securityAnalysis',
-        component: Layout,
-        redirect: '/securityAnalysis/index',
-        children: [{
-            path: 'index',
-            name: '保安单位情况智能分析',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
-        }]
-    }, {
-        path: '/recruitmentManagement',
-        component: Layout,
-        redirect: '/recruitmentManagement/index',
-        children: [{
-            path: 'index',
-            name: '招聘管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
-        }]
-    }, {
-        path: '/ownerFeedback',
-        component: Layout,
-        redirect: '/ownerFeedback/index',
-        children: [{
-            path: 'index',
-            name: '业主反馈',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/ownerFeedback/owner')
-        }]
-    }, {
-        path: '/securityUnit',
-        component: Layout,
-        redirect: '/securityUnit/index',
-        children: [{
-            path: 'index',
-            name: '保安单位信息',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
-        }]
-    }, {
-        path: '/securityGuard',
-        component: Layout,
-        redirect: '/securityGuard/securityGuard',
-        children: [{
-            path: 'index',
-            name: '保安员查询',
-            meta: {
-                i18n: 'dict'
-            },
-            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',
-        component: Layout,
-        redirect: '/securityGuard/securityGuard',
-        children: [{
-            path: 'index',
-            name: '保安员管理',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
-        }]
-    },
-    // {
-    //     path: '/dispatch/dispatch',
-    //     component: Layout,
-    //     redirect: '/dispatch/dispatch',
-    //     children: [{
-    //         path: 'index',
-    //         name: '派遣服务管理',
-    //         meta: {
-    //             i18n: 'dict'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
-    //     }]
-    // },
-    {
-        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/dispatch',
-        children: [{
-            path: 'dispatch',
-            name: '派遣单位管理',
-            meta: {
-                i18n: 'dispatch'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
-        }, {
-            path: 'dispatchChildoperable',
-            name: '派遣记录管理',
-            meta: {
-                i18n: 'dispatch'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
-        }]
-    }, {
-        path: '/dispatchChild',
-        component: Layout,
-        redirect: '/dispatchChild/index',
-        children: [{
-            path: 'index',
-            name: '派遣服务记录',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
-        }]
-    }, {
-        path: '/applyexam',
-        redirect: '/applyexam/papers',
-        component: Layout,
-        children: [{
-            path: 'papers',
-            name: '准考证信息',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/applyexam/papers')
-        }]
-    },
-    // {
-    //     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: '/securityEquipment',
-    //     component: Layout,
-    //     redirect: '/securityEquipment',
-    //     children: [{
-    //         path: 'equipments',
-    //         name: '装备管理',
-    //         meta: {
-    //             i18n: 'securityEquipment'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
-    //     }, {
-    //         path: 'car',
-    //         name: '车辆管理',
-    //         meta: {
-    //             i18n: 'car'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
-    //     }, {
-    //         path: 'gun',
-    //         name: '车辆管理',
-    //         meta: {
-    //             i18n: 'gun'
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
-    //     }]
-    // },
-    {
-        path: '/trainingRegistration',
-        component: Layout,
-        peixun: true,
-        redirect: '/trainingRegistration/index',
-        children: [{
-            path: 'index',
-            name: '培训报名列表',
-            meta: {
-                i18n: 'dict'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
-        }]
-    },
-    // {
-    //     path: '/trainExam',
-    //     component: Layout,
-    //     redirect: '/trainExam/index',
-    //     children: [{
-    //         path: 'index',
-    //         name: '考试申请',
-    //         meta: {
-    //             i18n: 'dict'
-    //         },
-    //         component: () =>
-    //             import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
-    //     }]
-    // },
-    // {
-    //     path: '/applyexam',
-    //     redirect: '/applyexam/index',
-    //     component: Layout,
-    //     children: [{
-    //         path: 'index',
-    //         name: '报名考试',
-    //         meta: {
-    //             i18n: 'index',
-    //         },
-    //         component: () =>
-    //             import( /* webpackChunkName: "views" */ '@/views/applyexam/index')
-    //     }]
-    // },
-    {
-        path: '/applydetailed',
-        redirect: '/applydetailed/index',
-        component: Layout,
-        children: [{
-            path: 'index',
-            name: '报名清册',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/applydetailed/index')
-        }]
-    },
-    {
-        path: '/trainApply',
-        redirect: '/trainApply/index',
-        component: Layout,
-        children: [{
-            path: 'index',
-            name: '报名清册',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/trainApply/index')
-        }]
-    },
-    {
-        path: '/startexam',
-        redirect: '/startexam/index',
-        component: Layout,
-        children: [{
-            path: 'index',
-            name: '开始考试',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/startexam/index')
-        }]
-    },
-    {
-        path: '/titleDetails',
+    path: '/wel',
+    component: Layout,
+    redirect: '/wel/index',
+    children: [{
+        path: 'index',
+        name: '首页',
+        meta: {
+            i18n: 'dashboard'
+        },
         component: () =>
-            import ( /* webpackChunkName: "views" */ '@/views/exam/topicDetails')
-    },
-    {
-        path: '',
-        component: Layout,
-        children: [{
-            path: '/exam/subjects/:id',
-            component: () =>
-                import ('@/views/exam/examSubjects'),
-            name: '题目管理',
-            title: '题目管理',
-            noCache: true
-        }]
-    },
-    {
-        path: '',
-        component: Layout,
-        children: [{
-            path: '/startexam/:id',
-            component: () =>
-                import ('@/views/startexam/index'),
-            name: '开始考试',
-            title: '开始考试',
-            noCache: true
-        }]
-    },
-    // {
-    //     path: '/traincompany',
-    //     component: Layout,
-    //     redirect: '/traincompany/index',
-    //     children: [{
-    //         path: 'index',
-    //         name: '培训公司查询',
-    //         meta: {
-    //             i18n: 'dict'
-    //         },
-    //         component: () =>
-    //             import ( /* webpackChunkName: "views" */ '@/views/traincompany/index')
-    //     }]
-    // },
-    {
-        path: '/dispatchChildoperableSee',
-        component: Layout,
-        redirect: '/dispatchChildoperableSee/index',
-        children: [{
-            path: 'index',
-            name: '派遣记录',
-            meta: {
-                i18n: 'index'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperableSee')
-        }]
-    },
-    {
-        path: '/expression',
-        component: Layout,
-        redirect: '/expression/index',
-        children: [{
-            path: 'index',
-            name: '表现记录',
-            meta: {
-                i18n: 'index'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/people/expression')
-        }]
+            import( /* webpackChunkName: "views" */ '@/views/wel/index')
     }, {
-        path: '/job',
-        component: Layout,
-        redirect: '/job/index',
-        children: [{
-            path: 'index',
-            name: '从业记录',
-            meta: {
-                i18n: 'index'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/people/job')
-        }]
+        path: 'dashboard',
+        name: '控制台',
+        meta: {
+            i18n: 'dashboard',
+            menu: false,
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
+    }]
+}, {
+    path: '/test',
+    component: Layout,
+    redirect: '/test/index',
+    children: [{
+        path: 'index',
+        name: '测试页',
+        meta: {
+            i18n: 'test'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/util/test')
+    }]
+}, {
+    path: '/dict-horizontal',
+    component: Layout,
+    redirect: '/dict-horizontal/index',
+    children: [{
+        path: 'index',
+        name: '字典管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
+    }]
+}, {
+    path: '/dict-vertical',
+    component: Layout,
+    redirect: '/dict-vertical/index',
+    children: [{
+        path: 'index',
+        name: '字典管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
+    }]
+}, {
+    path: '/info',
+    component: Layout,
+    redirect: '/info/index',
+    children: [{
+        path: 'index',
+        name: '个人信息',
+        meta: {
+            i18n: 'info'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
+    }]
+}, {
+    path: '/work/process/leave',
+    component: Layout,
+    redirect: '/work/process/leave/form',
+    children: [{
+        path: 'form/:processDefinitionId',
+        name: '请假流程',
+        meta: {
+            i18n: 'work'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
     }, {
-        path: '/resource',
-        redirect: '/resource/uploadNotice',
-        component: Layout,
-        children: [{
-            path: 'uploadNotice',
-            name: '通知公告>附件上传',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/resource/uploadNotice')
-        }]
-    },
-    {
-        path: '/applydetailed',
-        redirect: '/applydetailed/papers',
-        component: Layout,
-        children: [{
-            path: 'papers',
-            name: '报名清册信息',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/applydetailed/papers')
-        }]
-    },
-    {
-        path: '/exam',
-        redirect: '/exam/papers',
-        component: Layout,
-        children: [{
-            path: 'papers',
-            name: '保安证',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/exam/papers')
-        }]
+        path: 'handle/:taskId/:processInstanceId/:businessId',
+        name: '处理请假流程',
+        meta: {
+            i18n: 'work'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
     }, {
-        path: '/resource',
-        redirect: '/resource/uploadPolicyRelease',
-        component: Layout,
-        children: [{
-            path: 'uploadPolicyRelease',
-            name: '政策发布>附件上传',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/resource/uploadPolicyRelease')
-        }]
+        path: 'detail/:processInstanceId/:businessId',
+        name: '请假流程详情',
+        meta: {
+            i18n: 'work'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
+    }]
+}, {
+    path: '/securityAnalysis',
+    component: Layout,
+    redirect: '/securityAnalysis/index',
+    children: [{
+        path: 'index',
+        name: '保安单位情况智能分析',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
+    }]
+}, {
+    path: '/recruitmentManagement',
+    component: Layout,
+    redirect: '/recruitmentManagement/index',
+    children: [{
+        path: 'index',
+        name: '招聘管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
+    }]
+}, {
+    path: '/securityUnit',
+    component: Layout,
+    redirect: '/securityUnit/index',
+    children: [{
+        path: 'index',
+        name: '保安单位信息',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
+    }]
+}, {
+    path: '/securityGuard',
+    component: Layout,
+    redirect: '/securityGuard/securityGuard',
+    children: [{
+        path: 'index',
+        name: '保安员管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+    }]
+}, {
+    path: '/securityGuardOnce',
+    component: Layout,
+    redirect: '/securityGuard/securityGuardOnce',
+    children: [{
+        path: 'index',
+        name: '保安员查询',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuardOnce')
+    }]
+}, {
+    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',
+    component: Layout,
+    redirect: '/securityGuard/securityGuard',
+    children: [{
+        path: 'index',
+        name: '保安员管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+    }]
+},
+// {
+//     path: '/dispatch/dispatch',
+//     component: Layout,
+//     redirect: '/dispatch/dispatch',
+//     children: [{
+//         path: 'index',
+//         name: '派遣服务管理',
+//         meta: {
+//             i18n: 'dict'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+//     }]
+// },
+{
+    path: '/desk',
+    component: Layout,
+    redirect: '/desk/notice',
+    children: [{
+        path: 'index',
+        name: '通知公告',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/desk/notice')
+    }]
+},
+{
+    path: '/talk',
+    component: Layout,
+    redirect: '/talk/talk',
+    children: [{
+        path: 'index',
+        name: '心理咨询',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/talk/talk')
+    }]
+},
+{
+    path: '/workreport',
+    component: Layout,
+    redirect: '/workreport/workreport',
+    children: [{
+        path: 'workreport',
+        name: '发起的汇报',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/workreport/workreport')
+    }]
+},
+{
+    path: '/workreport',
+    component: Layout,
+    redirect: '/workreport/workreply',
+    children: [{
+        path: 'workreply',
+        name: '接收的汇报',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/workreport/workreply')
+    }]
+}, {
+    path: '/resource',
+    component: Layout,
+    redirect: '/resource/attachCopy',
+    children: [{
+        path: 'attachCopy',
+        name: '保安单位附件上传',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/resource/attachCopy')
+    }]
+},
+// {
+//     path: '/dispatch',
+//     component: Layout,
+//     redirect: '/dispatch/dispatch',
+//     children: [{
+//         path: 'dispatch',
+//         name: '派遣单位管理',
+//         meta: {
+//             i18n: 'dispatch'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+//     }, {
+//         path: 'dispatchChildoperable',
+//         name: '派遣记录管理',
+//         meta: {
+//             i18n: 'dispatch'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
+//     }]
+// },
+// {
+//     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: '/securityEquipment',
+//     component: Layout,
+//     redirect: '/securityEquipment',
+//     children: [{
+//         path: 'equipments',
+//         name: '装备管理',
+//         meta: {
+//             i18n: 'securityEquipment'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
+//     }, {
+//         path: 'car',
+//         name: '车辆管理',
+//         meta: {
+//             i18n: 'car'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
+//     }, {
+//         path: 'gun',
+//         name: '车辆管理',
+//         meta: {
+//             i18n: 'gun'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
+//     }]
+// },
+// {
+//     path: '/trainingRegistration',
+//     component: Layout,
+//     redirect: '/trainingRegistration/index',
+//     children: [{
+//         path: 'index',
+//         name: '保安培训报名管理',
+//         meta: {
+//             i18n: 'dict'
+//         },
+//         component: () =>
+//             import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+//     }]
+// },
+{
+    path: '/securityAnalysis',
+    component: Layout,
+    redirect: '/securityAnalysis/index',
+    children: [{
+        path: 'index',
+        name: '保安单位情况智能分析',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
+    }]
+}, {
+    path: '/recruitmentManagement',
+    component: Layout,
+    redirect: '/recruitmentManagement/index',
+    children: [{
+        path: 'index',
+        name: '招聘管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
+    }]
+}, {
+    path: '/ownerFeedback',
+    component: Layout,
+    redirect: '/ownerFeedback/index',
+    children: [{
+        path: 'index',
+        name: '业主反馈',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/ownerFeedback/owner')
+    }]
+}, {
+    path: '/securityUnit',
+    component: Layout,
+    redirect: '/securityUnit/index',
+    children: [{
+        path: 'index',
+        name: '保安单位信息',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
+    }]
+}, {
+    path: '/securityGuard',
+    component: Layout,
+    redirect: '/securityGuard/securityGuard',
+    children: [{
+        path: 'index',
+        name: '保安员查询',
+        meta: {
+            i18n: 'dict'
+        },
+        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',
+    component: Layout,
+    redirect: '/securityGuard/securityGuard',
+    children: [{
+        path: 'index',
+        name: '保安员管理',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
+    }]
+},
+// {
+//     path: '/dispatch/dispatch',
+//     component: Layout,
+//     redirect: '/dispatch/dispatch',
+//     children: [{
+//         path: 'index',
+//         name: '派遣服务管理',
+//         meta: {
+//             i18n: 'dict'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
+//     }]
+// },
+{
+    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/dispatch',
+    children: [{
+        path: 'dispatch',
+        name: '派遣单位管理',
+        meta: {
+            i18n: 'dispatch'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatch')
     }, {
-        path: '/securityMan',
-        redirect: '/securityMan/index',
-        component: Layout,
-        children: [{
-            path: 'index',
-            name: '保安员信息',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/securityMan/index')
-        }]
+        path: 'dispatchChildoperable',
+        name: '派遣记录管理',
+        meta: {
+            i18n: 'dispatch'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperable')
+    }]
+}, {
+    path: '/dispatchChild',
+    component: Layout,
+    redirect: '/dispatchChild/index',
+    children: [{
+        path: 'index',
+        name: '派遣服务记录',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/dispatchChild/index')
+    }]
+}, {
+    path: '/applyexam',
+    redirect: '/applyexam/papers',
+    component: Layout,
+    children: [{
+        path: 'papers',
+        name: '准考证信息',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/applyexam/papers')
+    }]
+},
+// {
+//     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: '/securityEquipment',
+//     component: Layout,
+//     redirect: '/securityEquipment',
+//     children: [{
+//         path: 'equipments',
+//         name: '装备管理',
+//         meta: {
+//             i18n: 'securityEquipment'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/equipments')
+//     }, {
+//         path: 'car',
+//         name: '车辆管理',
+//         meta: {
+//             i18n: 'car'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/car')
+//     }, {
+//         path: 'gun',
+//         name: '车辆管理',
+//         meta: {
+//             i18n: 'gun'
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/securityEquipment/gun')
+//     }]
+// },
+{
+    path: '/trainingRegistration',
+    component: Layout,
+    peixun: true,
+    redirect: '/trainingRegistration/index',
+    children: [{
+        path: 'index',
+        name: '培训报名列表',
+        meta: {
+            i18n: 'dict'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index')
+    }]
+},
+// {
+//     path: '/trainExam',
+//     component: Layout,
+//     redirect: '/trainExam/index',
+//     children: [{
+//         path: 'index',
+//         name: '考试申请',
+//         meta: {
+//             i18n: 'dict'
+//         },
+//         component: () =>
+//             import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
+//     }]
+// },
+// {
+//     path: '/applyexam',
+//     redirect: '/applyexam/index',
+//     component: Layout,
+//     children: [{
+//         path: 'index',
+//         name: '报名考试',
+//         meta: {
+//             i18n: 'index',
+//         },
+//         component: () =>
+//             import( /* webpackChunkName: "views" */ '@/views/applyexam/index')
+//     }]
+// },
+{
+    path: '/applydetailed',
+    redirect: '/applydetailed/index',
+    component: Layout,
+    children: [{
+        path: 'index',
+        name: '报名清册',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/applydetailed/index')
+    }]
+},
+{
+    path: '/trainApply',
+    redirect: '/trainApply/index',
+    component: Layout,
+    children: [{
+        path: 'index',
+        name: '报名清册',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/trainApply/index')
+    }]
+},
+{
+    path: '/startexam',
+    redirect: '/startexam/index',
+    component: Layout,
+    children: [{
+        path: 'index',
+        name: '开始考试',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/startexam/index')
+    }]
+},
+{
+    path: '/titleDetails',
+    component: () =>
+        import( /* webpackChunkName: "views" */ '@/views/exam/topicDetails')
+},
+{
+    path: '',
+    component: Layout,
+    children: [{
+        path: '/exam/subjects/:id',
+        component: () =>
+            import('@/views/exam/examSubjects'),
+        name: '题目管理',
+        title: '题目管理',
+        noCache: true
+    }]
+},
+{
+    path: '',
+    component: Layout,
+    children: [{
+        path: '/startexam/:id',
+        component: () =>
+            import('@/views/startexam/index'),
+        name: '开始考试',
+        title: '开始考试',
+        noCache: true
+    }]
+},
+// {
+//     path: '/traincompany',
+//     component: Layout,
+//     redirect: '/traincompany/index',
+//     children: [{
+//         path: 'index',
+//         name: '培训公司查询',
+//         meta: {
+//             i18n: 'dict'
+//         },
+//         component: () =>
+//             import ( /* webpackChunkName: "views" */ '@/views/traincompany/index')
+//     }]
+// },
+{
+    path: '/dispatchChildoperableSee',
+    component: Layout,
+    redirect: '/dispatchChildoperableSee/index',
+    children: [{
+        path: 'index',
+        name: '派遣记录',
+        meta: {
+            i18n: 'index'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/dispatch/dispatchChildoperableSee')
+    }]
+},
+{
+    path: '/expression',
+    component: Layout,
+    redirect: '/expression/index',
+    children: [{
+        path: 'index',
+        name: '表现记录',
+        meta: {
+            i18n: 'index'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/people/expression')
+    }]
+}, {
+    path: '/job',
+    component: Layout,
+    redirect: '/job/index',
+    children: [{
+        path: 'index',
+        name: '从业记录',
+        meta: {
+            i18n: 'index'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/people/job')
+    }]
+}, {
+    path: '/resource',
+    redirect: '/resource/uploadNotice',
+    component: Layout,
+    children: [{
+        path: 'uploadNotice',
+        name: '通知公告>附件上传',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/resource/uploadNotice')
+    }]
+},
+{
+    path: '/applydetailed',
+    redirect: '/applydetailed/papers',
+    component: Layout,
+    children: [{
+        path: 'papers',
+        name: '报名清册信息',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/applydetailed/papers')
+    }]
+},
+{
+    path: '/exam',
+    redirect: '/exam/papers',
+    component: Layout,
+    children: [{
+        path: 'papers',
+        name: '保安证',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/exam/papers')
+    }]
+}, {
+    path: '/resource',
+    redirect: '/resource/uploadPolicyRelease',
+    component: Layout,
+    children: [{
+        path: 'uploadPolicyRelease',
+        name: '政策发布>附件上传',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/resource/uploadPolicyRelease')
+    }]
+}, {
+    path: '/securityMan',
+    redirect: '/securityMan/index',
+    component: Layout,
+    children: [{
+        path: 'index',
+        name: '保安员信息',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/securityMan/index')
+    }]
+}, {
+    path: '/attachOnce',
+    redirect: '/resource/attachOnce',
+    component: Layout,
+    children: [{
+        path: 'index',
+        name: '附件查阅',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/resource/attachOnce')
+    }]
+}, {
+    path: '/resource',
+    redirect: '/resource/uploadNotification',
+    component: Layout,
+    children: [{
+        path: 'uploadNotification',
+        name: '通知通报>附件上传',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/resource/uploadNotification')
+    }]
+}, {
+    path: '/trainExam',
+    component: Layout,
+    children: [{
+        path: 'check',
+        name: '培训考试审核',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/trainExam/index')
     }, {
-        path: '/attachOnce',
-        redirect: '/resource/attachOnce',
-        component: Layout,
-        children: [{
-            path: 'index',
-            name: '附件查看',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/resource/attachOnce')
-        }]
-    }, {
-        path: '/resource',
-        redirect: '/resource/uploadNotification',
-        component: Layout,
-        children: [{
-            path: 'uploadNotification',
-            name: '通知通报>附件上传',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/resource/uploadNotification')
-        }]
-    }, {
-        path: '/trainExam',
-        component: Layout,
-        children: [{
-            path: 'check',
-            name: '培训考试审核',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
-        }, {
-            path: 'query',
-            name: '培训申请查询',
-            meta: {
-                i18n: 'index',
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/trainExam/index')
-        }]
-    },
-    {
-        path: '/accreditationRecords',
-        component: Layout,
-        redirect: '/accreditationRecords/accreditationRecords',
-        children: [{
-            path: 'index',
-            name: '制证管理',
-            meta: {
-                i18n: 'index'
-            },
-            component: () =>
-                import ( /* webpackChunkName: "views" */ '@/views/accreditationRecords/accreditationRecords')
-        }]
-    }
+        path: 'query',
+        name: '培训申请查询',
+        meta: {
+            i18n: 'index',
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/trainExam/index')
+    }]
+},
+{
+    path: '/accreditationRecords',
+    component: Layout,
+    redirect: '/accreditationRecords/accreditationRecords',
+    children: [{
+        path: 'index',
+        name: '制证管理',
+        meta: {
+            i18n: 'index'
+        },
+        component: () =>
+            import( /* webpackChunkName: "views" */ '@/views/accreditationRecords/accreditationRecords')
+    }]
+}
 ]
\ No newline at end of file
diff --git a/src/views/licenseApproval/branchOffice.vue b/src/views/licenseApproval/branchOffice.vue
index 1d9f9e0..9b8f7a3 100644
--- a/src/views/licenseApproval/branchOffice.vue
+++ b/src/views/licenseApproval/branchOffice.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 17:00:55 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-22 11:24:11
+ * @Last Modified time: 2021-11-05 14:51:45
  */
 
 
@@ -48,13 +48,13 @@
             :type="type"
             class="zhengJian-icon"
             @click.stop="handleCredentials(row)"
-            >附件审查</el-button
+            >附件</el-button
           >
           <el-button
             icon="el-icon-edit"
             :size="size"
             :type="type"
-            v-if="row.type == '2'"
+            v-if="row.type == '2' && userData == '0'"
             @click.stop="rowDel(row)"
             >备案审批
           </el-button>
@@ -72,9 +72,12 @@
             {{
               row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审批"
             }}
-            <i class="gz" v-if="row.type == '0'"></i>
+            <i class="gz" v-if="row.type == '2'"></i>
+            <!--  黄色 -->
             <i class="yj" v-if="row.type == '1'"></i>
-            <i class="zc" v-if="row.type == '2'"></i>
+            <!--  红色 -->
+            <i class="zc" v-if="row.type == '0'"></i>
+            <!--  绿色 -->
           </el-tag>
         </template>
       </avue-crud>
@@ -213,6 +216,7 @@
         column: column,
       },
       data: [],
+      userData: "",
     };
   },
   computed: {
@@ -237,6 +241,29 @@
   //     console.log(this.userInfo.dept_id);
   // },
   methods: {
+    changeuserData() {
+      // console.log(this.userInfo, "userDatauserDatauserData");
+      if (this.userInfo.Id == "1123598821738675201") {
+        this.userData = "0";
+        return;
+      }
+      var gonganj = "";
+      if (this.userInfo.role_name == "公安管理员") {
+        let test = /派出所$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "2";
+        }
+        test = /分局|公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "1";
+        }
+        test = /市公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "0";
+        }
+      }
+      this.userData = gonganj;
+    },
     Print() {
       this.$Print(this.$refs.licence);
     },
@@ -389,8 +416,13 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      this.changeuserData();
       this.loading = true;
+      // console.log(this.userInfo);
       params["ptype"] = 2;
+      params["jurisdiction"] = this.userInfo.jurisdiction;
+      params["usetype"] = this.userData;
+
       getList(
         page.currentPage,
         page.pageSize,
diff --git a/src/views/licenseApproval/cancellationOfFiling.vue b/src/views/licenseApproval/cancellationOfFiling.vue
index a21caa1..5df956d 100644
--- a/src/views/licenseApproval/cancellationOfFiling.vue
+++ b/src/views/licenseApproval/cancellationOfFiling.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 17:00:04 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-22 11:23:44
+ * @Last Modified time: 2021-11-05 15:24:32
  */
 
 
@@ -48,14 +48,14 @@
             :type="type"
             class="zhengJian-icon"
             @click.stop="handleCredentials(row)"
-            >附件查阅
+            >附件
           </el-button>
           <el-button
             icon="el-icon-edit"
             :size="size"
             :type="type"
             @click.stop="rowDel(row)"
-            v-if="row.type == '2'"
+            v-if="row.type == '2' && userData == '0'"
             >撤销备案审批
           </el-button>
         </template>
@@ -64,9 +64,12 @@
             {{
               row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
             }}
-            <i class="gz" v-if="row.type == '0'"></i>
+            <i class="gz" v-if="row.type == '2'"></i>
+            <!--  黄色 -->
             <i class="yj" v-if="row.type == '1'"></i>
-            <i class="zc" v-if="row.type == '2'"></i>
+            <!--  红色 -->
+            <i class="zc" v-if="row.type == '0'"></i>
+            <!--  绿色 -->
           </el-tag>
         </template>
       </avue-crud>
@@ -152,6 +155,7 @@
         column: column,
       },
       data: [],
+      userData: "",
     };
   },
   computed: {
@@ -176,6 +180,29 @@
   //     console.log(this.userInfo.dept_id);
   // },
   methods: {
+    changeuserData() {
+      // console.log(this.userInfo, "userDatauserDatauserData");
+      if (this.userInfo.Id == "1123598821738675201") {
+        this.userData = "0";
+        return;
+      }
+      var gonganj = "";
+      if (this.userInfo.role_name == "公安管理员") {
+        let test = /派出所$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "2";
+        }
+        test = /分局|公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "1";
+        }
+        test = /市公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "0";
+        }
+      }
+      this.userData = gonganj;
+    },
     Print() {
       this.$Print(this.$refs.licence);
     },
@@ -185,7 +212,7 @@
         path: "/attachOnce/index",
         // redirect: { name: "foo" },
         // query: { row: row },
-        query: { deptid: row.cardid, type: "6" },
+        query: { deptid: row.cardid, type: "4" },
         // params: { row: row.identificationnumber },
       });
     },
@@ -316,8 +343,11 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      this.changeuserData();
       this.loading = true;
       params["ptype"] = 4;
+      params["jurisdiction"] = this.userInfo.jurisdiction;
+      params["usetype"] = this.userData;
       getList(
         page.currentPage,
         page.pageSize,
diff --git a/src/views/licenseApproval/column.js b/src/views/licenseApproval/column.js
index c5215dc..489cb62 100644
--- a/src/views/licenseApproval/column.js
+++ b/src/views/licenseApproval/column.js
@@ -176,18 +176,18 @@
     //     },
     //   ],
     // },
-    {
-        label: "登记机关",
-        prop: "registration",
-        overHidden: true,
-        rules: [
-            {
-                required: true,
-                message: "请输入登记机关",
-                trigger: "blur",
-            },
-        ],
-    },
+    // {
+    //     label: "登记机关",
+    //     prop: "registration",
+    //     overHidden: true,
+    //     rules: [
+    //         {
+    //             required: true,
+    //             message: "请输入登记机关",
+    //             trigger: "blur",
+    //         },
+    //     ],
+    // },
     {
         label: "所属行业",
         hide: true,
@@ -269,7 +269,28 @@
         ],
     },
     {
-        label: "经营范围",
+        label: "审批意见",
+        prop: "approve",
+        overHidden: true
+        // addDisplay: false,
+        // type: "select",
+        // dicData: [
+        //     {
+        //         label: "通过",
+        //         value: "0",
+        //     },
+        //     {
+        //         label: "不通过",
+        //         value: "1",
+        //     },
+        //     {
+        //         label: "待审核",
+        //         value: "2",
+        //     },
+        // ],
+    },
+    {
+        label: "服务范围",
         prop: "business",
         component: "AvueUeditor",
         hide: true,
diff --git a/src/views/licenseApproval/crossRegion.vue b/src/views/licenseApproval/crossRegion.vue
index a31c2ad..c0dc50e 100644
--- a/src/views/licenseApproval/crossRegion.vue
+++ b/src/views/licenseApproval/crossRegion.vue
@@ -2,7 +2,7 @@
  * @Author:liu
  * @Date: 2021-08-26 16:59:35 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-23 16:43:31
+ * @Last Modified time: 2021-11-05 14:51:52
  */
 
 
@@ -48,14 +48,14 @@
             :type="type"
             class="zhengJian-icon"
             @click.stop="handleCredentials(row)"
-            >附件查阅
+            >附件
           </el-button>
           <el-button
             icon="el-icon-edit"
             :size="size"
             :type="type"
             @click.stop="rowDel(row)"
-            v-if="row.type == '2'"
+            v-if="row.type == '2' && userData == '0'"
             >备案审批
           </el-button>
           <el-button
@@ -72,9 +72,12 @@
             {{
               row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
             }}
-            <i class="gz" v-if="row.type == '0'"></i>
+            <i class="gz" v-if="row.type == '2'"></i>
+            <!--  黄色 -->
             <i class="yj" v-if="row.type == '1'"></i>
-            <i class="zc" v-if="row.type == '2'"></i>
+            <!--  红色 -->
+            <i class="zc" v-if="row.type == '0'"></i>
+            <!--  绿色 -->
           </el-tag>
         </template>
       </avue-crud>
@@ -211,6 +214,7 @@
         column: column,
       },
       data: [],
+      userData: "",
     };
   },
   computed: {
@@ -235,6 +239,29 @@
   //     console.log(this.userInfo.dept_id);
   // },
   methods: {
+    changeuserData() {
+      // console.log(this.userInfo, "userDatauserDatauserData");
+      if (this.userInfo.Id == "1123598821738675201") {
+        this.userData = "0";
+        return;
+      }
+      var gonganj = "";
+      if (this.userInfo.role_name == "公安管理员") {
+        let test = /派出所$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "2";
+        }
+        test = /分局|公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "1";
+        }
+        test = /市公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "0";
+        }
+      }
+      this.userData = gonganj;
+    },
     Print() {
       this.$Print(this.$refs.licence);
     },
@@ -377,8 +404,11 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      this.changeuserData();
       this.loading = true;
       params["ptype"] = 5;
+      params["jurisdiction"] = this.userInfo.jurisdiction;
+      params["usetype"] = this.userData;
       getList(
         page.currentPage,
         page.pageSize,
diff --git a/src/views/licenseApproval/securityGuard.vue b/src/views/licenseApproval/securityGuard.vue
index 5f04651..ffb288f 100644
--- a/src/views/licenseApproval/securityGuard.vue
+++ b/src/views/licenseApproval/securityGuard.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 16:57:58 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-25 17:58:55
+ * @Last Modified time: 2021-11-05 14:45:01
  */
 
 
@@ -48,7 +48,7 @@
             :type="type"
             class="zhengJian-icon"
             @click.stop="handleCredentials(row)"
-            >附件审查</el-button
+            >附件</el-button
           >
           <el-button
             icon="el-icon-edit"
@@ -58,7 +58,7 @@
             @click.stop="rowDel(row)"
             >备案审批
           </el-button>
-          <el-button
+          <!-- <el-button
             icon="el-icon-edit"
             :size="size"
             :type="type"
@@ -72,7 +72,7 @@
             "
             @click.stop="rowSee(row)"
             >审批查询
-          </el-button>
+          </el-button> -->
           <el-button
             icon="el-icon-brush"
             :size="size"
@@ -103,9 +103,12 @@
                 ? "不通过"
                 : "待审核"
             }}
-            <i class="gz" v-if="row.stateOur == '0'"></i>
-            <i class="yj" v-if="row.stateOur == '2'"></i>
-            <i class="zc" v-if="row.stateOur == '1'"></i>
+            <i class="gz" v-if="row.type == '2'"></i>
+            <!--  黄色 -->
+            <i class="yj" v-if="row.type == '1'"></i>
+            <!--  红色 -->
+            <i class="zc" v-if="row.type == '0'"></i>
+            <!--  绿色 -->
           </el-tag>
         </template>
       </avue-crud>
@@ -305,6 +308,8 @@
       stateOur: "",
       stateText: "",
       dialogVisibleccsee: false,
+
+      userData: "",
     };
   },
   computed: {
@@ -567,11 +572,15 @@
           gonganj = "市局管理员";
         }
       }
+      this.userData =
+        gonganj == "派出所管理员" ? "2" : gonganj == "县局管理员" ? "1" : "0";
       params = {
         ...params,
         ...this.getFenji(gonganj),
       };
       console.log(params, "params");
+      params["jurisdiction"] = this.userInfo.jurisdiction;
+      params["usetype"] = this.userData;
       // return;
       getList(
         page.currentPage,
diff --git a/src/views/licenseApproval/securityPermit.vue b/src/views/licenseApproval/securityPermit.vue
index 56d95c8..859f63c 100644
--- a/src/views/licenseApproval/securityPermit.vue
+++ b/src/views/licenseApproval/securityPermit.vue
@@ -3,7 +3,7 @@
  * @Author: liu
  * @Date: 2021-08-26 16:22:20 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-22 11:22:57
+ * @Last Modified time: 2021-11-05 14:52:21
  */
 
 <template>
@@ -48,14 +48,14 @@
             :type="type"
             class="zhengJian-icon"
             @click.stop="handleCredentials(row)"
-            >附件查阅
+            >附件
           </el-button>
           <el-button
             icon="el-icon-edit"
             :size="size"
             :type="type"
             @click.stop="rowDel(row)"
-            v-if="row.type == '2'"
+            v-if="row.type == '2' && userData == '0'"
             >许可审批
           </el-button>
           <el-button
@@ -72,9 +72,12 @@
             {{
               row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
             }}
-            <i class="gz" v-if="row.type == '0'"></i>
+            <i class="gz" v-if="row.type == '2'"></i>
+            <!--  黄色 -->
             <i class="yj" v-if="row.type == '1'"></i>
-            <i class="zc" v-if="row.type == '2'"></i>
+            <!--  红色 -->
+            <i class="zc" v-if="row.type == '0'"></i>
+            <!--  绿色 -->
           </el-tag>
         </template>
       </avue-crud>
@@ -264,6 +267,8 @@
         column: column,
       },
       data: [],
+
+      userData: "",
     };
   },
   computed: {
@@ -288,6 +293,29 @@
   //     console.log(this.userInfo.dept_id);
   // },
   methods: {
+    changeuserData() {
+      // console.log(this.userInfo, "userDatauserDatauserData");
+      if (this.userInfo.Id == "1123598821738675201") {
+        this.userData = "0";
+        return;
+      }
+      var gonganj = "";
+      if (this.userInfo.role_name == "公安管理员") {
+        let test = /派出所$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "2";
+        }
+        test = /分局|公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "1";
+        }
+        test = /市公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "0";
+        }
+      }
+      this.userData = gonganj;
+    },
     Print() {
       this.$Print(this.$refs.licence);
     },
@@ -430,8 +458,11 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      this.changeuserData();
       this.loading = true;
       params["ptype"] = 0;
+      params["jurisdiction"] = this.userInfo.jurisdiction;
+      params["usetype"] = this.userData;
       getList(
         page.currentPage,
         page.pageSize,
diff --git a/src/views/licenseApproval/securityTraining.vue b/src/views/licenseApproval/securityTraining.vue
index e5e7baf..19a6be2 100644
--- a/src/views/licenseApproval/securityTraining.vue
+++ b/src/views/licenseApproval/securityTraining.vue
@@ -2,7 +2,7 @@
  * @Author: liu
  * @Date: 2021-08-26 16:55:25 
  * @Last Modified by: liu
- * @Last Modified time: 2021-09-22 11:24:49
+ * @Last Modified time: 2021-11-05 14:52:22
  */
 
 
@@ -48,14 +48,14 @@
             :type="type"
             class="zhengJian-icon"
             @click.stop="handleCredentials(row)"
-            >附件查阅
+            >附件
           </el-button>
           <el-button
             icon="el-icon-edit"
             :size="size"
             :type="type"
             @click.stop="rowDel(row)"
-            v-if="row.type == '2'"
+            v-if="row.type == '2' && userData == '0'"
             >许可审批
           </el-button>
           <el-button
@@ -72,9 +72,12 @@
             {{
               row.type == "0" ? "通过" : row.type == "1" ? "不通过" : "待审核"
             }}
-            <i class="gz" v-if="row.type == '0'"></i>
+            <i class="gz" v-if="row.type == '2'"></i>
+            <!--  黄色 -->
             <i class="yj" v-if="row.type == '1'"></i>
-            <i class="zc" v-if="row.type == '2'"></i>
+            <!--  红色 -->
+            <i class="zc" v-if="row.type == '0'"></i>
+            <!--  绿色 -->
           </el-tag>
         </template>
       </avue-crud>
@@ -264,6 +267,7 @@
         column: column,
       },
       data: [],
+      userData: "",
     };
   },
   computed: {
@@ -288,6 +292,29 @@
   //     console.log(this.userInfo.dept_id);
   // },
   methods: {
+    changeuserData() {
+      // console.log(this.userInfo, "userDatauserDatauserData");
+      if (this.userInfo.Id == "1123598821738675201") {
+        this.userData = "0";
+        return;
+      }
+      var gonganj = "";
+      if (this.userInfo.role_name == "公安管理员") {
+        let test = /派出所$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "2";
+        }
+        test = /分局|公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "1";
+        }
+        test = /市公安局$/g;
+        if (test.test(this.userInfo.list.name)) {
+          gonganj = "0";
+        }
+      }
+      this.userData = gonganj;
+    },
     Print() {
       this.$Print(this.$refs.licence);
     },
@@ -428,8 +455,11 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      this.changeuserData();
       this.loading = true;
       params["ptype"] = 1;
+      params["jurisdiction"] = this.userInfo.jurisdiction;
+      params["usetype"] = this.userData;
       getList(
         page.currentPage,
         page.pageSize,
diff --git a/src/views/resource/attachOnce.vue b/src/views/resource/attachOnce.vue
index 52d20e6..1815ee5 100644
--- a/src/views/resource/attachOnce.vue
+++ b/src/views/resource/attachOnce.vue
@@ -176,7 +176,7 @@
       i = 0,
       ind = null;
     this.$store.state.tags.tagList.forEach((item, index) => {
-      if (item.label == "附件上传") {
+      if (item.label == "附件查阅") {
         if (flag == false) {
           ind = index;
           flag = true;

--
Gitblit v1.9.3