| | |
| | | var DIC = [ |
| | | { |
| | | label: '男', |
| | | value: 1, |
| | | }, { |
| | | label: '女', |
| | | value: 2, |
| | | } |
| | | ] |
| | | var DIC1 = [ |
| | | { |
| | | label: '已撤销', |
| | | value: 1, |
| | | }, { |
| | | label: '未撤销', |
| | | value: 2, |
| | | } |
| | | ] |
| | | var DIC = [{ |
| | | label: '男', |
| | | value: 1, |
| | | }, { |
| | | label: '女', |
| | | value: 2, |
| | | }] |
| | | var DIC1 = [{ |
| | | label: '已报名', |
| | | value: 1, |
| | | }, { |
| | | label: '已取消', |
| | | value: 2, |
| | | }, { |
| | | label: '已确认', |
| | | value: 3, |
| | | }] |
| | | |
| | | 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 |
| | | // },//上面不显示 |
| | | { |
| | | var w = 160, |
| | | s = 12; |
| | | export var column = [{ |
| | | label: "学校名称", |
| | | prop: "trainingUnitId", |
| | | dicUrl: "/api/blade-system/dept/lazy-tree-type?parentId=1418458374477549569", |
| | | cascaderItem: ["trainExamId"], |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | type: "select", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入学校名称", |
| | | trigger: "blur" |
| | | }], |
| | | searchSpan: 4, |
| | | searchLabelWidth: 110, |
| | | width: 180, |
| | | }, { |
| | | label: "姓名", |
| | | prop: "name", |
| | | prop: "userId", |
| | | type: "select", |
| | | hide: true, |
| | | dicUrl: "/api/blade-user/page-security-unit?deptId={{key}}", |
| | | props: { |
| | | label: "realName", |
| | | value: "id" |
| | | }, |
| | | searchSpan: 4, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入姓名", |
| | | trigger: "blur" |
| | | }], |
| | | }, { |
| | | label: "姓名", |
| | | prop: "realName", |
| | | 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: "age", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入年龄", |
| | | trigger: "blur" |
| | | }], |
| | | width: 50, |
| | | // addDisplay: true, |
| | | // editDisplay: true, |
| | | // viewDisplay: true, |
| | | // filter: false, |
| | | // type: 'tree', |
| | | // dicData: DIC1, |
| | | // searchSpan: 5, |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=equipage", |
| | | // 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: "请选择学历", |
| | | // trigger: "blur" |
| | | // }], |
| | | }, |
| | | { |
| | | 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: "请选择工作经验", |
| | | // trigger: "blur" |
| | | // }], |
| | | }, |
| | | { |
| | | label: "电话", |
| | | prop: "phone", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入电话", |
| | | trigger: "blur" |
| | | }], |
| | | width: 110, |
| | | // search: true, |
| | | // width: 110, |
| | | // overHidden: true |
| | | }, |
| | | { |
| | | searchLabelWidth: 56, |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | searchSpan: 3, |
| | | width: 90 |
| | | }, { |
| | | label: "身份证号", |
| | | prop: "idCardNo", |
| | | rules: [{ |
| | |
| | | message: "请输入身份证号", |
| | | trigger: "blur" |
| | | }], |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | width: 160 |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | // overHidden: true |
| | | }, |
| | | // { |
| | | // label: "准考证号", |
| | | // prop: "candidateNo", |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请输入准考证号", |
| | | // trigger: "blur" |
| | | // }], |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | | // width: 110 |
| | | // }, |
| | | { |
| | | label: "学历证书", |
| | | prop: "academicUrl", |
| | | label: "报名时间", |
| | | prop: "trainingTime", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入学历证书", |
| | | message: "请输入报名时间", |
| | | trigger: "blur" |
| | | }], |
| | | overHidden: true |
| | | // width: 70, |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | width: 130 |
| | | }, |
| | | // { |
| | | // label: "电话", |
| | | // prop: "phone", |
| | | // // hide: true, |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请输入电话", |
| | | // trigger: "blur" |
| | | // }], |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | | // width: 110, |
| | | // }, |
| | | { |
| | | label: "组织机构", |
| | | label: "企业名称", |
| | | prop: "deptId", |
| | | // width: 70, |
| | | // search: true, |
| | | // searchSpan: 4, |
| | | dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | cascaderItem: ["userId"], |
| | | props: { |
| | | label: "title", |
| | | value: "id" |
| | | }, |
| | | // search: true, |
| | | type: "select", |
| | | hide: true, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入组织机构", |
| | | 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" |
| | | // }, |
| | | }, { |
| | | label: "企业名称", |
| | | prop: "deptName", |
| | | // hide: true, |
| | | search: true, |
| | | overHidden: true |
| | | // type: "select", |
| | | // rules: [{ |
| | | // required: false, |
| | | // message: "请选择单位规模", |
| | | // trigger: "blur" |
| | | // }], |
| | | }, |
| | | { |
| | | label: "培训时间", |
| | | prop: "trainingTime", |
| | | type: "date", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | searchLabelWidth: 85, |
| | | searchSpan: 5, |
| | | rules: [{ |
| | | required: true, |
| | | message: "请输入培训时间", |
| | | message: "请输入企业名称", |
| | | trigger: "blur" |
| | | }], |
| | | width: 100, |
| | | // 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: "cancel", |
| | | // search: true, |
| | | dicData: DIC1, |
| | | label: "考试名称", |
| | | prop: "trainExamName", |
| | | width: 220, |
| | | }, |
| | | { |
| | | label: "考试证件", |
| | | prop: "applyCard", |
| | | width: 70 |
| | | }, |
| | | { |
| | | label: "审核状态", |
| | | search: true, |
| | | type: "select", |
| | | searchSpan: 4, |
| | | prop: "auditStatus", |
| | | searchValue: 4, |
| | | dicData: [{ |
| | | label: '全部', |
| | | value: 0, |
| | | }, |
| | | { |
| | | label: '审核通过', |
| | | value: 1, |
| | | }, |
| | | { |
| | | label: '审核不通过', |
| | | value: 2, |
| | | }, |
| | | { |
| | | label: '已提交审核', |
| | | value: 3, |
| | | }, |
| | | { |
| | | label: '未提交审核', |
| | | value: 4, |
| | | } |
| | | ], |
| | | props: { |
| | | label: "label", |
| | | value: "value" |
| | | }, |
| | | // rules: [{ |
| | | // required: true, |
| | | // message: "请选", |
| | | // trigger: "blur" |
| | | // }] |
| | | // hide: false, |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | searchSpan: 5, |
| | | width: 70, |
| | | } |
| | | ] |
| | | width: 100, |
| | | }, |
| | | { |
| | | label: "报名状态", |
| | | search: true, |
| | | type: "select", |
| | | searchSpan: 4, |
| | | prop: "cancel", |
| | | searchValue: 1, |
| | | searchLabelWidth: 85, |
| | | dicData: [{ |
| | | label: '全部', |
| | | value: 0, |
| | | }, |
| | | { |
| | | label: '已报名', |
| | | value: 1, |
| | | }, |
| | | { |
| | | label: '已取消', |
| | | value: 2, |
| | | } |
| | | ], |
| | | props: { |
| | | label: "label", |
| | | value: "value" |
| | | }, |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | width: 100, |
| | | }, |
| | | { |
| | | label: "考试状态", |
| | | search: true, |
| | | type: "select", |
| | | searchSpan: 4, |
| | | prop: "isExam", |
| | | searchValue: 1, |
| | | dicData: [{ |
| | | label: '全部', |
| | | value: 0, |
| | | }, |
| | | { |
| | | label: '未考试', |
| | | value: 1, |
| | | }, |
| | | { |
| | | label: '考试结束', |
| | | value: 2, |
| | | }, |
| | | { |
| | | label: '考试中', |
| | | value: 3, |
| | | }, |
| | | { |
| | | label: '缺考', |
| | | value: 4, |
| | | } |
| | | ], |
| | | props: { |
| | | label: "label", |
| | | value: "value" |
| | | }, |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | width: 100, |
| | | }, |
| | | // { |
| | | // label: "缴费状态", |
| | | // search: true, |
| | | // type: "select", |
| | | // searchSpan: 4, |
| | | // prop: "vipStatus", |
| | | // dicData: [ |
| | | // { |
| | | // label: '全部', |
| | | // value: 0, |
| | | // }, |
| | | // { |
| | | // label: '已缴费', |
| | | // value: 1, |
| | | // }, |
| | | // { |
| | | // label: '未缴费', |
| | | // value: 2, |
| | | // } |
| | | // ], |
| | | // props: { |
| | | // label: "label", |
| | | // value: "value" |
| | | // }, |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // label: "确认截止时间", |
| | | // prop: "remainingTime", |
| | | // editDisplay: false, |
| | | // addDisplay: false, |
| | | // width: 160 |
| | | // } |
| | | |
| | | ] |