csx 4 년 전
부모
커밋
32831cd15b
2개의 변경된 파일26개의 추가작업 그리고 2개의 파일을 삭제
  1. 24 0
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  2. 2 2
      src/xt_pages/outpatientCharges/summary.vue

+ 24 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 파일 보기

114
           <!--&gt;查待遇-->
114
           <!--&gt;查待遇-->
115
           <!--</el-button>-->
115
           <!--</el-button>-->
116
 
116
 
117
+          <el-button  size="small" @click="query" type="primary"
118
+          >查询
119
+          </el-button>
120
+
121
+
117
 
122
 
118
         </div>
123
         </div>
119
 
124
 
464
       this.getPatientList()
469
       this.getPatientList()
465
     },
470
     },
466
     methods: {
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
       getDepartment(department_id) {
491
       getDepartment(department_id) {
468
         for (let i = 0; i < this.department.length; i++) {
492
         for (let i = 0; i < this.department.length; i++) {
469
           if (this.department[i].id == department_id) {
493
           if (this.department[i].id == department_id) {

+ 2 - 2
src/xt_pages/outpatientCharges/summary.vue 파일 보기

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