mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-07 18:06:46 +08:00
fix:社招新员工学员管理列表字段修改
This commit is contained in:
@@ -737,13 +737,13 @@ const tablecolumns = ref([
|
|||||||
key: "approvalResults",
|
key: "approvalResults",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({ record: { hrAuditResult } }) =>
|
customRender: ({ record }) =>
|
||||||
({
|
({
|
||||||
// 1: "报名失败",
|
// 1: "报名失败",
|
||||||
2: "审核中",
|
2: "审核中",
|
||||||
3: "审核已通过",
|
3: "审核已通过",
|
||||||
4: "审核驳回",
|
4: "审核驳回",
|
||||||
}[hrAuditResult]),
|
}[record.approvalResults]),
|
||||||
},
|
},
|
||||||
...props.columns,
|
...props.columns,
|
||||||
{
|
{
|
||||||
@@ -777,6 +777,12 @@ function filterColumns() {
|
|||||||
if (props.isNewEmployee) {
|
if (props.isNewEmployee) {
|
||||||
const filterArr = ['所属小组', '岗位', '备注', '证书数量'];
|
const filterArr = ['所属小组', '岗位', '备注', '证书数量'];
|
||||||
newColums = newColums.filter(item => !(filterArr.includes(item.title)));
|
newColums = newColums.filter(item => !(filterArr.includes(item.title)));
|
||||||
|
newColums.map(item => {
|
||||||
|
if(item.title==='最近学习时间'){
|
||||||
|
item.dataIndex = 'lastStudyTime';
|
||||||
|
item.key = 'lastStudyTime';
|
||||||
|
}
|
||||||
|
})
|
||||||
}else{
|
}else{
|
||||||
const filterArr = ['必修进度', '选修进度', '备注', '证书数量'];
|
const filterArr = ['必修进度', '选修进度', '备注', '证书数量'];
|
||||||
newColums = newColums.filter(item => !(filterArr.includes(item.title)));
|
newColums = newColums.filter(item => !(filterArr.includes(item.title)));
|
||||||
|
|||||||
Reference in New Issue
Block a user