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 + }, - +} + + +