From c0ddafe4d7c83032bcf5f211aa64ef4ddd9c56ec Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Wed, 19 Feb 2025 13:29:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E6=8A=A5=E8=A1=A8=E3=80=81=E6=9C=88?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=8A=A5=E8=A1=A8-=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=89=93=E5=8D=A1=E8=AE=B0=E5=BD=95=E5=B1=95=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/report/monthReport.js | 10 + src/api/report/monthlyError.js | 9 + src/views/report/monthReport/index.vue | 79 ++- src/views/report/monthlyError/index.vue | 882 +++++++++++++----------- 4 files changed, 582 insertions(+), 398 deletions(-) diff --git a/src/api/report/monthReport.js b/src/api/report/monthReport.js index 3d06086..fac4a03 100644 --- a/src/api/report/monthReport.js +++ b/src/api/report/monthReport.js @@ -19,3 +19,13 @@ export function exportMonthReport(query) { params: query }) } + + +// 查询外出次数查询列表 +export function getClockingRecordListByUserId(query) { + return request({ + url: '/system/attDetails/getClockingRecordListByUserId', + method: 'get', + params: query + }) +} diff --git a/src/api/report/monthlyError.js b/src/api/report/monthlyError.js index 9fce7dd..97e1b59 100644 --- a/src/api/report/monthlyError.js +++ b/src/api/report/monthlyError.js @@ -30,3 +30,12 @@ export function exportMonthlyError(query) { }) } +// 查询外出次数查询列表 +export function getClockingRecordListByUserId(query) { + return request({ + url: '/system/attDetails/getClockingRecordListByUserId', + method: 'get', + params: query + }) +} + diff --git a/src/views/report/monthReport/index.vue b/src/views/report/monthReport/index.vue index b6092a1..3af13c4 100644 --- a/src/views/report/monthReport/index.vue +++ b/src/views/report/monthReport/index.vue @@ -124,6 +124,14 @@ + + + + {{ scope.row.clockingRecordNum }} + + + + + + + + + + + + + + + + + {{ (queryAttCount.pageNum - 1) * queryAttCount.pageSize + scope.$index + 1 }} + + + + + {{ formatDate(scope.row.attCurrentDay) }} + + + + + + + + + + diff --git a/src/views/report/monthlyError/index.vue b/src/views/report/monthlyError/index.vue index 5ef24b9..32c7bad 100644 --- a/src/views/report/monthlyError/index.vue +++ b/src/views/report/monthlyError/index.vue @@ -1,150 +1,174 @@ - - - - - + + + + + - - - - - - - - - 查询 - 重置 - 导出数据 - - + + + + + + + + + 查询 + 重置 + 导出数据 + + + - - + + {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} - - - - - - - - {{ scope.row.normalNum}} - + + + + + + + + {{ scope.row.normalNum }} + - - - - - {{ scope.row.lateNum}} - + + + + + {{ scope.row.lateNum }} + - - - - - {{ scope.row.earlyNum}} - + + + + + {{ scope.row.earlyNum }} + - - - - - {{ scope.row.skippingNum}} - + + + + + {{ scope.row.skippingNum }} + - - - - - {{ scope.row.addressErrorNum}} - + + + + + {{ scope.row.addressErrorNum }} + - - + + + + {{ scope.row.leaveNum }} + - --> - - - - {{ scope.row.leaveNum}} - - - - + - + + + + {{ scope.row.clockingRecordNum }} + + + - - - - + + + + + + + + + > 查询 重置 - + - + - - {{ (queryRecord.pageNum - 1) * queryRecord.pageSize + scope.$index + 1 }} - - - + + {{ (queryRecord.pageNum - 1) * queryRecord.pageSize + scope.$index + 1 }} + + + \ @@ -154,16 +178,16 @@ - - - + + + - - - + + + @@ -176,285 +200,355 @@ @pagination="getListRecord" /> - + - - - + queryRecord: { + pageNum: 1, + pageSize: 10, + userId: undefined, + attStatis: undefined, + attCurrent: undefined + }, + // 表单参数 + pickerOptions: { + disabledDate: this.disabledDate + }, - +} + + +