From 5318e76bbef5ac0273b16402e4839233876f6ae8 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期一, 24 六月 2024 19:38:30 +0800
Subject: [PATCH] fix:修复了一部分bug

---
 src/views/employeeSalary/attendanceStatistics/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/employeeSalary/attendanceStatistics/index.vue b/src/views/employeeSalary/attendanceStatistics/index.vue
index 4680b7a..d3aa38f 100644
--- a/src/views/employeeSalary/attendanceStatistics/index.vue
+++ b/src/views/employeeSalary/attendanceStatistics/index.vue
@@ -50,7 +50,7 @@
 import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
 import AttendanceStatisticsDetails from  "@/views/employeeSalary/attendanceStatistics/components/AttendanceStatisticsDetails"
 import NewDate from "@/api/date";
-const { getCurrentMonth } = NewDate;
+const { getPreviousMonth } = NewDate;
 export default {
   name: "attendanceStatistics",
   props: {
@@ -69,7 +69,7 @@
         },
       },
       object:{
-        date:getCurrentMonth()
+        date:getPreviousMonth()
       },
       editRow:{
 
@@ -115,6 +115,7 @@
         tableInfomation: [],
         allcol: [],
         showcol: this.showCol,
+        headerHeight:'47px',
         tableColumn: this.setColumnVisible(this.showCol)
       }
       this.tableList.allcol = this.tableList.tableColumn.filter((ele) => !ele.default).map((ele) => ele.label)
@@ -168,8 +169,9 @@
                   for(let i in headerList.details){
                     tableColumn2.push({
                       label:headerList.details[i].date+'',
+                      weekDay:headerList.details[i].weekDay+'',
                       prop:'headerDate'+headerList.details[i].date,
-                      min:100,
+                      min:80,
                       default:true,
                       isCallMethod:true,
                       isClass: true,
@@ -246,7 +248,6 @@
       this.getData()
     },
     selCommonClick(row,prop,item){
-      
       let config=JSON.parse(JSON.stringify(row));
       let details=config.details
       let headerItem={}

--
Gitblit v1.8.0