From 26a49026a9254eb86f04e16345817d632b49a59c Mon Sep 17 00:00:00 2001 From: zxj Date: Mon, 24 Nov 2025 15:42:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A4=BE=E6=8B=9B=E6=96=B0=E5=91=98?= =?UTF-8?q?=E5=B7=A5=E5=AD=A6=E5=91=98=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/student/TableStudent.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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)));