| | |
| | | |
| | | //表现 |
| | | export var trackRecordColumn = [{ |
| | | label: "id", |
| | | prop: "id", |
| | | hide: true, |
| | | editDisplay: false, |
| | | addDisplay: false |
| | | }, { |
| | | label: '工作态度', |
| | | prop: "workingattitude", |
| | | formslot: true, |
| | | }, { |
| | | label: '工作成效', |
| | | prop: "achievements", |
| | | formslot: true, |
| | | }, { |
| | | label: '表现', |
| | | prop: "score", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=scoreType", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | | label: "id", |
| | | prop: "id", |
| | | hide: true, |
| | | editDisplay: false, |
| | | addDisplay: false |
| | | }, { |
| | | label: '工作态度', |
| | | prop: "workingattitude", |
| | | formslot: true, |
| | | }, { |
| | | label: '工作成效', |
| | | prop: "achievements", |
| | | formslot: true, |
| | | }, { |
| | | label: '表现', |
| | | prop: "score", |
| | | type: "select", |
| | | // 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: [{ |
| | | required: true, |
| | | message: "请选择表现", |
| | | trigger: "blur" |
| | | }] |
| | | }, { |
| | | label: '时间', |
| | | type: 'date', |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | prop: "time", |
| | | formslot: true, |
| | | }, |
| | | dataType: "number", |
| | | slot: true, |
| | | rules: [{ |
| | | required: true, |
| | | 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 = [{ |