mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
c376c64d37
commit
fa72950e3f
@ -9,7 +9,7 @@
|
|||||||
_initEvent: function() {
|
_initEvent: function() {
|
||||||
vc.on('staffAttendanceDetail', 'openModel', function(_param) {
|
vc.on('staffAttendanceDetail', 'openModel', function(_param) {
|
||||||
$('#staffAttendanceDetailModel').modal('show');
|
$('#staffAttendanceDetailModel').modal('show');
|
||||||
$that.staffAttendanceDetailInfo.feeDetailDiscounts = [];
|
$that.staffAttendanceDetailInfo.details = [];
|
||||||
vc.component._loadStaffAttendanceDetailInfo(_param);
|
vc.component._loadStaffAttendanceDetailInfo(_param);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -154,7 +154,7 @@
|
|||||||
_checkInLog: function(_day) {
|
_checkInLog: function(_day) {
|
||||||
vc.emit('staffAttendanceDetail', 'openModel', {
|
vc.emit('staffAttendanceDetail', 'openModel', {
|
||||||
staffId: $that.staffAttendanceManageInfo.curStaffId,
|
staffId: $that.staffAttendanceManageInfo.curStaffId,
|
||||||
date: $that.staffAttendanceManageInfo.curYear + "-" + $that.staffAttendanceManageInfo.curMonth + '-' + $that.staffAttendanceManageInfo.curDate
|
date: $that.staffAttendanceManageInfo.curYear + "-" + $that.staffAttendanceManageInfo.curMonth + '-' + _day
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user