From 8feea28b1d7ca211f6dbbae1f0bf8474cfe1c077 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 26 四月 2024 15:16:36 +0800
Subject: [PATCH] 增薪资方案增加清除的操作+清除操作的逻辑处理点击一次清除上次点击的内容,并且重新组合数据渲染对应样式

---
 src/views/employeeSalary/attendanceStatistics/index.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/employeeSalary/attendanceStatistics/index.vue b/src/views/employeeSalary/attendanceStatistics/index.vue
index 836dfb2..aae1194 100644
--- a/src/views/employeeSalary/attendanceStatistics/index.vue
+++ b/src/views/employeeSalary/attendanceStatistics/index.vue
@@ -157,10 +157,10 @@
                 { label: "鏈堜唤", prop: "month", min: 90 ,fixed:'left'},
               ];
               let tableColumn3=[
-                { label: "宸ヤ綔鏃ュ姞鐝椂闀�(灏忔椂)", prop: "weekdayOverTime", min: 140,fixed:'right'}, 
-                { label: "浼戞伅鏃ュ姞鐝椂闀�(灏忔椂)", prop: "restDayOverTime", min: 140,fixed:'right' },
-                { label: "搴斿嚭鍕ゅぉ鏁�", prop: "requiredAttendanceDays", min: 110 ,fixed:'right'},
-                { label: "瀹為檯鍑哄嫟澶╂暟", prop: "actualAttendanceDays", min: 110,fixed:'right'}, 
+                { label: "宸ヤ綔鏃ュ姞鐝椂闀�(灏忔椂)", prop: "weekdayOverTime", min: 140,}, 
+                { label: "浼戞伅鏃ュ姞鐝椂闀�(灏忔椂)", prop: "restDayOverTime", min: 140, },
+                { label: "搴斿嚭鍕ゅぉ鏁�", prop: "requiredAttendanceDays", min: 110 ,},
+                { label: "瀹為檯鍑哄嫟澶╂暟", prop: "actualAttendanceDays", min: 110,}, 
               ]
               let tableColumn2=[]
               let headerList=res.data.list.length>0?res.data.list[0]:[]
@@ -168,8 +168,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:90,
                       default:true,
                       isCallMethod:true,
                       isClass: true,
@@ -246,7 +247,6 @@
       this.getData()
     },
     selCommonClick(row,prop,item){
-      
       let config=JSON.parse(JSON.stringify(row));
       let details=config.details
       let headerItem={}

--
Gitblit v1.8.0