Selaa lähdekoodia

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 4 vuotta sitten
vanhempi
commit
743a0f0e0d

+ 10 - 2
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue Näytä tiedosto

@@ -86,7 +86,7 @@
86 86
 
87 87
       },
88 88
       getInfo(obj) {
89
-        if (this.$store.getters.xt_user.org_id == 9504) {
89
+        if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
90 90
           var that = this
91 91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
92 92
             params: obj
@@ -109,12 +109,20 @@
109 109
                   that.info['patient_name'] = response.data.data.patient_name
110 110
                   that.info['doctor_code'] = response.data.data.doctor_code
111 111
                   that.info['doctor_name'] = response.data.data.doctor_name
112
-                  that.info['health_card_no'] = response.data.data.health_card_no
112
+                  if(response.data.data.health_card_no_two.length == 0){
113
+                    that.info['health_card_no'] = response.data.data.health_card_no
114
+                  }else{
115
+                    that.info['health_card_no'] = response.data.data.health_card_no_two
116
+                  }
117
+
113 118
                   that.info['order_number'] = response.data.data.order_number
114 119
 
115 120
                   that.info['department'] =  response.data.data.department
116 121
                   that.info['yiliao_leibie'] =  response.data.data.yiliao_leibie
117 122
 
123
+                  that.info['before_money'] =  response.data.data.before_money
124
+                  that.info['after_money'] =   response.data.data.after_money
125
+
118 126
                   that.info['org_name'] = that.$store.getters.xt_user.org.org_name
119 127
                   console.log("~~~~" + that.info)
120 128
 

+ 2 - 2
src/xt_pages/outpatientCharges/newTreatTemplate/printOne.vue Näytä tiedosto

@@ -77,9 +77,9 @@
77 77
                 </div>
78 78
                 <div class="moneyBox">
79 79
                     <p>实收金:{{info.transBody.akc264}}元</p>
80
-                    <p>记账前金额:{{0.00}}元</p>
80
+                    <p>记账前金额:{{info.before_money}}元</p>
81 81
                     <p>扣款金额:{{0.00}}元</p>
82
-                    <p>记账后金额:{{0.00}}元</p>
82
+                    <p>记账后金额:{{info.after_money}}元</p>
83 83
                     <p>找赎金:{{0.00}}元</p>
84 84
                 </div>
85 85
                 <div class="actionBar">

+ 13 - 13
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Näytä tiedosto

@@ -57,7 +57,7 @@
57 57
             <div class="mainRight">
58 58
 
59 59
                 <div class="mainCell fixedCell" style="margin-bottom:10px;">
60
-                    <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 0">
60
+                    <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028">
61 61
                         <el-button v-loading="loadingone" size="small"
62 62
                                    @click="sz_open(1)"
63 63
                                    type="primary">挂号
@@ -110,7 +110,7 @@
110 110
 
111 111
 
112 112
 
113
-                    <div v-if="this.$store.getters.xt_user.org_id != 9504">
113
+                    <div v-if="this.$store.getters.xt_user.org_id != 9504 && this.$store.getters.xt_user.org_id != 10028">
114 114
                         <el-button size="small" @click="open(3)" type="primary">打印</el-button>
115 115
                         <el-button v-loading="loadingone" size="small"
116 116
                                    @click="open(6)"
@@ -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 || this.$store.getters.xt_user.org_id == 3877"
139
+                                v-if="this.$store.getters.xt_user.org_id == 9919 "
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 ||  this.$store.getters.xt_user.org_id == 3877"
145
+                                v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"
146 146
                                 size="small" @click="open(11)" type="primary"
147 147
                         >撤销明细
148 148
                         </el-button>
@@ -613,7 +613,7 @@
613 613
 
614 614
         }
615 615
 
616
-        if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9504) {
616
+        if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504) {
617 617
           var that = this
618 618
           axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
619 619
             params: form
@@ -645,7 +645,7 @@
645 645
 
646 646
             })
647 647
 
