From f2bafe58400ee0f8469abff15d37bfc0904e888b Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 6 May 2025 17:35:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E4=BC=91=E7=BB=9F=E8=AE=A1=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/chart.js | 11 ++ src/views/attendance/leavedetailchart.vue | 198 ++++++++++++++++++++++ src/views/flow/DesktopForm.vue | 1 + 3 files changed, 210 insertions(+) create mode 100644 src/views/attendance/leavedetailchart.vue diff --git a/src/api/chart.js b/src/api/chart.js index 4cfdf7a..7b00d9e 100644 --- a/src/api/chart.js +++ b/src/api/chart.js @@ -9,6 +9,15 @@ export function leaveList(params, isLoading = true) { }) } +export function leaveDetail(params, isLoading = true) { + return request({ + method: 'get', + url: '/api/oa/chart/leave-detail', + params, + isLoading + }) +} + export function overtimeList(params,isLoading = true) { return request({ method: 'get', @@ -26,3 +35,5 @@ export function otherOvertimeList(params,isLoading = true) { isLoading }) } + + diff --git a/src/views/attendance/leavedetailchart.vue b/src/views/attendance/leavedetailchart.vue new file mode 100644 index 0000000..123d1ad --- /dev/null +++ b/src/views/attendance/leavedetailchart.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/flow/DesktopForm.vue b/src/views/flow/DesktopForm.vue index aa833cb..2810ee8 100644 --- a/src/views/flow/DesktopForm.vue +++ b/src/views/flow/DesktopForm.vue @@ -235,6 +235,7 @@ export default { this.readable.indexOf(field.id) !== -1 || field.type === "label", _writeable: this.writeable.indexOf(field.id) !== -1, })); + console.log("authFields",authFields) if (this.needFlowTitle) { authFields.unshift({ name: "flow_title",