Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
5 files modified
78 files deleted
| | |
| | | import ( /* webpackChunkName: "views" */ '@/views/trainingRegistration/index') |
| | | }] |
| | | } |
| | | ] |
| | | ] |
| | | 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: '/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: '/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') |
| | | }] |
| | | }] |
| | |
| | | // // overHidden: true |
| | | // }, |
| | | { |
| | | label: "所属行政区", |
| | | label: "所属辖区", |
| | | prop: "jurisdiction", |
| | | // multiple: true, |
| | | labelWidth: 110, |
| | |
| | | update1, |
| | | remove1, |
| | | } from "@/api/dispatch/dispatch"; |
| | | import { getDept } from "@/api/system/dept"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | // selection: true, |
| | | // column: column, |
| | | // }, |
| | | deptCategory: "", |
| | | deptId: "", |
| | | |
| | | loading1: true, //派遣记录 |
| | | selectionList1: [], |
| | |
| | | // menu: false, |
| | | searchSize: "mini", |
| | | searchMenuSpan: 8, |
| | | height: 563, |
| | | height: 623, |
| | | cellBtn: false, |
| | | // addBtn: false, |
| | | // menuWidth: 160, |
| | |
| | | }, |
| | | { |
| | | label: "派遣单位", |
| | | prop: "id", |
| | | prop: "dispatcherCompany", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, |
| | | { |
| | | label: "派遣单位", |
| | | prop: "dispatcherUnitId", |
| | | labelWidth: 120, |
| | | searchLabelWidth: 120, |
| | | dicUrl: "/api/page-tree", |
| | | dicUrl: "/api/dispatcherUnit/page-tree", |
| | | props: { |
| | | label: "name", |
| | | value: "id", |
| | | }, |
| | | hide: true, |
| | | searchSpan: 4, |
| | | search: true, |
| | | overHidden: true, |
| | | type: "select", |
| | | type: "tree", |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | label: "身份证", |
| | | prop: "cardid", |
| | | labelWidth: 120, |
| | | overHidden: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | labelWidth: 120, |
| | | searchSpan: 4, |
| | | search: true, |
| | | overHidden: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | labelWidth: 120, |
| | | overHidden: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | // this.obj0.name = " 未选择派遣单位"; |
| | | // } |
| | | }, |
| | | // onLoad(page, params = {}) { |
| | | // this.deptId = JSON.parse( |
| | | // window.localStorage.getItem("saber-userInfo") |
| | | // ).content.dept_id; |
| | | |
| | | // //获取当前用户部门信息,判断是否为公安,如果是公安,则只能查看公告信息 |
| | | // var that = this; |
| | | // getDept(this.deptId).then((res) => { |
| | | // var deptCategory = res.data.data.deptCategory; |
| | | // deptCategory == 1 |
| | | // ? (that.deptCategory = true) |
| | | // : (that.deptCategory = false); |
| | | |
| | | // if (that.deptCategory) { |
| | | // params["deptId"] = this.deptId; |
| | | // } |
| | | // let values = { |
| | | // ...params, |
| | | // }; |
| | | // }) |
| | | // } |
| | | }; |
| | | </script> |
| | | |
| | |
| | | // // addDisplay: false |
| | | // }, |
| | | { |
| | | label: "保安公司", |
| | | prop: "deptId", |
| | | labelWidth: 120, |
| | | searchLabelWidth: 120, |
| | | searchSpan: 4, |
| | | dicUrl: |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | search: true, |
| | | overHidden: true, |
| | | type: "select", |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入保安公司", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "派遣单位", |
| | | prop: "dispatcherCompany", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | }, |
| | | { |
| | | label: "派遣单位", |
| | | prop: "dispatcherUnitId", |
| | | labelWidth: 120, |
| | | searchLabelWidth: 120, |
| | | dicUrl: "/api/dispatcherUnit/page-tree", |
| | | props: { |
| | | label: "name", |
| | | value: "id", |
| | | }, |
| | | hide: true, |
| | | searchSpan: 4, |
| | | search: true, |
| | | overHidden: true, |
| | | type: "tree", |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请输入保安公司", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "保安人名称", |
| | | prop: "name", |
| | | search: true, |
| | | searchSpan: 5, |
| | | searchSpan: 4, |
| | | searchLabelWidth: 120 |
| | | // overHidden: true |
| | | }, { |
| | |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "timestamp", |
| | | search: true, |
| | | searchSpan: 5, |
| | | searchSpan: 4, |
| | | // overHidden: true |
| | | }, { |
| | | label: "结束时间", |
| | |
| | | ] |
| | | var DIC1 = [ |
| | | { |
| | | label: '已撤销', |
| | | label: '未撤销', |
| | | value: 1, |
| | | }, { |
| | | label: '未撤销', |
| | | label: '已撤销', |
| | | value: 2, |
| | | } |
| | | ] |