csx 4 years ago
parent
commit
32831cd15b

+ 24 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -114,6 +114,11 @@
114 114
           <!--&gt;查待遇-->
115 115
           <!--</el-button>-->
116 116
 
117
+          <el-button  size="small" @click="query" type="primary"
118
+          >查询
119
+          </el-button>
120
+
121
+
117 122
 
118 123
         </div>
119 124
 
@@ -464,6 +469,25 @@
464 469
       this.getPatientList()
465 470
     },
466 471
     methods: {
472
+      query(){
473
+        if (this.$store.getters.xt_user.org_id == 4) {
474
+          var that = this
475
+          axios.get('http://127.0.0.1:9532/api/org/info', {
476
+            params: {}
477
+          })
478
+            .then(function(response) {
479
+              if (response.data.state == 0) {
480
+                that.$message.error(response.data.msg)
481
+                return false
482
+              } else {
483
+
484
+              }
485
+            })
486
+            .catch(function(error) {
487
+
488
+            })
489
+        }
490
+      },
467 491
       getDepartment(department_id) {
468 492
         for (let i = 0; i < this.department.length; i++) {
469 493
           if (this.department[i].id == department_id) {

+ 2 - 2
src/xt_pages/outpatientCharges/summary.vue View File

@@ -40,7 +40,7 @@
40 40
           <!--<el-radio v-model="radio" label="2">汇总</el-radio>-->
41 41
         </div>
42 42
         <div>
43
-          <!-- <el-popover
43
+        <el-popover
44 44
             placement="bottom"
45 45
             width="210"
46 46
             trigger="click">
@@ -48,7 +48,7 @@
48 48
             <el-button size="small" ref="button_six" @click="open(2)">打印汇总</el-button>
49 49
             <el-button slot="reference" style="margin:0 10px;" type="primary" size="small">打印</el-button>
50 50
 
51
-          </el-popover> -->
51
+          </el-popover>
52 52
           <el-button size="small" type="primary" @click="export_detail">报表下载</el-button>
53 53
         </div>
54 54
       </div>