修复bug

This commit is contained in:
jiayu 2025-07-07 10:43:49 +08:00
parent bc82dba006
commit 8f9cc45f29

View File

@ -786,6 +786,7 @@ export default {
selectIndex: 0,
showSelectPersonSn: "",
showSelectTime: "",
activeRow: null,
dateilList: [],
showTime: [],
itemKey: "",
@ -1033,10 +1034,10 @@ export default {
},
initUploadAttendance() {
this.uploadAttendanceForm = {
enterpriseId: "",
teamId: "",
departmentId: "",
workerId: "",
enterpriseId: this.activeRow?.enterpriseId || "",
teamId: this.activeRow?.deptId || "",
departmentId: this.activeRow?.deptId || "",
workerId: this.activeRow?.workerId || "",
passType: "",
createTime: "",
inletOutletPosition: "",
@ -1046,6 +1047,9 @@ export default {
},
uploadAttendanceDialog() {
this.initUploadAttendance();
if (this.activeRow?.enterpriseId) {
this.enterpriseChange(this.activeRow.enterpriseId, this.activeRow.departmentId, 1);
}
this.uploadAttendanceShow = true;
},
getPersonListFn() {
@ -1258,6 +1262,7 @@ export default {
this.selectIndex = index;
this.showSelectPersonSn = value.personSn;
this.showSelectTime = row.date;
this.activeRow = value;
this.getSelectDateil();
},
//