mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 22:27:55 +08:00
优化文档
This commit is contained in:
parent
7183ce6cf8
commit
9ca54f153a
@ -24,11 +24,14 @@
|
||||
<span @click="_replenishCheckIn(index)">补考勤</span>
|
||||
</div>
|
||||
<div>{{staffAttendanceManageInfo.curYear}}-{{staffAttendanceManageInfo.curMonth}}-{{index}}</div>
|
||||
<div>状态:
|
||||
<span v-html="_getAttendanceState(index)"></span>
|
||||
</div>
|
||||
<div v-for="(item,detailIndex) in _getAttendanceDetail(index)">{{item.specCd=='1001'?'上班':'下班'}}:{{item.stateName}}
|
||||
<span v-if="item.checkTime">({{item.checkTime}})</span>
|
||||
<div v-for="(item,detailIndex) in _getAttendanceDetail(index)">
|
||||
<div v-if="item.rest">休息</div>
|
||||
<div v-else>
|
||||
{{item.specCd=='1001'?'上班':'下班'}}:
|
||||
<span v-if="item.state != '10000'">{{vc.timeFormat(item.checkTime)}}</span>
|
||||
<span v-else> - </span>
|
||||
<span>({{item.stateName}})</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<a href="javascript:void(0)" @click="_checkInLog(index)">考勤记录</a>
|
||||
|
||||
@ -92,7 +92,9 @@
|
||||
_getAttendanceDetail: function (_day) {
|
||||
let _attendance = $that._getDayAttendance(_day);
|
||||
if (!_attendance) {
|
||||
return [];
|
||||
return [{
|
||||
rest:'休息',
|
||||
}];
|
||||
}
|
||||
return _attendance.attendanceClassesTaskDetails;
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user