From 4ffc61bbe8dd6ec89965a8e2448725f514075b53 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 08 七月 2026 13:29:32 +0800
Subject: [PATCH] 银川 1.考勤管理页面开发、联调
---
src/api/hrm/attendance/exception/index.ts | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/api/hrm/attendance/exception/index.ts b/src/api/hrm/attendance/exception/index.ts
index 5bb1014..1e822e3 100644
--- a/src/api/hrm/attendance/exception/index.ts
+++ b/src/api/hrm/attendance/exception/index.ts
@@ -19,6 +19,12 @@
remark?: string;
createTime?: string;
}
+
+ /** 瀹℃壒娴佺▼ */
+ export interface ApproveProcess {
+ key: string;
+ name: string;
+ }
}
/** 鏌ヨ鑰冨嫟寮傚父鐢宠鍒嗛〉鍒楄〃 */
@@ -44,6 +50,15 @@
}
/** 鎻愪氦鑰冨嫟寮傚父鐢宠 */
-export function submitAttendanceException(id: number) {
- return requestClient.post(`/hrm/attendance/exception/submit?id=${id}`);
+export function submitAttendanceException(id: number, processDefinitionKey: string) {
+ return requestClient.post('/hrm/attendance/exception/submit', null, {
+ params: { id, processDefinitionKey },
+ });
+}
+
+/** 鑾峰彇鑰冨嫟寮傚父瀹℃壒娴佺▼鍒楄〃 */
+export function getAttendanceExceptionApproveProcessList() {
+ return requestClient.get<HrmAttendanceExceptionApi.ApproveProcess[]>(
+ '/hrm/attendance/exception/approve-process-list',
+ );
}
\ No newline at end of file
--
Gitblit v1.9.3