bug修复

This commit is contained in:
jjLv 2024-10-22 13:01:33 +08:00
parent f4186a150c
commit e73ed86470
3 changed files with 9 additions and 0 deletions

View File

@ -255,6 +255,9 @@
//
reset() {
this.queryForm = {};
const lastMonth = new Date();
lastMonth.setMonth(lastMonth.getMonth() - 1)
this.searchAttCurrentMonth = lastMonth;
this.resetForm("queryForm");
this.getList();
},

View File

@ -379,7 +379,11 @@
reset() {
// this.searchAttCurrentMonth = '';
// this.queryParams.attCurrentMonth = null;
this.queryForm = {};
const lastMonth = new Date();
lastMonth.setMonth(lastMonth.getMonth() - 1)
this.searchAttCurrentMonth = lastMonth;
this.resetForm("queryForm");
this.getList();

View File

@ -386,8 +386,10 @@
//
openRecord(row,titleBoss){
this.id = row.id;
this.title = titleBoss;
this.queryRecord.userId = row.userId;
this.queryRecord.orgId = row.orgId;
this.queryRecord.attCurrent = row.attCurrentMonth;
if(titleBoss=='打卡记录'){
this.queryRecord.attStatis=1;