From 0f6a536d317d7f5e127e1bf7b6697d1854c938cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Fri, 8 Aug 2025 10:25:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E5=8B=A4=E6=B1=87=E6=80=BB=E5=BF=AB?= =?UTF-8?q?=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gear-ui3/src/api/oa/attendanceSummary.js | 11 ++- .../attendance/components/attendancePage.vue | 20 ++---- .../attendance/components/snapshotDetail.vue | 44 ++++++++++-- .../src/views/peoples/attendance/snapshot.vue | 71 +++++++++++-------- 4 files changed, 96 insertions(+), 50 deletions(-) diff --git a/gear-ui3/src/api/oa/attendanceSummary.js b/gear-ui3/src/api/oa/attendanceSummary.js index 701a8e4..c7f959b 100644 --- a/gear-ui3/src/api/oa/attendanceSummary.js +++ b/gear-ui3/src/api/oa/attendanceSummary.js @@ -31,7 +31,7 @@ export function updateAttendanceSummary(data) { return request({ url: '/oa/attendanceSummary', method: 'put', - data: data + data }) } @@ -42,3 +42,12 @@ export function delAttendanceSummary(summaryId) { method: 'delete' }) } + +// 新增汇总 +export function addWithDetails(data) { + return request({ + url: '/oa/attendanceSummary/addWithDetails', + method: 'post', + data + }) +} diff --git a/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue b/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue index f28f02a..5ada332 100644 --- a/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue +++ b/gear-ui3/src/views/peoples/attendance/components/attendancePage.vue @@ -149,12 +149,6 @@ --> - { diff --git a/gear-ui3/src/views/peoples/attendance/components/snapshotDetail.vue b/gear-ui3/src/views/peoples/attendance/components/snapshotDetail.vue index f78fc72..a4e7be8 100644 --- a/gear-ui3/src/views/peoples/attendance/components/snapshotDetail.vue +++ b/gear-ui3/src/views/peoples/attendance/components/snapshotDetail.vue @@ -1,7 +1,7 @@ diff --git a/gear-ui3/src/views/peoples/attendance/snapshot.vue b/gear-ui3/src/views/peoples/attendance/snapshot.vue index d4e7fc3..297865d 100644 --- a/gear-ui3/src/views/peoples/attendance/snapshot.vue +++ b/gear-ui3/src/views/peoples/attendance/snapshot.vue @@ -28,14 +28,14 @@ - -