From 5620ab475b200182a4d990ee04b029396f1db2dd Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期三, 30 九月 2026 19:31:14 +0800
Subject: [PATCH] feat: 质检四模块导出按筛选条件、考勤节假日配置改为时间段
---
src/views/hrm/attendance/holiday/data.ts | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/hrm/attendance/holiday/data.ts b/src/views/hrm/attendance/holiday/data.ts
index 822451b..9ae34ac 100644
--- a/src/views/hrm/attendance/holiday/data.ts
+++ b/src/views/hrm/attendance/holiday/data.ts
@@ -29,11 +29,10 @@
rules: 'required',
},
{
- fieldName: 'date',
- label: '鏃ユ湡',
- component: 'DatePicker',
+ fieldName: 'dateRange',
+ label: '鏃ユ湡鍖洪棿',
+ component: 'RangePicker',
componentProps: {
- placeholder: '閫夋嫨鏃ユ湡',
valueFormat: 'YYYY-MM-DD',
style: { width: '100%' },
},
@@ -126,7 +125,14 @@
export function useGridColumns(): VxeTableGridOptions<HrmAttendanceHolidayApi.Holiday>['columns'] {
return [
{ field: 'name', title: '鑺傚亣鏃ュ悕绉�', minWidth: 150 },
- { field: 'date', title: '鏃ユ湡', width: 120 },
+ {
+ field: 'startDate',
+ title: '鏃ユ湡鍖洪棿',
+ minWidth: 200,
+ slots: {
+ default: 'dateRange',
+ },
+ },
{
field: 'type',
title: '绫诲瀷',
--
Gitblit v1.9.3