648
-        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
648
+        } else if (this.$store.getters.xt_user.org_id == 9919) {
649 649
           var that = this
650 650
           axios.get('http://127.0.0.1:9532/api/upload/get', {
651 651
             params: form
@@ -707,7 +707,7 @@
707 707
         this.loadingone = true
708 708
 
709 709
         var that = this
710
-        if ( this.$store.getters.xt_user.org_id == 9504) {
710
+        if ( this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
711 711
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
712 712
             params: forms
713 713
           })
@@ -788,7 +788,7 @@
788 788
 
789 789
         var that = this
790 790
 
791
-        if ( this.$store.getters.xt_user.org_id == 4 ||  this.$store.getters.xt_user.org_id == 9504) {
791
+        if ( this.$store.getters.xt_user.org_id == 10028 ||  this.$store.getters.xt_user.org_id == 9504) {
792 792
 
793 793
           axios.get('http://127.0.0.1:9532/sz/api/register/get', {
794 794
             params: forms
@@ -858,7 +858,7 @@
858 858
 
859 859
             })
860 860
 
861
-        } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
861
+        } else if (this.$store.getters.xt_user.org_id == 9919 ) {
862 862
 
863 863
           axios.get('http://127.0.0.1:9532/api/register/get', {
864 864
             params: forms
@@ -1475,7 +1475,7 @@
1475 1475
           }
1476 1476
 
1477 1477
         } else if (index == 5) {
1478
-          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
1478
+          if (this.$store.getters.xt_user.org_id == 9919 ) {
1479 1479
 
1480 1480
             var that = this
1481 1481
             this.$confirm('是否退费', '退费', {
@@ -1570,7 +1570,7 @@
1570 1570
 
1571 1571
           var that = this
1572 1572
 
1573
-          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
1573
+          if (this.$store.getters.xt_user.org_id == 9919) {
1574 1574
             axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
1575 1575
               params: params
1576 1576
             })
@@ -1707,7 +1707,7 @@
1707 1707
             })
1708 1708
         } else if (index == 15) {
1709 1709
           var that = this
1710
-          if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919) {
1710
+          if (this.$store.getters.xt_user.org_id == 9919) {
1711 1711
 
1712 1712
             if (this.diagnosis.length || this.diagnosis == 0) {
1713 1713
               that.$message.error('诊断不能为空,请选择诊断内容')
@@ -1816,7 +1816,7 @@
1816 1816
 
1817 1817
           }
1818 1818
           this.loadingtwo = true
1819
-          if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
1819
+          if (this.$store.getters.xt_user.org_id == 9919 ) {
1820 1820
             var that = this
1821 1821
             axios.get('http://127.0.0.1:9532/api/pre_upload/get', {
1822 1822
               params: form

+ 1 - 1
src/xt_pages/outpatientCharges/summary.vue Näytä tiedosto

@@ -197,7 +197,7 @@
197 197
     },
198 198
     methods: {
199 199
       toPrint(row){
200
-        if(this.$store.getters.xt_user.org_id == 9504){
200
+        if(this.$store.getters.xt_user.org_id == 9504 ||this.$store.getters.xt_user.org_id == 10028){
201 201
           this.statementVisible9504 = true
202 202
           let obj = {
203 203
             order_id: row.id,

+ 2 - 2
src/xt_pages/outpatientCharges/treatTemplate/printOne.vue Näytä tiedosto

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
     <div>
3 3
         <div id='prescription-print' class="prescription-print">
4
-            <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538">
4
+            <div v-if=" this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028">
5 5
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
6 6
                 <div class="infoMain">
7 7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
@@ -346,7 +346,7 @@
346 346
     },
347 347
     created() {
348 348
 
349
-      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 9538) {
349
+      if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
350 350
         this.orgname = xtuser.org.org_name
351 351
         var form = {
352 352
           'order_id': this.paramsObj.order_id,

+ 3 - 3
src/xt_pages/outpatientRegistration/index.vue Näytä tiedosto

@@ -3,7 +3,7 @@
3 3
         <div class="position">
4 4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
5 5
         </div>
6
-        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 0"
6
+        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028"
7 7
              class="app-container">
8 8
             <div class="nameTitle">患者基本信息:</div>
9 9
             <div class="formMain">
@@ -938,7 +938,7 @@
938 938
             params['admin_user_id'] = this.$store.getters.xt_user.user.id
939 939
             this.loadingone = true
940 940
 
941
-            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 0) {
941
+            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
942 942
               var that = this
943 943
               axios.get('http://127.0.0.1:9532/sz/api/register/get', {
944 944
                 params: params
@@ -1133,7 +1133,7 @@
1133 1133
               params['admin_user_id'] = this.$store.getters.xt_user.user.id
1134 1134
             this.loadingone = true
1135 1135
 
1136
-            if (this.$store.getters.xt_user.org_id == 9504) {
1136
+            if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028) {
1137 1137
               var that = this
1138 1138
 
1139 1139
               axios.get('http://127.0.0.1:9532/sz/api/register/get', {

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue Näytä tiedosto

@@ -3,7 +3,7 @@
3 3
         <div class="position">
4 4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
5 5
         </div>
6
-        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 0" class="app-container">
6
+        <div v-if="this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10028" class="app-container">
7 7
             <div class="cell clearfix">
8 8
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->
9 9
                 <el-autocomplete