XMLWAN 4 years ago
parent
commit
9426d8add9

+ 2 - 0
src/main.js View File

@@ -58,3 +58,5 @@ new Vue({
58 58
 Vue.prototype.Base64 = require('js-base64').Base64
59 59
 
60 60
 
61
+
62
+

+ 1 - 1
src/xt_pages/outpatientCharges/newStatementPrint.vue View File

@@ -152,7 +152,7 @@
152 152
 
153 153
       },
154 154
       getInfo(order_id) {
155
-        if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919) {
155
+        if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 9671 ) {
156 156
 
157 157
           var that = this
158 158
 

+ 13 - 12
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -136,13 +136,13 @@
136 136
                         </el-button>
137 137
 
138 138
                         <el-button
139
-                                v-if="this.$store.getters.xt_user.org_id == 9919 "
139
+                                v-if="this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 "
140 140
                                 size="small" @click="open(10)" type="primary"
141 141
                         >退号
142 142
                         </el-button>
143 143
 
144 144
                         <el-button
145
-                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
145
+                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671"
146 146
                                 size="small" @click="open(11)" type="primary"
147 147
                         >撤销明细
148 148
                         </el-button>
@@ -633,7 +633,7 @@
633 633
                   that.radio = 2
634 634
                   that.$refs.charge.hide()
635 635
                   that.state = '已收费'
636
-                  that.$message({ message: '收费成功', type: 'success' })
636
+                  that.$message({ message: '收费成功', type: 'success'})
637 637
                   that.loadingtwo = false
638 638
                   that.cal_one = this.cal_one - 1
639 639
                   that.cal_two = this.cal_two + 1
@@ -645,7 +645,8 @@
645 645
 
646 646
             })
647 647
 
648
-        } else if (this.$store.getters.xt_user.org_id == 9919) {
648
+        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 9671 ) {
649
+
649 650
           var that = this
650 651
           axios.get('http://127.0.0.1:9532/api/upload/get', {
651 652
             params: form
@@ -663,7 +664,7 @@
663 664
                 that.$refs.charge.hide()
664 665
                 that.loadingtwo = false
665 666
                 that.state = '已收费'
666
-                that.$message({ message: '收费成功', type: 'success' })
667
+                that.$message({ message: '收费成功', type: 'success',duration:5000 })
667 668
                 that.loadingtwo = false
668 669
                 that.cal_one = this.cal_one - 1
669 670
                 that.cal_two = this.cal_two + 1
@@ -788,8 +789,8 @@
788 789
 
789 790
         var that = this
790 791
 
791
-        if ( this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 9504) {
792
-
792
+        if ( this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 9504 ) {
793
+         
793 794
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
794 795
             params: forms
795 796
           })
@@ -858,7 +859,7 @@
858 859
 
859 860
             })
860 861
 
861
-        } else if (this.$store.getters.xt_user.org_id == 9919 ) {
862
+        } else if (this.$store.getters.xt_user.org_id == 9919  ||  this.$store.getters.xt_user.org_id == 9671   ) {
862 863
 
863 864
           axios.get('http://127.0.0.1:9532/api/register/get', {
864 865
             params: forms
@@ -931,7 +932,7 @@
931 932
               return false
932 933
             } else {
933 934
               this.getPatientList()
934
-              this.$message({ message: '挂号成功', type: 'success' })
935
+              this.$message({ message: '挂号成功', type: 'success',duration:5000 })
935 936
               this.$refs.register.hide()
936 937
               this.loadingone = false
937 938
               var his_info = response.data.data.his_info
@@ -1475,8 +1476,8 @@
1475 1476
           }
1476 1477
 
1477 1478
         } else if (index == 5) {
1478
-          if (this.$store.getters.xt_user.org_id == 9919 ) {
1479
-
1479
+          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 9671) {
1480
+            console.log("处方222")
1480 1481
             var that = this
1481 1482
             this.$confirm('是否退费', '退费', {
1482 1483
               confirmButtonText: '确 定',
@@ -1502,7 +1503,7 @@
1502 1503
                     return false
1503 1504
                   } else {
1504 1505
                     that.changeRadio(1)
1505
-                    that.$message({ message: '退费成功', type: 'success' })
1506
+                    that.$message({ message: '退费成功', type: 'success',duration:5000 })
1506 1507
                     that.loadingtwo = false
1507 1508
 
1508 1509
                   }

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

@@ -150,8 +150,8 @@ export default {
150 150
 
151 151
     },
152 152
     getInfo(order_id) {
153
-      if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919) {
154
-
153
+      if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 9671) {
154
+         
155 155
         var that = this
156 156
 
157 157
         axios.get('http://127.0.0.1:9532/api/settle/query', {