From bbb54adc8d9fd6ae6b87ac036c8b21f3ad7daef4 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 16 七月 2026 10:05:40 +0800
Subject: [PATCH] 工作台报工完善
---
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