浏览代码

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

28169 1年前
父节点
当前提交
7667e5988d
共有 1 个文件被更改,包括 15 次插入15 次删除
  1. 15 15
      src/xt_pages/outpatientCharges/summary.vue

+ 15 - 15
src/xt_pages/outpatientCharges/summary.vue 查看文件

@@ -3862,22 +3862,22 @@ export default {
3862 3862
     },
3863 3863
     searchAction() {
3864 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 3882
     getTimes(time) {
3883 3883
       return uParseTime(time, '{y}-{m}-{d}')