打卡记录

This commit is contained in:
lSun 2025-01-02 21:44:19 +08:00
parent ecf619eb17
commit 02ad2dda9b
2 changed files with 21 additions and 20 deletions

View File

@ -559,6 +559,7 @@
openAttCountList(row){ openAttCountList(row){
this.title = "打卡记录当天1200至第二天凌晨0500"; this.title = "打卡记录当天1200至第二天凌晨0500";
this.queryAttCount.userId = row.userId; this.queryAttCount.userId = row.userId;
this.queryAttCount.userName = row.userName;
this.queryAttCount.attCurrentDay = row.attCurrentDay; this.queryAttCount.attCurrentDay = row.attCurrentDay;
this.showAttCount = true; this.showAttCount = true;
this.getAttCountList(); this.getAttCountList();

View File

@ -293,7 +293,7 @@
var nowDate = new Date(); var nowDate = new Date();
var date = { var date = {
year: nowDate.getFullYear(), year: nowDate.getFullYear(),
month: nowDate.getMonth() , month: nowDate.getMonth() + 1,
day: nowDate.getDate() day: nowDate.getDate()
}; };
const dayDate = date.year + "-" + (date.month >= 10 ? date.month : "0" + date.month); const dayDate = date.year + "-" + (date.month >= 10 ? date.month : "0" + date.month);