mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 22:27:55 +08:00
优化代码
This commit is contained in:
parent
c376c64d37
commit
fa72950e3f
@ -9,7 +9,7 @@
|
||||
_initEvent: function() {
|
||||
vc.on('staffAttendanceDetail', 'openModel', function(_param) {
|
||||
$('#staffAttendanceDetailModel').modal('show');
|
||||
$that.staffAttendanceDetailInfo.feeDetailDiscounts = [];
|
||||
$that.staffAttendanceDetailInfo.details = [];
|
||||
vc.component._loadStaffAttendanceDetailInfo(_param);
|
||||
});
|
||||
},
|
||||
|
||||
@ -154,7 +154,7 @@
|
||||
_checkInLog: function(_day) {
|
||||
vc.emit('staffAttendanceDetail', 'openModel', {
|
||||
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