Pārlūkot izejas kodu

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 gadu atpakaļ
vecāks
revīzija
7667e5988d
1 mainītis faili ar 15 papildinājumiem un 15 dzēšanām
  1. 15 15
      src/xt_pages/outpatientCharges/summary.vue

+ 15 - 15
src/xt_pages/outpatientCharges/summary.vue Parādīt failu

3862
     },
3862
     },
3863
     searchAction() {
3863
     searchAction() {
3864
       this.page = 1
3864
       this.page = 1
3865
-      const tableData = this.tableData
3866
-      if (this.keywords.length == 0) {
3867
-        this.getHisOrderList()
3868
-      } else {
3869
-        console.log('6666666',tableData);
3870
-        let arr = []
3871
-        for (let i = 0; i < tableData.length; i++) {
3865
+      // const tableData = this.tableData
3866
+      // if (this.keywords.length == 0) {
3867
+      //   this.getHisOrderList()
3868
+      // } else {
3869
+      //   console.log('6666666',tableData);
3870
+      //   let arr = []
3871
+      //   for (let i = 0; i < tableData.length; i++) {
3872
           
3872
           
3873
-          if (tableData[i].patient.name.indexOf(this.keywords) != -1 || 
3874
-            tableData[i].patient.first_letter.indexOf(this.keywords) != -1) {
3875
-            arr = arr.concat(tableData[i])
3876
-          }
3877
-        }
3878
-        this.tableData = arr
3879
-      }
3880
-      // this.getHisOrderList()
3873
+      //     if (tableData[i].patient.name.indexOf(this.keywords) != -1 || 
3874
+      //       tableData[i].patient.first_letter.indexOf(this.keywords) != -1) {
3875
+      //       arr = arr.concat(tableData[i])
3876
+      //     }
3877
+      //   }
3878
+      //   this.tableData = arr
3879
+      // }
3880
+      this.getHisOrderList()
3881
     },
3881
     },
3882
     getTimes(time) {
3882
     getTimes(time) {
3883
       return uParseTime(time, '{y}-{m}-{d}')
3883
       return uParseTime(time, '{y}-{m}-{d}')