From b2d9d1619a4325e82c13420fcb00c79adc31fab0 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 11 十二月 2024 10:04:50 +0800
Subject: [PATCH] 电路试验驻波比等数采

---
 src/components/do/b3-work-time-management/work-time-management.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/components/do/b3-work-time-management/work-time-management.vue b/src/components/do/b3-work-time-management/work-time-management.vue
index d38f8a2..d99450d 100644
--- a/src/components/do/b3-work-time-management/work-time-management.vue
+++ b/src/components/do/b3-work-time-management/work-time-management.vue
@@ -332,7 +332,8 @@
           }
         },
         requiredAdd: [],
-        requiredUp: []
+        requiredUp: [],
+        needSort: ['createTime', 'name']
 			},
       entityCopy: {},
 			upIndex: 0,
@@ -529,7 +530,6 @@
           if (power[i].menuMethod == 'insertAuxiliaryWorkingHoursDay') {
 						add = true
 					}
-          console.log(add)
           if (power[i].menuMethod == 'updateAuxiliaryWorkingHoursDay') {
 						up = true
 					}
@@ -679,11 +679,13 @@
       this.title = '瀹℃牳'
       this.formData0 = row;
       this.checkVisible = true
+      this.formData0.reviewerNumber = this.formData0.amount
     },
     handleRatify(row){
       this.title = '鎵瑰噯'
       this.formData0 = row;
       this.checkVisible = true
+      this.formData0.reviewerNumber = this.formData0.amount
     },
     handleChangeTask (row) {
       this.ValueTable0Selected = JSON.parse(JSON.stringify(row))
@@ -744,7 +746,7 @@
         }
         this.formData0.state = e==0?this.formData0.state:'宸插鏍�'
         this.$axios.post(this.$api.auxiliaryWorkingHoursDay.check, {
-            ...this.formData0
+          auxiliaryWorkingHoursDays:[this.formData0]
         }, {
           headers: {
             'Content-Type': 'application/json'
@@ -770,8 +772,10 @@
           this.checkLoadY = true
         }
         this.$axios.post(this.$api.auxiliaryWorkingHoursDay.approve, {
-            id:this.formData0.id,
-            state:e==0?'宸叉彁浜�':'宸叉壒鍑�'
+            auxiliaryWorkingHoursDays:[{
+              id:this.formData0.id,
+              state:e==0?'宸叉彁浜�':'宸叉壒鍑�'
+            }]
         }, {
           headers: {
             'Content-Type': 'application/json'

--
Gitblit v1.9.3