Browse Source

feat:修改考勤显示列宽

DESKTOP-USV654P\pc 4 months ago
parent
commit
1c42845c0d
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/views/attendance/teacherStatistics/data.config.ts

+ 8 - 8
src/views/attendance/teacherStatistics/data.config.ts

@@ -54,6 +54,7 @@ export const tableStatisticsColumns: BasicColumn[] = [
     title: '统计名称',
     dataIndex: 'name',
     align: 'left',
+    width: 300,
   },
   {
     title: '统计时间段',
@@ -68,19 +69,18 @@ export const tableStatisticsColumns: BasicColumn[] = [
     title: '关联考勤规则',
     dataIndex: 'ruleName',
     align: 'left',
-    width: 150,
   },
   {
     title: '统计人数',
     dataIndex: 'personCount',
     align: 'left',
-    width: 80,
+    width: 100,
   },
   {
     title: '应出勤天数',
     dataIndex: 'attendanceDays',
     align: 'left',
-    width: 80,
+    width: 100,
   },
   {
     title: '状态',
@@ -163,35 +163,35 @@ export const formDetailSchema: BasicColumn[] = [
     title: '教师姓名',
     dataIndex: 'name',
     align: 'left',
-    width: 80,
+    width: 200,
   },
   {
     title: '工号',
     dataIndex: 'userName',
     align: 'left',
+    width: 200,
   },
   {
     title: '部门',
     dataIndex: 'deptName',
     align: 'left',
-    width: 180,
   },
   {
     title: '正常考勤次数',
     dataIndex: 'normalCount',
     align: 'left',
-    width: 150,
+    width: 200,
   },
   {
     title: '请假次数',
     dataIndex: 'leaveCount',
     align: 'left',
-    width: 150,
+    width: 200,
   },
   {
     title: '旷工次数',
     dataIndex: 'absenteeCount',
     align: 'left',
-    width: 80,
+    width: 200,
   },
 ];