| src/pages/humanResources/attendance/checkin.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/pages/humanResources/attendance/checkin.vue
@@ -129,7 +129,12 @@ findTodayPersonalAttendanceRecord({}).then(res => { if (res.data) { todayRecord.value = res.data; // 检查startAt和endAt是否为空,为空则无需打卡 if (!todayRecord.value.startAt || !todayRecord.value.endAt) { noNeedCheckIn.value = true; } else { noNeedCheckIn.value = false; } } else { // 页面显示“无需打卡” todayRecord.value = {};