| | |
| | | label: "性别", |
| | | prop: "sex", |
| | | }, |
| | | { |
| | | label: "身份证号", |
| | | prop: "identityCard", |
| | | formatData: (value) => { |
| | | if (!value) { |
| | | return ""; |
| | | } |
| | | const text = String(value); |
| | | if (text.length <= 5) { |
| | | return text; |
| | | } |
| | | return text.slice(0, 5) + "*".repeat(text.length - 5); |
| | | }, |
| | | width:150 |
| | | }, |
| | | { |
| | | label: "出生日期", |
| | | prop: "birthDate", |
| | |
| | | tableLoading.value = true; |
| | | const params = { ...searchForm.value, ...page }; |
| | | params.entryDate = undefined |
| | | params.staffState = 1 |
| | | staffOnJobListPage({...params}).then(res => { |
| | | tableLoading.value = false; |
| | | tableData.value = res.data.records |