陈少旭 8 kuukautta sitten
vanhempi
commit
8cfe1710f3
1 muutettua tiedostoa jossa 9 lisäystä ja 4 poistoa
  1. 9 4
      src/xt_pages/outpatientTool/components/gather.vue

+ 9 - 4
src/xt_pages/outpatientTool/components/gather.vue Näytä tiedosto

@@ -60,6 +60,8 @@
60 60
           <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
61 61
 
62 62
         </el-popover> -->
63
+        <el-button size="small" type="primary" @click="query">查询</el-button>
64
+
63 65
         <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
64 66
       </div>
65 67
     </div>
@@ -158,9 +160,9 @@ export default {
158 160
     },
159 161
     changeDate() {
160 162
       // console.log(this.chargeDate)
161
-      this.getSummaryDetailList()
163
+      // this.getSummaryDetailList()
162 164
     },changeTimeItem(){
163
-      this.getSummaryDetailList()
165
+      // this.getSummaryDetailList()
164 166
     },
165 167
     changeItem() {
166 168
       this.new_item_type = this.item_type
@@ -169,14 +171,14 @@ export default {
169 171
       }else if(this.item_type == 5){
170 172
         this.new_item_type = -200
171 173
       }
172
-      this.getSummaryDetailList()
174
+      // this.getSummaryDetailList()
173 175
     }, uniquepid(arr) {
174 176
       const res = new Map()
175 177
       return arr.filter((arr) => !res.has(arr.p_id) && res.set(arr.p_id, 1))
176 178
     },
177 179
     searchAction() {
178 180
       this.item_type = '0'
179
-      this.getSummaryDetailList()
181
+      // this.getSummaryDetailList()
180 182
     },
181 183
     getSummaryDetailList() {
182 184
       this.gather_loading = true
@@ -480,6 +482,9 @@ export default {
480 482
       })
481 483
 
482 484
       return sums
485
+    },query(){
486
+      this.getSummaryDetailList()
487
+
483 488
     }, export_detail() {
484 489
 
485 490
       let list = []