From 4a13d58a1ce705e93b84d186a0e27cbd4bd8c4a6 Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 28 七月 2023 11:46:34 +0800
Subject: [PATCH] 班次利用率调取接口,渲染,测试,样式调整

---
 src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue |   37 ++++++++++++++++++++++++++++++++-----
 1 files changed, 32 insertions(+), 5 deletions(-)

diff --git a/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue b/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
index 7c32682..cdf0548 100644
--- a/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
+++ b/src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
@@ -345,13 +345,34 @@
       }
       this.checkedList = checkedList
     },
+    // searchQuery() {
+    //   if(this.queryParam.typeTree == "1"){
+    //     // this.queryParam.TreeIDTwo = ""
+    //     this.queryParam.parentId =  this.queryParamEquip.parentId
+    //     this.queryParam.equipmentId = this.queryParamEquip.equipmentId
+    //   }else{
+    //     // this.queryParam.TreeIDOne = ""
+    //     this.queryParam.parentId = this.queryParamPeople.parentId
+    //     this.queryParam.equipmentId = ""
+    //   }
+    //   this.loadData()
+    //   // this.onClearSelected()
+    // },
+    // searchReset() {
+    //   this.typeTree = this.queryParam.typeTree
+    //   this.typeParent =  this.queryParams.parentId
+    //   this.queryParam = {}
+    //   this.dates = []
+    //   this.queryParam.typeTree = this.typeTree
+    //   this.queryParam.parentId = this.typeParent
+    //   this.loadData()
+    //   // this.onClearSelected()
+    // },
     searchQuery() {
       if(this.queryParam.typeTree == "1"){
-        // this.queryParam.TreeIDTwo = ""
         this.queryParam.parentId =  this.queryParamEquip.parentId
         this.queryParam.equipmentId = this.queryParamEquip.equipmentId
       }else{
-        // this.queryParam.TreeIDOne = ""
         this.queryParam.parentId = this.queryParamPeople.parentId
         this.queryParam.equipmentId = ""
       }
@@ -360,12 +381,18 @@
     },
     searchReset() {
       this.typeTree = this.queryParam.typeTree
-      this.typeParent =  this.queryParams.parentId
+      this.typeParent =  this.queryParam.parentId
+      this.typeEquipment = this.queryParam.equipmentId
       this.queryParam = {}
       this.dates = []
       this.queryParam.typeTree = this.typeTree
       this.queryParam.parentId = this.typeParent
-      this.loadData()
+      this.queryParam.equipmentId =  this.typeEquipment
+      // this.ipagination.current = 1
+      this.loadData();
+      // this.queryParam = {}
+      // this.dates = []
+      // this.loadData()
       // this.onClearSelected()
     },
     loadData() {
@@ -379,7 +406,7 @@
           this.checkSameData1(this.dataList)
           this.checkSameData2(this.dataList)
           this.combineCell();
-          this.initDeviceType(this.dataList)
+          // this.initDeviceType(this.dataList)
 
         }
       })

--
Gitblit v1.9.3