Browse Source

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

XMLWAN 4 years ago
parent
commit
1db6d86bfb

+ 11 - 30
package-lock.json View File

@@ -4745,8 +4745,7 @@
4745 4745
         "ansi-regex": {
4746 4746
           "version": "2.1.1",
4747 4747
           "bundled": true,
4748
-          "dev": true,
4749
-          "optional": true
4748
+          "dev": true
4750 4749
         },
4751 4750
         "aproba": {
4752 4751
           "version": "1.2.0",
@@ -4769,15 +4768,13 @@
4769 4768
         "balanced-match": {
4770 4769
           "version": "1.0.0",
4771 4770
           "bundled": true,
4772
-          "dev": true,
4773
-          "optional": true
4771
+          "dev": true
4774 4772
         },
4775 4773
         "brace-expansion": {
4776 4774
           "version": "1.1.11",
4777 4775
           "resolved": false,
4778 4776
           "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
4779 4777
           "dev": true,
4780
-          "optional": true,
4781 4778
           "requires": {
4782 4779
             "balanced-match": "^1.0.0",
4783 4780
             "concat-map": "0.0.1"
@@ -4793,22 +4790,19 @@
4793 4790
         "code-point-at": {
4794 4791
           "version": "1.1.0",
4795 4792
           "bundled": true,
4796
-          "dev": true,
4797
-          "optional": true
4793
+          "dev": true
4798 4794
         },
4799 4795
         "concat-map": {
4800 4796
           "version": "0.0.1",
4801 4797
           "resolved": false,
4802 4798
           "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
4803
-          "dev": true,
4804
-          "optional": true
4799
+          "dev": true
4805 4800
         },
4806 4801
         "console-control-strings": {
4807 4802
           "version": "1.1.0",
4808 4803
           "resolved": false,
4809 4804
           "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
4810
-          "dev": true,
4811
-          "optional": true
4805
+          "dev": true
4812 4806
         },
4813 4807
         "core-util-is": {
4814 4808
           "version": "1.0.2",
@@ -4938,8 +4932,7 @@
4938 4932
         "inherits": {
4939 4933
           "version": "2.0.3",
4940 4934
           "bundled": true,
4941
-          "dev": true,
4942
-          "optional": true
4935
+          "dev": true
4943 4936
         },
4944 4937
         "ini": {
4945 4938
           "version": "1.3.5",
@@ -4953,7 +4946,6 @@
4953 4946
           "resolved": false,
4954 4947
           "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
4955 4948
           "dev": true,
4956
-          "optional": true,
4957 4949
           "requires": {
4958 4950
             "number-is-nan": "^1.0.0"
4959 4951
           }
@@ -4970,7 +4962,6 @@
4970 4962
           "resolved": false,
4971 4963
           "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
4972 4964
           "dev": true,
4973
-          "optional": true,
4974 4965
           "requires": {
4975 4966
             "brace-expansion": "^1.1.7"
4976 4967
           }
@@ -4978,15 +4969,13 @@
4978 4969
         "minimist": {
4979 4970
           "version": "0.0.8",
4980 4971
           "bundled": true,
4981
-          "dev": true,
4982
-          "optional": true
4972
+          "dev": true
4983 4973
         },
4984 4974
         "minipass": {
4985 4975
           "version": "2.3.5",
4986 4976
           "resolved": false,
4987 4977
           "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==",
4988 4978
           "dev": true,
4989
-          "optional": true,
4990 4979
           "requires": {
4991 4980
             "safe-buffer": "^5.1.2",
4992 4981
             "yallist": "^3.0.0"
@@ -5007,7 +4996,6 @@
5007 4996
           "resolved": false,
5008 4997
           "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
5009 4998
           "dev": true,
5010
-          "optional": true,
5011 4999
           "requires": {
5012 5000
             "minimist": "0.0.8"
5013 5001
           }
@@ -5095,8 +5083,7 @@
5095 5083
         "number-is-nan": {
5096 5084
           "version": "1.0.1",
5097 5085
           "bundled": true,
5098
-          "dev": true,
5099
-          "optional": true
5086
+          "dev": true
5100 5087
         },
5101 5088
         "object-assign": {
5102 5089
           "version": "4.1.1",
@@ -5110,7 +5097,6 @@
5110 5097
           "resolved": false,
5111 5098
           "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
5112 5099
           "dev": true,
5113
-          "optional": true,
5114 5100
           "requires": {
5115 5101
             "wrappy": "1"
5116 5102
           }
@@ -5205,8 +5191,7 @@
5205 5191
         "safe-buffer": {
5206 5192
           "version": "5.1.2",
5207 5193
           "bundled": true,
5208
-          "dev": true,
5209
-          "optional": true
5194
+          "dev": true
5210 5195
         },
5211 5196
         "safer-buffer": {
5212 5197
           "version": "2.1.2",
@@ -5248,7 +5233,6 @@
5248 5233
           "resolved": false,
5249 5234
           "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
5250 5235
           "dev": true,
5251
-          "optional": true,
5252 5236
           "requires": {
5253 5237
             "code-point-at": "^1.0.0",
5254 5238
             "is-fullwidth-code-point": "^1.0.0",
@@ -5270,7 +5254,6 @@
5270 5254
           "resolved": false,
5271 5255
           "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
5272 5256
           "dev": true,
5273
-          "optional": true,
5274 5257
           "requires": {
5275 5258
             "ansi-regex": "^2.0.0"
5276 5259
           }
@@ -5318,15 +5301,13 @@
5318 5301
         "wrappy": {
5319 5302
           "version": "1.0.2",
5320 5303
           "bundled": true,
5321
-          "dev": true,
5322
-          "optional": true
5304
+          "dev": true
5323 5305
         },
5324 5306
         "yallist": {
5325 5307
           "version": "3.0.3",
5326 5308
           "resolved": false,
5327 5309
           "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==",
5328
-          "dev": true,
5329
-          "optional": true
5310
+          "dev": true
5330 5311
         }
5331 5312
       }
5332 5313
     },

+ 50 - 11
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -77,6 +77,9 @@
77 77
           <el-button size="small" @click="open(8)" type="primary"
78 78
           >明细对账
79 79
           </el-button>
80
+          <el-button size="small" @click="open(9)" type="primary"
81
+          >结算单
82
+          </el-button>
80 83
         </div>
81 84
 
82 85
         <div class="mainCenter">
@@ -237,6 +240,13 @@
237 240
       :visible.sync="treatVisible">
238 241
       <treatPrint :paramsObj='paramsObj'></treatPrint>
239 242
     </el-dialog>
243
+    <el-dialog
244
+      class="centerDialog"
245
+      width="1200px"
246
+      title="打印"
247
+      :visible.sync="statementVisible">
248
+      <statementPrint ref="print" :paramsObj='orderObj'></statementPrint>
249
+    </el-dialog>
240 250
   </div>
241 251
 </template>
242 252
 
@@ -254,6 +264,7 @@
254 264
   import {getPatientInfo, getSchedulePatientList, Refund, register, upload} from '@/api/his/his'
255 265
   import RegisterDialog from "./components/registerDialog";
256 266
   import treatPrint from './treatPrint'
267
+  import statementPrint from './statementPrint'
257 268
   import ChargeDialog from "./components/chargeDialog";
258 269
 
259 270
   const moment = require('moment')
@@ -268,6 +279,7 @@
268 279
       prescriptionTable,
269 280
       additionalCharges,
270 281
       treatPrint,
282
+      statementPrint
271 283
 
272 284
     },
273 285
     data() {
@@ -315,7 +327,11 @@
315 327
         order: {},
316 328
         addtions_charge: [],
317 329
         treatVisible: false,
318
-        paramsObj: {}
330
+        orderObj:{
331
+        },
332
+        paramsObj: {
333
+        },
334
+        statementVisible:false
319 335
       }
320 336
     },
321 337
     created() {
@@ -351,9 +367,10 @@
351 367
                 this.$refs.charge.hide()
352 368
                 return false
353 369
               } else {
370
+                this.$refs.charge.hide()
371
+                this.loadingtwo = false
354 372
                 this.state = '已收费'
355 373
                 this.$message({message: '收费成功', type: 'success'})
356
-                this.$refs.charge.hide()
357 374
                 this.loadingtwo = false
358 375
                 this.cal_one = this.cal_one - 1
359 376
                 this.cal_two = this.cal_two + 1
@@ -363,7 +380,8 @@
363 380
             .catch(function (error) {
364 381
 
365 382
             });
366
-        } else {
383
+        }
384
+        else {
367 385
           upload(form).then(response => {
368 386
             if (response.data.state == 0) {
369 387
               this.$message.error(response.data.msg)
@@ -371,6 +389,9 @@
371 389
               this.$refs.charge.hide()
372 390
               return false
373 391
             } else {
392
+              this.$refs.charge.hide()
393
+
394
+              this.loadingtwo = false
374 395
               this.state = '已收费'
375 396
               this.$message({message: '收费成功', type: 'success'})
376 397
               this.$refs.charge.hide()
@@ -400,9 +421,9 @@
400 421
                 this.$refs.register.hide()
401 422
                 return false
402 423
               } else {
424
+                this.$refs.register.hide()
403 425
                 this.getPatientList()
404 426
                 this.$message({message: '挂号成功', type: 'success'})
405
-                this.$refs.register.hide()
406 427
                 this.loadingone = false
407 428
                 var his_info = response.data.data.his_info
408 429
                 this.hisPatientInfo = his_info
@@ -647,7 +668,7 @@
647 668
                 'record_time': this.record_date,
648 669
 
649 670
               }
650
-              axios.post('http://127.0.0.1:9532/api/refund/post', {
671
+              axios.get('http://127.0.0.1:9532/api/refund/post', {
651 672
                 params: params
652 673
               })
653 674
                 .then(function (response) {
@@ -715,14 +736,14 @@
715 736
 
716 737
         } else if (index == 7) {
717 738
           let params={
718
-            start_time:"2020-12-01",
739
+            start_time:"2020-12-28",
719 740
             end_time:"2020-12-30",
720 741
             insutype:"390",
721 742
             clr_type:"11",
722 743
           }
723 744
 
724 745
           if (this.$store.getters.xt_user.org_id == 4) {
725
-            axios.post('http://127.0.0.1:9532/api/checkaccount/get', {
746
+            axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
726 747
               params: params
727 748
             })
728 749
               .then(function (response) {
@@ -744,10 +765,10 @@
744 765
 
745 766
         } else if (index == 8) {
746 767
           let params={
747
-            start_time:"2020-12-01",
768
+            start_time:"2020-12-28",
748 769
             end_time:"2020-12-30",
749 770
           }
750
-          axios.post('http://127.0.0.1:9532/api/checkdetailaccount/get', {
771
+          axios.get('http://127.0.0.1:9532/api/checkdetailaccount/get', {
751 772
             params: params
752 773
           })
753 774
             .then(function (response) {
@@ -765,6 +786,15 @@
765 786
 
766 787
 
767 788
 
789
+        } else if (index == 9){
790
+          this.statementVisible = true
791
+          let obj = {
792
+            order_id:this.order.id
793
+          }
794
+          this.orderObj = obj
795
+          // this.$refs.print.getInfo(this.order.id)
796
+
797
+
768 798
         }
769 799
       },
770 800
 
@@ -968,8 +998,11 @@
968 998
 
969 999
             this.prescriptions = []
970 1000
             console.log("9991323242r5253535", response.data.data.prescription)
971
-            this.prescription_id = response.data.data.prescription[0].advices[0].prescription_id
972
-            console.log("222222", this.prescription_id)
1001
+            if( response.data.data.prescription[0].advices.length > 0 ) {
1002
+              this.prescription_id = response.data.data.prescription[0].advices[0].prescription_id
1003
+            }else{
1004
+              this.prescription_id = 0
1005
+            }
973 1006
             for (let i = 0; i < response.data.data.prescription.length; i++) {
974 1007
               var prescription = response.data.data.prescription[i]
975 1008
 
@@ -1254,5 +1287,11 @@
1254 1287
   }
1255 1288
 
1256 1289
   }
1290
+  .centerDialog{
1291
+    .el-dialog__body{
1292
+      max-height: calc(100vh - 100px) !important;
1293
+      padding: 0 20px;
1294
+    }
1295
+  }
1257 1296
 </style>
1258 1297
 

+ 414 - 0
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -0,0 +1,414 @@
1
+<template>
2
+  <div>
3
+       <template>
4
+        <el-button
5
+          style="position:fixed;right:25px;z-index:999"
6
+          :loading="loading"
7
+          size="small"
8
+          icon="el-icon-printer"
9
+          @click="printThisPage"
10
+          type="primary"
11
+          >打印</el-button
12
+        >
13
+      </template>
14
+
15
+      <div class='dialysisPage' style="padding-top:40px;">
16
+        <printOne :info="info"></printOne>
17
+      </div>
18
+  </div>
19
+</template>
20
+
21
+<script>
22
+
23
+
24
+import { parseTime } from "@/utils";
25
+import { getDialysisRecord } from "@/api/dialysis";
26
+import { getDataConfig } from "@/utils/data";
27
+import { jsGetAge, uParseTime } from "@/utils/tools";
28
+import axios from 'axios'
29
+
30
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
31
+import print from "print-js";
32
+import printOne from "./statementTemplate/printOne"
33
+import { getAllDoctorList,getAllHisPatientList,getPrescriptionPrint } from "@/api/project/project"
34
+export default {
35
+  name: "dialysisPrintOrder",
36
+  components: {
37
+    BreadCrumb,
38
+    printOne
39
+  },
40
+  props:{
41
+    paramsObj:Object
42
+  },
43
+  data() {
44
+    return {
45
+      crumbs: [
46
+        { path: false, name: '门诊医生站' },
47
+        { path: false, name: '打印' }
48
+      ],
49
+      record_date:"",
50
+      patientTableData:[],
51
+      advicePrint:[],
52
+      hisPatient:{},
53
+      patient:{},
54
+      search_input:"",
55
+      loading:false,
56
+      patient_id:0,
57
+      prescription_id:0,
58
+      ids:'',
59
+      info:null,
60
+    };
61
+  },
62
+  methods:{
63
+    printThisPage() {
64
+      var ptime = Math.round(new Date().getTime() / 1000);
65
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
66
+
67
+      const style =
68
+        '@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;}}';
69
+        printJS({
70
+            printable: "statement-print",
71
+            type: "html",
72
+            style: style,
73
+            scanStyles: false
74
+        });
75
+
76
+      // if (this.org_template_info.template_id == 1) {
77
+      //   printJS({
78
+      //     printable: "dialysis-print-box",
79
+      //     type: "html",
80
+      //     style: style,
81
+      //     scanStyles: false
82
+      //   });
83
+      // }
84
+    },
85
+    getAllDoctorList(){
86
+      getAllDoctorList().then(response=>{
87
+        if(response.data.state == 1){
88
+               var doctor =  response.data.data.doctor
89
+
90
+               this.doctorList = doctor
91
+             }
92
+         })
93
+     },
94
+    getAllHisPatientList(){
95
+         const params = {
96
+           record_date:this.record_date
97
+         }
98
+      getAllHisPatientList(params).then(response=>{
99
+         if(response.data.state == 1){
100
+            this.patientTableData = response.data.data.list
101
+            this.patientTableDataTwo = response.data.data.list
102
+
103
+            console.log('222', this.patientTableData)
104
+            let cal_one = 0
105
+            let cal_two = 0
106
+            for (let i = 0; i < response.data.data.list.length; i++) {
107
+              if (response.data.data.list[i].prescription == null || response.data.data.list[i].prescription.length == 0) {
108
+                cal_one = cal_one + 1
109
+              }
110
+              if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
111
+                cal_two = cal_two + 1
112
+              }
113
+            }
114
+            // this.$refs.tab.setCurrentRow(this.patientTableData[0])
115
+            // console.log(this.patientTableData[0])
116
+            // this.choosePatient(this.patientTableData[0])
117
+            this.cal_one = cal_one
118
+            this.cal_two = cal_two
119
+         }
120
+      })
121
+    },
122
+
123
+    changePatient(row){
124
+      console.log("row",row)
125
+      this.patient_id = row.patient_id
126
+      this.record_date = this.record_date
127
+      this.prescription_id = this.prescription_id
128
+      //   var params = {
129
+      //     patient_id:row.patient_id,
130
+      //     record_date:this.record_date,
131
+      //     prescription_id:this.prescription_id,
132
+      //   }
133
+      // getPrescriptionPrint(params).then(response=>{
134
+      //     if(response.data.state == 1){
135
+      //       var advicePrint =  response.data.data.advicePrint
136
+      //       console.log("adviceprint",advicePrint)
137
+      //       this.advicePrint = advicePrint
138
+      //       // var hisPatient =  response.data.data.hisPatient
139
+      //       // console.log("hispatient",hisPatient)
140
+      //       // this.hisPatient = hisPatient
141
+      //       var patient =  response.data.data.patient
142
+      //       console.log("patient",patient)
143
+      //       this.patient = patient
144
+      //       var doctorPorject = response.data.data.doctorPorject
145
+      //       console.log("doctorporject",doctorPorject)
146
+      //     }
147
+      // })
148
+    },
149
+    searchAction(){
150
+
151
+    },
152
+    getInfo(order_id) {
153
+      if (this.$store.getters.xt_user.org_id == 4) {
154
+
155
+        axios.get('http://127.0.0.1:9532/api/settle/query', {
156
+          params: {
157
+            order_id: order_id,
158
+          }
159
+        })
160
+          .then(function (response) {
161
+            if (response.data.state == 0) {
162
+              this.$message.error(response.data.msg)
163
+              return false
164
+            } else {
165
+              console.log("logloglog")
166
+
167
+              console.log(response.data.data.info)
168
+
169
+              this.info = response.data.data.info
170
+              console.log(this.info)
171
+
172
+              this.info['bed_cost_total'] = response.data.data.bedCostTotal
173
+              this.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal
174
+              this.info['bed_cost_part_self_total'] = response.data.data.bedCostPartSelfTotal
175
+
176
+              this.info['operation_cost_total'] = response.data.data.operationCostTotal
177
+              this.info['operation_cost_self_total'] = response.data.data.operationCostSelfTotal
178
+              this.info['operation_cost_part_self_total'] = response.data.data.operationCostPartSelfTotal
179
+
180
+              this.info['other_cost_total'] = response.data.data.otherCostTotal
181
+              this.info['other_cost_self_total'] = response.data.data.otherCostSelfTotal
182
+              this.info['other_cost_part_self_total'] = response.data.data.otherCostPartSelfTotal
183
+
184
+              this.info['material_cost_total'] = response.data.data.materialCostTotal
185
+              this.info['material_cost_self_total'] = response.data.data.materialCostSelfTotal
186
+              this.info['material_cost_part_self_total'] = response.data.data.materialCostPartSelfTotal
187
+
188
+              this.info['western_medicine_cost_total'] = response.data.data.westernMedicineCostTotal
189
+              this.info['western_medicine_cost_self_total'] = response.data.data.westernMedicineCostSelfTotal
190
+              this.info['western_medicine_cost_part_self_total'] = response.data.data.westernMedicineCostPartSelfTotal
191
+
192
+              this.info['chinese_traditional_medicine_cost_total'] = response.data.data.chineseTraditionalMedicineCostTotalt
193
+              this.info['chinese_traditional_medicine_cost_self_total'] = response.data.data.chineseTraditionalMedicineCostSelfTotal
194
+              this.info['chinese_traditional_medicine_cost_part_self_total'] = response.data.data.chineseTraditionalMedicineCostPartSelfTotal
195
+
196
+
197
+              this.info['check_cost_total'] = response.data.data.checkCostTotal
198
+              this.info['check_cost_self_total'] = response.data.data.checkCostSelfTotal
199
+              this.info['check_cost_part_self_total'] = response.data.data.checkCostPartSelfTotal
200
+
201
+
202
+              this.info['laboratory_cost_total'] = response.data.data.laboratoryCostTotal
203
+              this.info['laboratory_cost_self_total'] = response.data.data.laboratoryCostSelfTotal
204
+              this.info['laboratory_cost_part_self_total'] = response.data.data.laboratoryCostPartSelfTotal
205
+
206
+              this.info['treat_cost_total'] = response.data.data.treatCostTotal
207
+              this.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal
208
+              this.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal
209
+              console.log(this.info)
210
+            }
211
+          })
212
+          .catch(function (error) {
213
+
214
+          });
215
+      }
216
+    }
217
+
218
+  },
219
+
220
+  created() {
221
+    this.getInfo(this.paramsObj.order_id)
222
+  },
223
+  watch:{
224
+    paramsObj:{//深度监听,可监听到对象、数组的变化
225
+      handler(val, oldVal){
226
+        this.paramsObj = val
227
+        this.getInfo(this.paramsObj.order_id)
228
+
229
+      },
230
+      deep:true
231
+    }
232
+  }
233
+
234
+};
235
+</script>
236
+
237
+<style>
238
+.dialysis-print-order {
239
+  width: 960px;
240
+  margin: 0 auto;
241
+}
242
+
243
+.dialysis-print-order .order-yy-name {
244
+  margin: auto;
245
+  text-align: center;
246
+  font-size: 20px;
247
+  letter-spacing: 5px;
248
+}
249
+
250
+.dialysis-print-order .order-title {
251
+  margin: auto;
252
+  font-weight: 600;
253
+  text-align: center;
254
+  font-size: 22px;
255
+  padding: 10px;
256
+}
257
+
258
+.dialysis-print-order .table-box {
259
+  width: 100%;
260
+  line-height: 23px;
261
+  font-size: 14px;
262
+}
263
+
264
+.dialysis-print-order .print-table {
265
+  width: 100%;
266
+  text-align: center;
267
+  border-collapse: collapse;
268
+  line-height: 40px;
269
+  font-size: 14px;
270
+  border-color: #000;
271
+}
272
+
273
+.dialysis-print-order .print-table-no {
274
+  width: 100%;
275
+  text-align: center;
276
+  border-collapse: collapse;
277
+  font-size: 14px;
278
+}
279
+
280
+.dialysis-print-order .under-line {
281
+  border-bottom: 1px solid #999;
282
+  width: 95%;
283
+  text-align: center;
284
+  margin-left: 2px;
285
+}
286
+
287
+.dialysis-print-order .title-box {
288
+  text-align: center;
289
+  font-size: 16px;
290
+}
291
+
292
+.dialysis-print-order .radio-lebel-box {
293
+  font-weight: 400;
294
+  cursor: pointer;
295
+}
296
+
297
+.dialysis-print-order .radio-no {
298
+  opacity: 0;
299
+  outline: none;
300
+  position: absolute;
301
+  margin: 0;
302
+  width: 0;
303
+  height: 0;
304
+  z-index: -1;
305
+}
306
+
307
+.dialysis-print-order .radio-inner {
308
+  white-space: nowrap;
309
+  cursor: pointer;
310
+  outline: none;
311
+  display: inline-block;
312
+  line-height: 1;
313
+  position: relative;
314
+  vertical-align: middle;
315
+}
316
+
317
+.dialysis-print-order .radio-fang {
318
+  display: inline-block;
319
+  position: relative;
320
+  border: 1px solid #000;
321
+  box-sizing: border-box;
322
+  width: 14px;
323
+  height: 14px;
324
+  background-color: #fff;
325
+  z-index: 1;
326
+  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),
327
+    background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);
328
+}
329
+
330
+.dialysis-print-order .is-checked-radio::after {
331
+  content: "√";
332
+  font-size: 15px;
333
+}
334
+
335
+.dialysis-print-order .print-table-no tr td {
336
+  padding: 8px 5px;
337
+  line-height: 25px;
338
+}
339
+
340
+.dialysis-print-order .print-table tr td {
341
+  padding: 1px 1px;
342
+  /*line-height: 25px;*/
343
+}
344
+
345
+.es-img {
346
+  height: 30px;
347
+}
348
+
349
+.advice-name {
350
+  text-align: left;
351
+}
352
+
353
+.advice-children {
354
+  display: flex;
355
+}
356
+
357
+.title-box-pro {
358
+  border: 0 #fff;
359
+  line-height: 25px;
360
+  height: 25px;
361
+  text-align: left;
362
+  padding-left: 10px !important;
363
+}
364
+.title-box-pro-tr {
365
+  border: 0 #fff;
366
+}
367
+.text-align-left {
368
+  text-align: left !important;
369
+  padding-left: 10px !important;
370
+  font-size: 14px !important;
371
+  line-height: 25px;
372
+}
373
+.print-table-tr-new td {
374
+  line-height: 20px !important;
375
+}
376
+.border-top-solid {
377
+  border: solid 1px #000;
378
+}
379
+.print-template-two tr {
380
+  line-height: 30px;
381
+}
382
+
383
+.table-box1 {
384
+  border: 1px solid #000;
385
+  width: 100%;
386
+  line-height: 30px;
387
+  font-size: 14px;
388
+  border-collapse: collapse;
389
+}
390
+.table-box1 tr {
391
+  border-bottom: 1px solid #000;
392
+}
393
+</style>
394
+
395
+<style lang="scss">
396
+
397
+.newContainer{
398
+  .dialysisPage::-webkit-scrollbar {
399
+    height: 15px;
400
+  }
401
+
402
+  .el-date-editor{
403
+    .el-input__inner{
404
+      padding-right:0px;
405
+    }
406
+  }
407
+  .el-table td, .el-table th{
408
+    text-align: center;
409
+  }
410
+}
411
+.newContainer::-webkit-scrollbar{
412
+  height: 15px !important;
413
+}
414
+</style>

+ 270 - 0
src/xt_pages/outpatientCharges/statementTemplate/printOne.vue View File

@@ -0,0 +1,270 @@
1
+<template>
2
+    <div id="statement-print" class="statement-print">
3
+        <div class="statementTitle">广东省社会医疗保险医疗费用结算单</div>
4
+        <table class="statementTable" border="1">
5
+            <tr>
6
+                <td width="80">机构名称</td>
7
+                <td colspan="4">{{info.fixmedins_name}}</td>
8
+                <td width="80">机构编码</td>
9
+                <td colspan="4">{{info.fixmedins_code}}</td>
10
+                <td width="100">医保结算级别</td>
11
+                <td width="100"></td>
12
+            </tr>
13
+            <tr>
14
+                <td width="90">就医登记号</td>
15
+                <td colspan="11">{{info.psn_no}}</td>
16
+            </tr>
17
+            <tr>
18
+                <td width="80">姓名</td>
19
+                <td width="80">{{info.name}}</td>
20
+                <td width="80">性别</td>
21
+                <td width="50">{{info.gend}}</td>
22
+                <td width="80">出生日期</td>
23
+                <td width="100">{{info.brdy}}</td>
24
+                <td width="90">个人电脑号</td>
25
+                <td width="110"></td>
26
+                <td width="80">人员类别</td>
27
+                <td colspan="3"></td>
28
+            </tr>
29
+            <tr>
30
+                <td>单位名称</td>
31
+                <td colspan="5">{{info.emp_name}}</td>
32
+                <td width="80">联系电话</td>
33
+                <td width="110"></td>
34
+                <td width="80">身份证号</td>
35
+                <td colspan="3">{{info.certno}}</td>
36
+            </tr>
37
+            <tr>
38
+                <td>住院号</td>
39
+                <td></td>
40
+                <td>科别</td>
41
+                <td width="100"></td>
42
+                <td>床号</td>
43
+                <td></td>
44
+                <td>入院日期</td>
45
+                <td></td>
46
+                <td>出院日期</td>
47
+                <td width="100"></td>
48
+                <td>住院天数</td>
49
+                <td></td>
50
+            </tr>
51
+            <tr>
52
+                <td>险种</td>
53
+                  <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
54
+                  <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
55
+                  <td colspan="2" v-if="info.insutype == '330'">大额医疗费用补助</td>
56
+                  <td colspan="2" v-if="info.insutype == '340'">离休人员医疗保障</td>
57
+                  <td colspan="2" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
58
+                  <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
59
+                  <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
60
+
61
+
62
+              <td>入院第一诊断</td>
63
+                <td colspan="3"></td>
64
+                <td>出院第一诊断</td>
65
+                <td colspan="4"></td>
66
+            </tr>
67
+            <tr>
68
+                <td>业务类别</td>
69
+                <td colspan="5" style="text-align:left;padding-left:10px;">普通门诊</td>
70
+                <td>结算时间</td>
71
+                <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time}}</td>
72
+            </tr>
73
+            <tr>
74
+                <td colspan="12" style="text-align:left;padding-left:10px;">
75
+                    本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.fulamt_ownpay_amt}}元。
76
+                </td>
77
+            </tr>
78
+            <tr>
79
+                <td>费用名称</td>
80
+                <td colspan="2">总费用</td>
81
+                <td>自费</td>
82
+                <td colspan="2">部分项目自付</td>
83
+                <td>费用名称</td>
84
+                <td colspan="2">总费用</td>
85
+                <td>自费</td>
86
+                <td colspan="2">部分项目自付</td>
87
+            </tr>
88
+            <tr>
89
+                <td>床位费</td>
90
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total}}</td>
91
+                <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total}}</td>
92
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total}}</td>
93
+                <td>西成药</td>
94
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_total}}</td>
95
+                <td style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_self_total}}</td>
96
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.western_medicine_cost_part_self_total}}</td>
97
+            </tr>
98
+            <tr>
99
+                <td>中药费</td>
100
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
101
+                <td style="text-align:right;padding-right:10px;">0.00</td>
102
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
103
+                <td>中成药</td>
104
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_total}}</td>
105
+                <td style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_self_total}}</td>
106
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.chinese_traditional_medicine_cost_part_self_total}}</td>
107
+            </tr>
108
+            <tr>
109
+                <td>中草药</td>
110
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
111
+                <td style="text-align:right;padding-right:10px;">0.00</td>
112
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
113
+                <td>检查费</td>
114
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_total}}</td>
115
+                <td style="text-align:right;padding-right:10px;">{{info.check_cost_self_total}}</td>
116
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.check_cost_part_self_total}}</td>
117
+            </tr>
118
+            <tr>
119
+                <td>治疗费</td>
120
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_total}}</td>
121
+              <td style="text-align:right;padding-right:10px;">{{info.treat_cost_self_total}}</td>
122
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.treat_cost_part_self_total}}</td>
123
+                <td>放射费</td>
124
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
125
+                <td style="text-align:right;padding-right:10px;">0.00</td>
126
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
127
+            </tr>
128
+            <tr>
129
+                <td>手术费</td>
130
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_total}}</td>
131
+              <td style="text-align:right;padding-right:10px;">{{info.operation_cost_self_total}}</td>
132
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.operation_cost_part_self_total}}</td>
133
+                <td>化验费</td>
134
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_total}}</td>
135
+              <td style="text-align:right;padding-right:10px;">{{info.laboratory_cost_self_total}}</td>
136
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.laboratory_cost_part_self_total}}</td>
137
+            </tr>
138
+            <tr>
139
+                <td>输血费</td>
140
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
141
+                <td style="text-align:right;padding-right:10px;">0.00</td>
142
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
143
+                <td>输氧费</td>
144
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
145
+                <td style="text-align:right;padding-right:10px;">0.00</td>
146
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
147
+            </tr>
148
+            <tr>
149
+                <td>其他</td>
150
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_total}}</td>
151
+              <td style="text-align:right;padding-right:10px;">{{info.other_cost_self_total}}</td>
152
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.other_cost_part_self_total}}</td>
153
+                <td>麻醉费</td>
154
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
155
+                <td style="text-align:right;padding-right:10px;">0.00</td>
156
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
157
+            </tr>
158
+            <tr>
159
+                <td>材料费</td>
160
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_total}}</td>
161
+              <td style="text-align:right;padding-right:10px;">{{info.material_cost_self_total}}</td>
162
+              <td colspan="2" style="text-align:right;padding-right:10px;">{{info.material_cost_part_self_total}}</td>
163
+                <td>特殊检查费</td>
164
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
165
+                <td style="text-align:right;padding-right:10px;">0.00</td>
166
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
167
+            </tr>
168
+            <tr>
169
+                <td>特殊治疗费</td>
170
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
171
+                <td style="text-align:right;padding-right:10px;">0.00</td>
172
+                <td colspan="2" style="text-align:right;padding-right:10px;">0.00</td>
173
+                <td style="text-align:right;padding-right:10px;"></td>
174
+                <td colspan="2" style="text-align:right;padding-right:10px;"></td>
175
+                <td style="text-align:right;padding-right:10px;"></td>
176
+                <td colspan="2" style="text-align:right;padding-right:10px;"></td>
177
+            </tr>
178
+            <tr>
179
+                <td>合计</td>
180
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_total + info.operation_cost_total + info.other_cost_total + info.material_cost_total + info.western_medicine_cost_total + info.chinese_traditional_medicine_cost_total + info.check_cost_total + info.laboratory_cost_total + info.treat_cost_total}}</td>
181
+                <td style="text-align:right;padding-right:10px;">{{info.bed_cost_self_total + info.operation_cost_self_total + info.other_cost_self_total + info.material_cost_self_total + info.western_medicine_cost_self_total + info.chinese_traditional_medicine_cost_self_total + info.check_cost_self_total + info.laboratory_cost_self_total + info.treat_cost_self_total}}</td>
182
+                <td colspan="2" style="text-align:right;padding-right:10px;">{{info.bed_cost_part_self_total + info.operation_cost_part_self_total + info.other_cost_part_self_total + info.material_cost_part_self_total + info.western_medicine_cost_part_self_total + info.chinese_traditional_medicine_cost_part_self_total + info.check_cost_part_self_total + info.laboratory_cost_part_self_total + info.treat_cost_part_self_total}}</td>
183
+                <td style="text-align:right;padding-right:10px;"></td>
184
+                <td colspan="2" style="text-align:right;padding-right:10px;"></td>
185
+                <td style="text-align:right;padding-right:10px;"></td>
186
+                <td colspan="2" style="text-align:right;padding-right:10px;"></td>
187
+            </tr>
188
+            <tr>
189
+                <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
190
+                <td colspan="3">{{info.hifp_pay}}</td>
191
+                <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
192
+                <td colspan="3">{{info.hifob_pay}}</td>
193
+            </tr>
194
+            <tr>
195
+                <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
196
+                <td colspan="3">{{info.hifmi_pay}}</td>
197
+                <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
198
+                <td colspan="3">{{info.hifes_pay}}</td>
199
+            </tr>
200
+            <tr>
201
+                <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
202
+                <td colspan="3">{{info.maf_pay}}</td>
203
+                <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
204
+                <td colspan="3">{{info.cvlserv_pay}}</td>
205
+            </tr>
206
+            <tr>
207
+                <td>收款人:</td>
208
+                <td colspan="2"></td>
209
+                <td>审核人:</td>
210
+                <td colspan="2"></td>
211
+                <td>制单人:</td>
212
+                <td colspan="2"></td>
213
+                <td>打印日期</td>
214
+                <td colspan="2"></td>
215
+            </tr>
216
+            <tr>
217
+                <td colspan="12" style="text-align:left;padding-left:10px;line-height:20px;">
218
+                    注: 1、部分项目自付金额是指基本医疗保险范围内的项目需参保人先按规定比例自付的金额。<br />
219
+                    &ensp;&ensp;&ensp;2、此表由医院打印。<br />
220
+                    &ensp;&ensp;&ensp;3、此表一式两份,医院、参保人各一份。
221
+                </td>
222
+            </tr>
223
+            <tr>
224
+                <td colspan="12" style="text-align:left;padding-left:10px;">
225
+                    病人家属签字:
226
+                </td>
227
+            </tr>
228
+        </table>
229
+    </div>
230
+</template>
231
+<script>
232
+  export default {
233
+    props: {
234
+      info: {
235
+        type: Object,
236
+        default: function () {
237
+          return {};
238
+        }
239
+      },
240
+    }
241
+  }
242
+
243
+
244
+</script>
245
+
246
+
247
+
248
+<style lang="scss" scoped>
249
+.statement-print{
250
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
251
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
252
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
253
+    margin-bottom: 20px;
254
+    padding:20px 10px;
255
+}
256
+.statementTitle{
257
+    font-size: 28px;
258
+    text-align: center;
259
+    font-weight: bold;
260
+    margin-bottom: 10px;
261
+}
262
+.statementTable{
263
+    width: 100%;
264
+    text-align: center;
265
+    border-collapse: collapse;
266
+    line-height: 40px;
267
+    font-size: 14px;
268
+    border-color: #000;
269
+}
270
+</style>

+ 5 - 5
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -25,10 +25,10 @@
25 25
           <el-form-item label="处方类型: " prop="name" label-position="right">
26 26
             <el-select style="width:100%;" v-model="register_type" placeholder="">
27 27
               <el-option
28
-                v-for="(item,index) in getDictionaryDataConfig('system','prescription_type')"
28
+                v-for="(item,index) in register"
29 29
                 :key="index"
30
-                :label="item.name"
31
-                :value="item.id">
30
+                :label="item.label"
31
+                :value="item.value">
32 32
               </el-option>
33 33
             </el-select>
34 34
           </el-form-item>
@@ -102,7 +102,7 @@
102 102
               </div>
103 103
             </div>
104 104
 
105
-            
105
+
106 106
 
107 107
             <prescription-table ref="prescription_tables" :prescription="curPrescriptions" :preDrugs="preDrugs"
108 108
                                 :activeType="customTabIndex"></prescription-table>
@@ -1526,7 +1526,7 @@
1526 1526
         }
1527 1527
       }
1528 1528
     },
1529
-   
1529
+
1530 1530
   }
1531 1531
 </script>
1532 1532