Bladeren bron

提交代码

陈少旭 1 jaar geleden
bovenliggende
commit
862f0f4b9f
1 gewijzigde bestanden met toevoegingen van 20 en 1 verwijderingen
  1. 20 1
      src/xt_pages/outpatientCharges/summary.vue

+ 20 - 1
src/xt_pages/outpatientCharges/summary.vue Bestand weergeven

@@ -66,6 +66,16 @@
66 66
             </el-option>
67 67
           </el-select>
68 68
 
69
+
70
+          <el-select v-model="medTypeVal" placeholder="请选择医疗类别" style="margin-right:20px;" @change="handleMedChange">
71
+            <el-option
72
+              v-for="item in med_options"
73
+              :key="item.id"
74
+              :label="item.text"
75
+              :value="item.id">
76
+            </el-option>
77
+          </el-select>
78
+
69 79
           <!-- <el-date-picker
70 80
               size="small"
71 81
               v-model="start_time"
@@ -496,6 +506,11 @@ export default {
496 506
     return {
497 507
       orderObj: {},
498 508
       batchOrderObj:{},
509
+      med_options:[
510
+        { id: 0, text: '全部' },
511
+        { id: 11, text: '普通门诊' },
512
+        { id: 14, text: '门诊特殊病' },
513
+      ],
499 514
       zone_options: [
500 515
         { id: 0, text: '全部分区' }
501 516
       ],
@@ -515,6 +530,7 @@ export default {
515 530
       keywords: "",
516 531
       sch_type:"0",//班次
517 532
       zoneVal:0,//分区
533
+      medTypeVal:0,
518 534
       start_time: moment(new Date()).add('year',0).format("YYYY-MM-DD"),
519 535
       end_time: moment(new Date()).add('year',0).format("YYYY-MM-DD"),
520 536
       total: "",
@@ -583,6 +599,8 @@ export default {
583 599
     handleSchType(val){
584 600
       this.sch_type = val
585 601
       this.getHisOrderList()
602
+    },handleMedChange(){
603
+      this.getHisOrderList()
586 604
     },
587 605
     handleZoneChange(val){
588 606
       this.zoneVal = val
@@ -3577,7 +3595,8 @@ export default {
3577 3595
         p_type: 2,
3578 3596
         sort_type: this.sort_type,
3579 3597
         sch_type: this.sch_type,
3580
-        zone_type: this.zoneVal
3598
+        zone_type: this.zoneVal,
3599
+        med_type: this.medTypeVal
3581 3600
       };
3582 3601
       getHisOrderList(params).then((response) => {
3583 3602
         if (response.data.state == 0) {