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/leave/index.vue |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/views/hrm/leave/index.vue b/src/views/hrm/leave/index.vue
index e1585a2..d088fc2 100644
--- a/src/views/hrm/leave/index.vue
+++ b/src/views/hrm/leave/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 { HrmLeaveApi } from '#/api/hrm/leave';
 
@@ -73,14 +72,9 @@
 
 /** 鎻愪氦璇峰亣鐢宠锛堝厛閫夋嫨瀹℃壒娴佺▼锛� */
 async function handleSubmit(row: HrmLeaveApi.Leave) {
-  processList.value = automaticApproval.value ? [] : await getLeaveApproveProcessDefinitionList();
+  processList.value = await getLeaveApproveProcessDefinitionList();
   currentRow.value = row;
   selectedProcessKey.value = undefined;
-  if (automaticApproval.value) {
-    selectedProcessKey.value = 'hrm_leave';
-    await confirmSubmit();
-    return;
-  }
   submitModalVisible.value = true;
 }
 

--
Gitblit v1.9.3