修复bug
This commit is contained in:
parent
bc82dba006
commit
8f9cc45f29
@ -786,6 +786,7 @@ export default {
|
|||||||
selectIndex: 0,
|
selectIndex: 0,
|
||||||
showSelectPersonSn: "",
|
showSelectPersonSn: "",
|
||||||
showSelectTime: "",
|
showSelectTime: "",
|
||||||
|
activeRow: null,
|
||||||
dateilList: [],
|
dateilList: [],
|
||||||
showTime: [],
|
showTime: [],
|
||||||
itemKey: "",
|
itemKey: "",
|
||||||
@ -1033,10 +1034,10 @@ export default {
|
|||||||
},
|
},
|
||||||
initUploadAttendance() {
|
initUploadAttendance() {
|
||||||
this.uploadAttendanceForm = {
|
this.uploadAttendanceForm = {
|
||||||
enterpriseId: "",
|
enterpriseId: this.activeRow?.enterpriseId || "",
|
||||||
teamId: "",
|
teamId: this.activeRow?.deptId || "",
|
||||||
departmentId: "",
|
departmentId: this.activeRow?.deptId || "",
|
||||||
workerId: "",
|
workerId: this.activeRow?.workerId || "",
|
||||||
passType: "",
|
passType: "",
|
||||||
createTime: "",
|
createTime: "",
|
||||||
inletOutletPosition: "",
|
inletOutletPosition: "",
|
||||||
@ -1046,6 +1047,9 @@ export default {
|
|||||||
},
|
},
|
||||||
uploadAttendanceDialog() {
|
uploadAttendanceDialog() {
|
||||||
this.initUploadAttendance();
|
this.initUploadAttendance();
|
||||||
|
if (this.activeRow?.enterpriseId) {
|
||||||
|
this.enterpriseChange(this.activeRow.enterpriseId, this.activeRow.departmentId, 1);
|
||||||
|
}
|
||||||
this.uploadAttendanceShow = true;
|
this.uploadAttendanceShow = true;
|
||||||
},
|
},
|
||||||
getPersonListFn() {
|
getPersonListFn() {
|
||||||
@ -1258,6 +1262,7 @@ export default {
|
|||||||
this.selectIndex = index;
|
this.selectIndex = index;
|
||||||
this.showSelectPersonSn = value.personSn;
|
this.showSelectPersonSn = value.personSn;
|
||||||
this.showSelectTime = row.date;
|
this.showSelectTime = row.date;
|
||||||
|
this.activeRow = value;
|
||||||
this.getSelectDateil();
|
this.getSelectDateil();
|
||||||
},
|
},
|
||||||
// 获取 个人考勤信息
|
// 获取 个人考勤信息
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user