陈少旭 8 月之前
父節點
當前提交
8cfe1710f3
共有 1 個文件被更改,包括 9 次插入4 次删除
  1. 9 4
      src/xt_pages/outpatientTool/components/gather.vue

+ 9 - 4
src/xt_pages/outpatientTool/components/gather.vue 查看文件

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