From cb9cd49627b65a4c0e137e08063271a8cefe1826 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 23 七月 2026 17:48:49 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_pro2.0' into dev_pro2.0
---
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