提交代码
parent
eed08d7f9d
commit
a06876aca5
|
@ -101,6 +101,7 @@ export default {
|
|||
this.$api.attendance.listAttendance(postData).then(d => {
|
||||
this.total = d.total || 0;
|
||||
this.tableData = (d.rows || []).map(it => {
|
||||
if (it.vendorsCode != "yanzhu") {
|
||||
let dt1 = it.attendanceTime;
|
||||
let dt2 = it.attendanceOutTime;
|
||||
if ((!dt1 || !dt2) || dt1 == dt2) {
|
||||
|
@ -113,6 +114,7 @@ export default {
|
|||
it.attendanceOutTime = dt;
|
||||
}
|
||||
}
|
||||
}
|
||||
it.scanPhoto = it.scanPhoto && it.scanPhoto.indexOf("/profile") == 0 ? "/jhapi" + it.scanPhoto : it.scanPhoto;
|
||||
return it;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue