更改导出打卡时间取值

This commit is contained in:
shijing 2023-03-03 14:31:01 +08:00
parent c68b834b98
commit f9b779a237
1 changed files with 1 additions and 3 deletions

View File

@ -205,8 +205,6 @@ export default {
promiseList.push(that.getOneData(item.id))
})
Promise.all(promiseList).then(res=> {
// debugger;
// console.log(res)
that.userList.forEach ((item,index)=> {
let recordList = res[index];
rowData1 = [
@ -218,7 +216,7 @@ export default {
'下班打卡',
]
recordList.forEach(recordItem=>{
let dateInd = new Date(recordItem.update_time).getDate();
let dateInd = new Date(recordItem.create_time).getDate();
let dateIndex = parseInt(dateInd);
if(recordItem.type==10){
rowData1[dateIndex+1] = '√';