From 0cd08f4a03daa6516d7600e409c2e15859d237d8 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期四, 05 十一月 2026 13:49:12 +0800
Subject: [PATCH] feat(bpm/hrm): 流程模型默认流程图、考勤统计按日筛选

---
 src/views/hrm/attendance/summary/data.ts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/hrm/attendance/summary/data.ts b/src/views/hrm/attendance/summary/data.ts
index 02c53a2..3a51a95 100644
--- a/src/views/hrm/attendance/summary/data.ts
+++ b/src/views/hrm/attendance/summary/data.ts
@@ -10,16 +10,16 @@
 export function useGridFormSchema(): VbenFormSchema[] {
   return [
     {
-      fieldName: 'yearMonth',
-      label: '骞存湀',
-      component: 'DatePicker',
+      // 鎸夋棩鍖洪棿绛涢�夛細浼犱簡鏃ユ湡灏卞疄鏃剁粺璁″尯闂村唴鐨勮�冨嫟锛涗笉浼犲垯鐪嬪凡鐢熸垚鐨勬湀搴︽眹鎬�
+      fieldName: 'dateRange',
+      label: '缁熻鏃ユ湡',
+      component: 'RangePicker',
       componentProps: {
-        picker: 'month',
         allowClear: true,
-        valueFormat: 'YYYY-MM',
-        format: 'YYYY-MM',
+        valueFormat: 'YYYY-MM-DD',
+        format: 'YYYY-MM-DD',
         style: { width: '100%' },
-        placeholder: '閫夋嫨骞存湀',
+        placeholder: ['寮�濮嬫棩鏈�', '缁撴潫鏃ユ湡'],
       },
     },
     {
@@ -56,7 +56,7 @@
   return [
     { field: 'userName', title: '鍛樺伐濮撳悕', minWidth: 100 },
     { field: 'deptName', title: '閮ㄩ棬', minWidth: 120 },
-    { field: 'yearMonth', title: '骞存湀', width: 100 },
+    { field: 'yearMonth', title: '缁熻鍖洪棿', width: 190 },
     { field: 'workDays', title: '搴斿嚭鍕ゅぉ鏁�', width: 100 },
     { field: 'actualDays', title: '瀹為檯鍑哄嫟澶╂暟', width: 110 },
     {

--
Gitblit v1.9.3