| | |
| | | rules: 'selectRequired', |
| | | }, |
| | | { |
| | | fieldName: 'postId', |
| | | fieldName: 'postIds', |
| | | label: '岗位', |
| | | component: 'ApiSelect', |
| | | componentProps: { |
| | | api: getSimplePostList, |
| | | labelField: 'name', |
| | | valueField: 'id', |
| | | placeholder: '请选择岗位', |
| | | mode: 'multiple', |
| | | placeholder: '请选择岗位(可多选)', |
| | | }, |
| | | rules: 'selectRequired', |
| | | }, |
| | |
| | | }, |
| | | { field: 'phone', title: '手机号码', minWidth: 120 }, |
| | | { field: 'deptName', title: '部门', minWidth: 120 }, |
| | | { field: 'postName', title: '岗位', minWidth: 120 }, |
| | | { field: 'postNames', title: '岗位', minWidth: 120 }, |
| | | { field: 'nation', title: '民族', width: 90 }, |
| | | { field: 'age', title: '年龄', width: 70 }, |
| | | { field: 'education', title: '学历', width: 90 }, |
| | |
| | | { field: 'employeeNo', title: '员工编号', minWidth: 120 }, |
| | | { field: 'name', title: '员工姓名', minWidth: 100 }, |
| | | { field: 'deptName', title: '部门', minWidth: 120 }, |
| | | { field: 'postName', title: '岗位', minWidth: 120 }, |
| | | { field: 'postNames', title: '岗位', minWidth: 120 }, |
| | | { field: 'phone', title: '手机号码', minWidth: 120 }, |
| | | ]; |
| | | } |