28169 1 gadu atpakaļ
vecāks
revīzija
c76b158606
1 mainītis faili ar 2 papildinājumiem un 17 dzēšanām
  1. 2 17
      src/xt_pages/dialysis/details/index.vue

+ 2 - 17
src/xt_pages/dialysis/details/index.vue Parādīt failu

@@ -2372,12 +2372,6 @@ export default {
2372 2372
           })
2373 2373
 
2374 2374
           // console.log("newArrwowowowowoowwowo",newArr)
2375
-          if(this.tableData!=null){
2376
-            for(let i=0;i<this.tableData.length;i++){
2377
-              this.$refs.tab.setCurrentRow(this.tableData[i])
2378
-            }
2379
-          } 
2380
-         
2381 2375
           this.tableData = newArr
2382 2376
           this.getData()
2383 2377
 
@@ -2729,11 +2723,6 @@ export default {
2729 2723
         }
2730 2724
 
2731 2725
         this.tableData1 = newArr
2732
-        if(this.tableData1!=null){
2733
-           for(let i=0;i<this.tableData1.length;i++){
2734
-            this.$refs.tab1.setCurrentRow(this.tableData1[i])
2735
-           }
2736
-        }
2737 2726
         const name = this.$route.query.patient_name
2738 2727
         this.tableData1.map((item, index) => {
2739 2728
           if (name == item.patient.name) {
@@ -3277,12 +3266,8 @@ export default {
3277 3266
         // this.end_time = moment().month(months).endOf('month').format('YYYY-MM-DD')
3278 3267
         // console.log('rrrrr',this.start_time,this.end_time);
3279 3268
         // this.end_time =   moment(oldValue).format('YYYY-MM-DD')
3280
-     
3281
-      },
3282
-      
3283
-    },
3284
-   
3285
-
3269
+      }
3270
+    }
3286 3271
   }
3287 3272
 }
3288 3273
 </script>