From 5cd5a5baa076377f3136338db7a9336d0d570d33 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期六, 24 十月 2026 19:47:33 +0800
Subject: [PATCH] feat(hrm): 前端同步新疆中亿装配的人力资源模块
---
src/views/hrm/attendance/exception/index.vue | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/views/hrm/attendance/exception/index.vue b/src/views/hrm/attendance/exception/index.vue
index 23522fb..acd5d7a 100644
--- a/src/views/hrm/attendance/exception/index.vue
+++ b/src/views/hrm/attendance/exception/index.vue
@@ -1,5 +1,4 @@
<script lang="ts" setup>
-import { automaticApproval } from '#/store/audit-policy';
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
import type { HrmAttendanceExceptionApi } from '#/api/hrm/attendance/exception';
@@ -49,15 +48,10 @@
/** 鎻愪氦鑰冨嫟寮傚父鐢宠 */
async function handleSubmit(row: HrmAttendanceExceptionApi.AttendanceException) {
- const res = automaticApproval.value ? [] : await getAttendanceExceptionApproveProcessList();
+ const res = await getAttendanceExceptionApproveProcessList();
processList.value = res;
currentRow.value = row;
selectedProcessKey.value = undefined;
- if (automaticApproval.value) {
- selectedProcessKey.value = 'hrm_attendance_exception';
- await confirmSubmit();
- return;
- }
submitModalVisible.value = true;
}
@@ -70,7 +64,7 @@
submitLoading.value = true;
try {
await submitAttendanceException(currentRow.value!.id!, selectedProcessKey.value);
- message.success(automaticApproval.value ? '宸叉彁浜ょ敓鏁�' : '鎻愪氦瀹℃壒鎴愬姛');
+ message.success('鎻愪氦瀹℃壒鎴愬姛');
submitModalVisible.value = false;
handleRefresh();
} finally {
--
Gitblit v1.9.3