28169 преди 2 години
родител
ревизия
a013f58549
променени са 1 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. 10 10
      src/xt_pages/workforce/components/tableData.vue

+ 10 - 10
src/xt_pages/workforce/components/tableData.vue Целия файл

69
           @click="search"
69
           @click="search"
70
 
70
 
71
       >搜索</el-button>
71
       >搜索</el-button>
72
-      <!-- <div class="switch">
72
+      <div class="switch">
73
         <el-switch
73
         <el-switch
74
           v-model="value1"
74
           v-model="value1"
75
           active-text="显示灌流器"
75
           active-text="显示灌流器"
76
           @change="switchThis(value1)">
76
           @change="switchThis(value1)">
77
           
77
           
78
         </el-switch>
78
         </el-switch>
79
-      </div> -->
79
+      </div>
80
     </div>
80
     </div>
81
 
81
 
82
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%">
82
     <!-- <el-dialog :visible.sync="searchTableVisible" width="80%">
862
     }
862
     }
863
   },
863
   },
864
   methods: {
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
     getData(){
874
     getData(){
875
       return this.scheduleZone
875
       return this.scheduleZone