fix:增加面授课学员签到未在规定时间内签到显示异常

This commit is contained in:
wyx
2023-01-13 15:13:12 +08:00
parent d6bc7af3fc
commit 06959aa12f
2 changed files with 2 additions and 2 deletions

View File

@@ -575,7 +575,7 @@ export default {
customRender: (text) => {
return (
<div class="racona">
<span>{text.record.signStatus ? "正常" : text.record.leaveStatus ? "异常" : text.record.signStatus == null ? "-" : "异常"}</span>
<span>{text.record.signStatus == null && new Date().getTime() > new Date(state.endTime).getTime() ? "异常" : text.record.signStatus ? "正常" : text.record.leaveStatus ? "异常" : text.record.signStatus == null ? "-" : "异常"}</span>
</div>
);
},