diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue index d87f89cd..b3645fcb 100644 --- a/src/components/student/TableStudent.vue +++ b/src/components/student/TableStudent.vue @@ -737,13 +737,13 @@ const tablecolumns = ref([ key: "approvalResults", width: "80px", align: "center", - customRender: ({ record: { hrAuditResult } }) => + customRender: ({ record }) => ({ // 1: "报名失败", 2: "审核中", 3: "审核已通过", 4: "审核驳回", - }[hrAuditResult]), + }[record.approvalResults]), }, ...props.columns, { @@ -777,6 +777,12 @@ function filterColumns() { if (props.isNewEmployee) { const filterArr = ['所属小组', '岗位', '备注', '证书数量']; newColums = newColums.filter(item => !(filterArr.includes(item.title))); + newColums.map(item => { + if(item.title==='最近学习时间'){ + item.dataIndex = 'lastStudyTime'; + item.key = 'lastStudyTime'; + } + }) }else{ const filterArr = ['必修进度', '选修进度', '备注', '证书数量']; newColums = newColums.filter(item => !(filterArr.includes(item.title)));