From a1e9064bb4c0a41c9a1e389cdd0f0f9bab009309 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 08 十一月 2026 09:45:52 +0800
Subject: [PATCH] feat(hrm): 请假批量导入、加班选申请人、批量排班与节假日区间联动
---
src/views/hrm/leave/index.vue | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/views/hrm/leave/index.vue b/src/views/hrm/leave/index.vue
index d088fc2..35978ba 100644
--- a/src/views/hrm/leave/index.vue
+++ b/src/views/hrm/leave/index.vue
@@ -23,11 +23,22 @@
import { useGridColumns, useGridFormSchema } from './data';
import Form from './modules/form.vue';
+import ImportForm from './modules/import-form.vue';
const [FormModal, formModalApi] = useVbenModal({
connectedComponent: Form,
destroyOnClose: true,
});
+
+const [ImportModal, importModalApi] = useVbenModal({
+ connectedComponent: ImportForm,
+ destroyOnClose: true,
+});
+
+/** 鎵撳紑鎵归噺瀵煎叆 */
+function handleImport() {
+ importModalApi.open();
+}
/** 鍒锋柊琛ㄦ牸 */
function handleRefresh() {
@@ -148,6 +159,7 @@
<template>
<Page auto-content-height>
<FormModal @success="handleRefresh" />
+ <ImportModal @success="handleRefresh" />
<Grid table-title="璇峰亣鐢宠鍒楄〃">
<template #toolbar-tools>
<TableAction
@@ -159,6 +171,13 @@
auth: ['hrm:leave:create'],
onClick: handleCreate,
},
+ {
+ label: '瀵煎叆',
+ type: 'primary',
+ icon: ACTION_ICON.UPLOAD,
+ auth: ['hrm:leave:import'],
+ onClick: handleImport,
+ },
]"
/>
</template>
--
Gitblit v1.9.3