From 89d61026362e578eadfe1489b8f73811972193ff Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 8 Apr 2025 15:14:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E5=9C=A8=E7=BC=96=E5=8A=A0=E7=8F=AD?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/chart.js | 9 + src/views/attendance/otherovertimechart.vue | 249 ++++++++++++++++++++ src/views/attendance/overtimechart.vue | 13 +- 3 files changed, 260 insertions(+), 11 deletions(-) create mode 100644 src/views/attendance/otherovertimechart.vue diff --git a/src/api/chart.js b/src/api/chart.js index 4e27fda..4cfdf7a 100644 --- a/src/api/chart.js +++ b/src/api/chart.js @@ -17,3 +17,12 @@ export function overtimeList(params,isLoading = true) { isLoading }) } + +export function otherOvertimeList(params,isLoading = true) { + return request({ + method: 'get', + url: '/api/oa/chart/overtime-not-formal', + params, + isLoading + }) +} diff --git a/src/views/attendance/otherovertimechart.vue b/src/views/attendance/otherovertimechart.vue new file mode 100644 index 0000000..8fd09fe --- /dev/null +++ b/src/views/attendance/otherovertimechart.vue @@ -0,0 +1,249 @@ + + + + + diff --git a/src/views/attendance/overtimechart.vue b/src/views/attendance/overtimechart.vue index 0dba881..a7ed599 100644 --- a/src/views/attendance/overtimechart.vue +++ b/src/views/attendance/overtimechart.vue @@ -9,15 +9,7 @@ v-model="select.department_id" placeholder="请选择"> - - - + 搜索 @@ -71,8 +63,7 @@ page: 1, page_size: 10, month: this.$moment().format('YYYY-MM'), - department_id: '', - is_formal:1 + department_id: '', }, my_department_id:"", is_bgs:false, // 是否是办公室