| | |
| | | prop: "jurisdiction", |
| | | // multiple: true, |
| | | type: "tree", |
| | | dicUrl: "/api/jurisdiction/lazy-tree?parentId=0", |
| | | dicUrl: "/api/jurisdiction/lazy-tree", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | |
| | | type: 'date', |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | prop: "entryTime", |
| | | prop: "entrytime", |
| | | formslot: true, |
| | | }, { |
| | | label: '离职时间', |
| | | type: 'date', |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | prop: "departureTime", |
| | | prop: "departuretime", |
| | | formslot: true, |
| | | }, { |
| | | label: '离职原因', |
| | |
| | | formslot: true, |
| | | }] |
| | | |
| | | |
| | | //表现 |
| | | export var trackRecordColumn = [{ |
| | | label: "id", |
| | |
| | | editDisplay: false, |
| | | addDisplay: false |
| | | }, { |
| | | label: '工作态度', |
| | | prop: "workingattitude", |
| | | label: '时间', |
| | | type: 'date', |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | prop: "time", |
| | | formslot: true, |
| | | }, { |
| | | label: '工作成效', |
| | | }, |
| | | // { |
| | | // label: '工作态度', |
| | | // prop: "workingattitude", |
| | | // formslot: true, |
| | | // }, |
| | | { |
| | | label: '工作表现', |
| | | prop: "achievements", |
| | | formslot: true, |
| | | }, { |
| | | label: '表现', |
| | | label: '表现评定', |
| | | prop: "score", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=scoreType", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | // dicUrl: "/api/blade-system/dict-biz/dictionary?code=scoreType", |
| | | // props: { |
| | | // label: "dictValue", |
| | | // value: "dictKey" |
| | | // }, |
| | | dicData: [{ |
| | | label: "优秀", |
| | | value: 0 |
| | | }, |
| | | { |
| | | label: "良好", |
| | | value: 1 |
| | | }, |
| | | { |
| | | label: "一般", |
| | | value: 2 |
| | | }, |
| | | { |
| | | label: "差", |
| | | value: 3 |
| | | }, |
| | | ], |
| | | dataType: "number", |
| | | slot: true, |
| | | rules: [{ |
| | |
| | | message: "请选择表现", |
| | | trigger: "blur" |
| | | }] |
| | | }, { |
| | | label: '时间', |
| | | type: 'date', |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | prop: "time", |
| | | formslot: true, |
| | | }, { |
| | | label: '服务公司', |
| | | prop: "departmentName", |
| | | formslot: true, |
| | | }] |
| | | } |
| | | // { |
| | | // label: '服务公司', |
| | | // prop: "departmentName", |
| | | // formslot: true, |
| | | // } |
| | | ] |
| | | |
| | | |
| | | export var securityFormPageColumn = [{ |
| | |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | // hide: true, |
| | | slot: true, |
| | | searchSpan: 5, |
| | | display: false, |
| | | search: true, |
| | | minWidth: 260 |
| | | }, |
| | | // { |
| | | // label: "所属保安公司", |
| | | // searchLabelWidth: "110", |
| | | // prop: "deptName", |
| | | // // type: "tree", |
| | | // // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // // props: { |
| | | // // label: "title", |
| | | // // value: "id", |
| | | // // }, |
| | | // // slot: true, |
| | | // // searchSpan: 5, |
| | | // display: false, |
| | | // // search: true, |
| | | // minWidth: 260 |
| | | // }, |
| | | { |
| | | label: "性别", |
| | | prop: "sex", |
| | |
| | | prop: "cardid", |
| | | search: true, |
| | | searchLabelWidth: 90, |
| | | searchSpan: 4, |
| | | searchSpan: 5, |
| | | minWidth: 140, |
| | | |
| | | display: false |
| | | }, |
| | | |
| | |
| | | label: '是否派遣', |
| | | prop: 'dispatch', |
| | | type: 'select', |
| | | dicData: [ |
| | | { |
| | | label: '未派遣', |
| | | value: '1' |
| | | }, { |
| | | label: '已派遣', |
| | | value: '0' |
| | | } |
| | | ] |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | dicData: [{ |
| | | label: '未派遣', |
| | | value: '1' |
| | | }, { |
| | | label: '已派遣', |
| | | value: '0' |
| | | }] |
| | | }, |
| | | { |
| | | label: "是否持证", |
| | |
| | | value: "dictKey" |
| | | }, |
| | | dataType: "number", |
| | | searchValue: 1, |
| | | display: false, |
| | | hide: true, |
| | | searchSpan: 3, |