소스 검색

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

XMLWAN 4 년 전
부모
커밋
743a0f0e0d

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

86
 
86
 
87
       },
87
       },
88
       getInfo(obj) {
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
           var that = this
90
           var that = this
91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
91
           axios.get('http://127.0.0.1:9532/sz/api/settle/query', {
92
             params: obj
92
             params: obj
109
                   that.info['patient_name'] = response.data.data.patient_name
109
                   that.info['patient_name'] = response.data.data.patient_name
110
                   that.info['doctor_code'] = response.data.data.doctor_code
110
                   that.info['doctor_code'] = response.data.data.doctor_code
111
                   that.info['doctor_name'] = response.data.data.doctor_name
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
                   that.info['order_number'] = response.data.data.order_number
118
                   that.info['order_number'] = response.data.data.order_number
114
 
119
 
115
                   that.info['department'] =  response.data.data.department
120
                   that.info['department'] =  response.data.data.department
116
                   that.info['yiliao_leibie'] =  response.data.data.yiliao_leibie
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
                   that.info['org_name'] = that.$store.getters.xt_user.org.org_name
126
                   that.info['org_name'] = that.$store.getters.xt_user.org.org_name
119
                   console.log("~~~~" + that.info)
127
                   console.log("~~~~" + that.info)
120
 
128
 

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

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

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

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

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

197
     },
197
     },
198
     methods: {
198
     methods: {
199
       toPrint(row){
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
           this.statementVisible9504 = true
201
           this.statementVisible9504 = true
202
           let obj = {
202
           let obj = {
203
             order_id: row.id,
203
             order_id: row.id,

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

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <div id='prescription-print' class="prescription-print">
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
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
5
                 <div class="printTitle">{{orgname}}&nbsp;&nbsp;医药费收据及收费项目清单</div>
6
                 <div class="infoMain">
6
                 <div class="infoMain">
7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
7
                     <div class="infoP">医院(药店)编号:{{org_code}}</div>
346
     },
346
     },
347
     created() {
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
         this.orgname = xtuser.org.org_name
350
         this.orgname = xtuser.org.org_name
351
         var form = {
351
         var form = {
352
           'order_id': this.paramsObj.order_id,
352
           'order_id': this.paramsObj.order_id,

+ 3 - 3
src/xt_pages/outpatientRegistration/index.vue 파일 보기

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

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue 파일 보기

3
         <div class="position">
3
         <div class="position">
4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
4
             <bread-crumb :crumbs='crumbs'></bread-crumb>
5
         </div>
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
             <div class="cell clearfix">
7
             <div class="cell clearfix">
8
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->
8
                 <!-- <el-input style="width: 180px;" v-model.trim="search_input" class="filter-item"/> -->
9
                 <el-autocomplete
9
                 <el-autocomplete