更改导出打卡时间取值
This commit is contained in:
parent
c68b834b98
commit
f9b779a237
|
@ -205,8 +205,6 @@ export default {
|
||||||
promiseList.push(that.getOneData(item.id))
|
promiseList.push(that.getOneData(item.id))
|
||||||
})
|
})
|
||||||
Promise.all(promiseList).then(res=> {
|
Promise.all(promiseList).then(res=> {
|
||||||
// debugger;
|
|
||||||
// console.log(res)
|
|
||||||
that.userList.forEach ((item,index)=> {
|
that.userList.forEach ((item,index)=> {
|
||||||
let recordList = res[index];
|
let recordList = res[index];
|
||||||
rowData1 = [
|
rowData1 = [
|
||||||
|
@ -218,7 +216,7 @@ export default {
|
||||||
'下班打卡',
|
'下班打卡',
|
||||||
]
|
]
|
||||||
recordList.forEach(recordItem=>{
|
recordList.forEach(recordItem=>{
|
||||||
let dateInd = new Date(recordItem.update_time).getDate();
|
let dateInd = new Date(recordItem.create_time).getDate();
|
||||||
let dateIndex = parseInt(dateInd);
|
let dateIndex = parseInt(dateInd);
|
||||||
if(recordItem.type==10){
|
if(recordItem.type==10){
|
||||||
rowData1[dateIndex+1] = '√';
|
rowData1[dateIndex+1] = '√';
|
||||||
|
|
Loading…
Reference in New Issue