| | |
| | | var DIC = [ |
| | | { |
| | | label: '招聘中', |
| | | label: '男', |
| | | value: 1, |
| | | }, { |
| | | label: '停止招聘', |
| | | label: '女', |
| | | value: 2, |
| | | } |
| | | ] |
| | | var DIC1 = [ |
| | | { |
| | | label: '拥有', |
| | | label: '是', |
| | | value: 1, |
| | | }, { |
| | | label: '未拥有', |
| | | label: '否', |
| | | value: 2, |
| | | } |
| | | ] |
| | |
| | | var w = 160 |
| | | , s = 12; |
| | | export var column = [ |
| | | // { |
| | | // label: "id", |
| | | // prop: "id", |
| | | // hide: true, |
| | | // editDisplay: false, |
| | | // addDisplay: false |
| | | // }, |
| | | // { |
| | | // label: "保安单位", |
| | | // prop: "tenantName", |
| | | // hide: true, |
| | | // editDisplay: false, |
| | | // addDisplay: false |
| | | // }, |
| | | // { |
| | | // label: "保安id", |
| | | // prop: "deptId", |
| | | // hide: true, |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | | // value: JSON.parse(window.localStorage.getItem("saber-userInfo")).content.dept_id |
| | | // },//上面不显示 |
| | | { |
| | | label: "id", |
| | | prop: "id", |
| | | hide: true, |
| | | editDisplay: false, |
| | | addDisplay: false |
| | | }, |
| | | { |
| | | label: "保安单位", |
| | | prop: "tenantName", |
| | | hide: true, |
| | | editDisplay: false, |
| | | addDisplay: false |
| | | }, |
| | | { |
| | | label: "保安id", |
| | | prop: "deptId", |
| | | hide: true, |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | value: JSON.parse(window.localStorage.getItem("saber-userInfo")).content.dept_id |
| | | },//上面不显示 |
| | | { |
| | | label: "招聘岗位", |
| | | label: "姓名", |
| | | prop: "name", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入姓名", |
| | | trigger: "blur" |
| | | }], |
| | | search: true, |
| | | searchSpan: 5, |
| | | }, |
| | | { |
| | | label: "性别", |
| | | prop: "sex", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入性别", |
| | | trigger: "blur" |
| | | }], |
| | | width: 50, |
| | | dicData: DIC, |
| | | props: { |
| | | label: "label", |
| | | value: "value" |
| | | }, |
| | | // width: 70, |
| | | // search: true, |
| | | }, |
| | | { |
| | | label: "招聘人数", |
| | | prop: "number", |
| | | width: 70, |
| | | // search: true, |
| | | }, |
| | | { |
| | | label: "保安证", |
| | | prop: "permit", |
| | | label: "年龄", |
| | | prop: "age", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入年龄", |
| | | trigger: "blur" |
| | | }], |
| | | width: 50, |
| | | // addDisplay: true, |
| | | // editDisplay: true, |
| | | // viewDisplay: true, |
| | | filter: false, |
| | | type: 'tree', |
| | | dicData: DIC1, |
| | | searchSpan: 5, |
| | | // filter: false, |
| | | // type: 'tree', |
| | | // dicData: DIC1, |
| | | // searchSpan: 5, |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=equipage", |
| | | // props: { |
| | | // label: "dictValue", |
| | |
| | | // type: "select", |
| | | }, |
| | | { |
| | | label: "学历要求", |
| | | prop: "education", |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | searchSpan: 5, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | search: true, |
| | | type: "select", |
| | | label: "身高", |
| | | prop: "height", |
| | | width: 50, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入身高", |
| | | trigger: "blur" |
| | | }] |
| | | // addDisplay: true, |
| | | // editDisplay: true, |
| | | // viewDisplay: true, |
| | | // searchSpan: 5, |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType", |
| | | // props: { |
| | | // label: "dictValue", |
| | | // value: "dictKey" |
| | | // }, |
| | | // search: true, |
| | | // type: "select", |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请选择学历", |
| | |
| | | // }], |
| | | }, |
| | | { |
| | | label: "工作经验", |
| | | prop: "experience", |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | searchSpan: 5, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | search: true, |
| | | type: "select", |
| | | label: "体重", |
| | | prop: "weight", |
| | | width: 50, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入体重", |
| | | trigger: "blur" |
| | | }] |
| | | // addDisplay: true, |
| | | // editDisplay: true, |
| | | // viewDisplay: true, |
| | | // searchSpan: 5, |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType", |
| | | // props: { |
| | | // label: "dictValue", |
| | | // value: "dictKey" |
| | | // }, |
| | | // search: true, |
| | | // type: "select", |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请选择工作经验", |
| | |
| | | // }], |
| | | }, |
| | | { |
| | | label: "工作任务", |
| | | prop: "workDesc", |
| | | // search: true, |
| | | label: "电话", |
| | | prop: "phone", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入电话", |
| | | trigger: "blur" |
| | | }], |
| | | width: 110, |
| | | overHidden: true |
| | | }, |
| | | { |
| | | label: "福利", |
| | | prop: "welfare", |
| | | // search: true, |
| | | searchSpan: 4, |
| | | overHidden: true |
| | | // width: 110, |
| | | // overHidden: true |
| | | }, |
| | | { |
| | | label: "最低薪资", |
| | | prop: "minSalary", |
| | | width: 70, |
| | | label: "身份证号", |
| | | prop: "idCardNo", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入身份证号", |
| | | trigger: "blur" |
| | | }], |
| | | width: 160 |
| | | // search: true, |
| | | searchSpan: 4, |
| | | // searchSpan: 4, |
| | | // overHidden: true |
| | | }, |
| | | { |
| | | label: "最高薪资", |
| | | prop: "maxSalary", |
| | | width: 70, |
| | | search: true, |
| | | searchSpan: 4, |
| | | label: "学历证书", |
| | | prop: "academicUrl", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入学历证书", |
| | | trigger: "blur" |
| | | }], |
| | | overHidden:true |
| | | // width: 70, |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | }, |
| | | { |
| | | label: "单位性质", |
| | | prop: "unitsNature", |
| | | width: 70, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | searchSpan: 4, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType", |
| | | label: "组织机构", |
| | | prop: "deptId", |
| | | // width: 70, |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | // search: true, |
| | | type: "select", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入组织机构", |
| | | trigger: "blur" |
| | | }], |
| | | overHidden:true |
| | | }, |
| | | { |
| | | label: "培训公司名称", |
| | | prop: "trainingUnitName", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入培训公司名称", |
| | | trigger: "blur" |
| | | }], |
| | | // width: 70, |
| | | // addDisplay: true, |
| | | // editDisplay: true, |
| | | // viewDisplay: true, |
| | | searchSpan: 5, |
| | | searchLabelWidth: 110, |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType", |
| | | // props: { |
| | | // label: "dictValue", |
| | | // value: "dictKey" |
| | | // }, |
| | | search: true, |
| | | overHidden:true |
| | | // type: "select", |
| | | // rules: [{ |
| | | // required: false, |
| | | // message: "请选择单位规模", |
| | |
| | | // }], |
| | | }, |
| | | { |
| | | label: "单位规模", |
| | | prop: "unitsScale", |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | searchSpan: 4, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsScaleType", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | }, |
| | | // search: true, |
| | | type: "select", |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请选择单位规模", |
| | | // trigger: "blur" |
| | | // }], |
| | | }, |
| | | { |
| | | label: "联系人", |
| | | prop: "linkman", |
| | | // search: true, |
| | | }, |
| | | { |
| | | label: "联系人电话", |
| | | prop: "phone", |
| | | // search: true, |
| | | width: 110, |
| | | }, |
| | | { |
| | | label: "详细地址", |
| | | prop: "address", |
| | | width: 110, |
| | | // search: true, |
| | | overHidden: true |
| | | }, |
| | | { |
| | | label: "开始时间", |
| | | prop: "startTime", |
| | | // search: true, |
| | | label: "培训时间", |
| | | prop: "trainingTime", |
| | | type: "date", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "timestamp", |
| | | width: 88, |
| | | }, |
| | | |
| | | { |
| | | label: "结束时间", |
| | | prop: "endTime", |
| | | // search: true, |
| | | type: "date", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "timestamp", |
| | | width: 88, |
| | | }, |
| | | { |
| | | label: "招聘状态", |
| | | // prop: "status", |
| | | // search: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入培训时间", |
| | | trigger: "blur" |
| | | }], |
| | | width: 100, |
| | | // addDisplay: true, |
| | | // editDisplay: true, |
| | | // viewDisplay: true, |
| | | // searchSpan: 4, |
| | | width: 70, |
| | | prop: 'status', |
| | | filter: false, |
| | | type: 'tree', |
| | | dicData: DIC, |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsScaleType", |
| | | // props: { |
| | | // label: "dictValue", |
| | | // value: "dictKey" |
| | | // }, |
| | | // // search: true, |
| | | // type: "select", |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请选择单位规模", |
| | | // trigger: "blur" |
| | | // }], |
| | | }, |
| | | { |
| | | label: "是否报名", |
| | | prop: "cancel", |
| | | search: true, |
| | | dicData: DIC1, |
| | | props: { |
| | | label: "label", |
| | | value: "value" |
| | | }, |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请选", |
| | | // trigger: "blur" |
| | | // }] |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | searchSpan: 5, |
| | | width: 70, |
| | | } |
| | | ] |