XMLWAN 4 년 전
부모
커밋
9426d8add9

+ 2 - 0
src/main.js 파일 보기

58
 Vue.prototype.Base64 = require('js-base64').Base64
58
 Vue.prototype.Base64 = require('js-base64').Base64
59
 
59
 
60
 
60
 
61
+
62
+

+ 1 - 1
src/xt_pages/outpatientCharges/newStatementPrint.vue 파일 보기

152
 
152
 
153
       },
153
       },
154
       getInfo(order_id) {
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
           var that = this
157
           var that = this
158
 
158
 

+ 13 - 12
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 파일 보기

136
                         </el-button>
136
                         </el-button>
137
 
137
 
138
                         <el-button
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
                                 size="small" @click="open(10)" type="primary"
140
                                 size="small" @click="open(10)" type="primary"
141
                         >退号
141
                         >退号
142
                         </el-button>
142
                         </el-button>
143
 
143
 
144
                         <el-button
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
                                 size="small" @click="open(11)" type="primary"
146
                                 size="small" @click="open(11)" type="primary"
147
                         >撤销明细
147
                         >撤销明细
148
                         </el-button>
148
                         </el-button>
633
                   that.radio = 2
633
                   that.radio = 2
634
                   that.$refs.charge.hide()
634
                   that.$refs.charge.hide()
635
                   that.state = '已收费'
635
                   that.state = '已收费'
636
-                  that.$message({ message: '收费成功', type: 'success' })
636
+                  that.$message({ message: '收费成功', type: 'success'})
637
                   that.loadingtwo = false
637
                   that.loadingtwo = false
638
                   that.cal_one = this.cal_one - 1
638
                   that.cal_one = this.cal_one - 1
639
                   that.cal_two = this.cal_two + 1
639
                   that.cal_two = this.cal_two + 1
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
           var that = this
650
           var that = this
650
           axios.get('http://127.0.0.1:9532/api/upload/get', {
651
           axios.get('http://127.0.0.1:9532/api/upload/get', {
651
             params: form
652
             params: form
663
                 that.$refs.charge.hide()
664
                 that.$refs.charge.hide()
664
                 that.loadingtwo = false
665
                 that.loadingtwo = false
665
                 that.state = '已收费'
666
                 that.state = '已收费'
666
-                that.$message({ message: '收费成功', type: 'success' })
667
+                that.$message({ message: '收费成功', type: 'success',duration:5000 })
667
                 that.loadingtwo = false
668
                 that.loadingtwo = false
668
                 that.cal_one = this.cal_one - 1
669
                 that.cal_one = this.cal_one - 1
669
                 that.cal_two = this.cal_two + 1
670
                 that.cal_two = this.cal_two + 1
788
 
789
 
789
         var that = this
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
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
794
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
794
             params: forms
795
             params: forms
795
           })
796
           })
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
           axios.get('http://127.0.0.1:9532/api/register/get', {
864
           axios.get('http://127.0.0.1:9532/api/register/get', {
864
             params: forms
865
             params: forms
931
               return false
932
               return false
932
             } else {
933
             } else {
933
               this.getPatientList()
934
               this.getPatientList()
934
-              this.$message({ message: '挂号成功', type: 'success' })
935
+              this.$message({ message: '挂号成功', type: 'success',duration:5000 })
935
               this.$refs.register.hide()
936
               this.$refs.register.hide()
936
               this.loadingone = false
937
               this.loadingone = false
937
               var his_info = response.data.data.his_info
938
               var his_info = response.data.data.his_info
1475
           }
1476
           }
1476
 
1477
 
1477
         } else if (index == 5) {
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
             var that = this
1481
             var that = this
1481
             this.$confirm('是否退费', '退费', {
1482
             this.$confirm('是否退费', '退费', {
1482
               confirmButtonText: '确 定',
1483
               confirmButtonText: '确 定',
1502
                     return false
1503
                     return false
1503
                   } else {
1504
                   } else {
1504
                     that.changeRadio(1)
1505
                     that.changeRadio(1)
1505
-                    that.$message({ message: '退费成功', type: 'success' })
1506
+                    that.$message({ message: '退费成功', type: 'success',duration:5000 })
1506
                     that.loadingtwo = false
1507
                     that.loadingtwo = false
1507
 
1508
 
1508
                   }
1509
                   }

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

150
 
150
 
151
     },
151
     },
152
     getInfo(order_id) {
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
         var that = this
155
         var that = this
156
 
156
 
157
         axios.get('http://127.0.0.1:9532/api/settle/query', {
157
         axios.get('http://127.0.0.1:9532/api/settle/query', {