Browse Source

新分支

28169 2 years ago
parent
commit
a013f58549
1 changed files with 10 additions and 10 deletions
  1. 10 10
      src/xt_pages/workforce/components/tableData.vue

+ 10 - 10
src/xt_pages/workforce/components/tableData.vue View File

@@ -69,14 +69,14 @@
69 69
           @click="search"
70 70
 
71 71
       >搜索</el-button>
72
-      <!-- <div class="switch">
72
+      <div class="switch">
73 73
         <el-switch
74 74
           v-model="value1"
75 75
           active-text="显示灌流器"
76 76
           @change="switchThis(value1)">
77 77
           
78 78
         </el-switch>
79
-      </div> -->
79
+      </div>
80 80
     </div>
81 81
 
82 82
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%">
@@ -862,14 +862,14 @@ export default {
862 862
     }
863 863
   },
864 864
   methods: {
865
-    // switchThis(flag){
866
-    // //   // if(this.value1==true){
867
-    // //   //   this.value1=false
868
-    // //   // }
869
-    //   // this.value1=true
870
-    //   //  this.value1 =!flag
871
-    //     flag =! this.value1
872
-    // },
865
+    switchThis(flag){
866
+    //   // if(this.value1==true){
867
+    //   //   this.value1=false
868
+    //   // }
869
+      // this.value1=true
870
+      //  this.value1 =!flag
871
+        flag =! this.value1
872
+    },
873 873
 
874 874
     getData(){
875 875
       return this.scheduleZone