From f96cde3f00526ff892b065e76c1b8a649e8e4703 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 5 Jun 2023 09:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=A1=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/hrm/clock_record.vue | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/views/hrm/clock_record.vue b/src/views/hrm/clock_record.vue index 2fa1d2d8..3d7a3ee6 100644 --- a/src/views/hrm/clock_record.vue +++ b/src/views/hrm/clock_record.vue @@ -265,23 +265,16 @@ rowData2[dateIndex+1] = recordList[j].create_time.substring(11,16)+'&'+recordList[j].exception_type; } } - - let num1=0,num2=0,numIndex=weekList.length; + // debugger; + // console.log(rowData1) + // console.log(rowData2) + let num1=0,numIndex=weekList.length; for(let i=0;inum2){ - rowData1[numIndex]=num1; - }else{ - rowData1[numIndex]=num2; - } + rowData1[numIndex]=num1-2; tableData.push(rowData1); tableData.push(rowData2); }