Procházet zdrojové kódy

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

28169 před 1 rokem
rodič
revize
372902aa30

+ 34 - 76
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue Zobrazit soubor

@@ -37,7 +37,7 @@
37 37
               <tr>
38 38
                 <td>姓名:{{ patientInfo.name }}</td>
39 39
                 <td>性别: {{ patientInfo_gender_1 ? "男" : "女" }}</td>
40
-                <td>年龄:{{ getAge(patientInfo) }}</td>
40
+                <td>年龄:{{ getAge(patientInfo) }}</td>
41 41
                 <td>门诊号: {{
42 42
                     patientInfo.admission_number
43 43
                       ? patientInfo.admission_number
@@ -57,9 +57,9 @@
57 57
                   </span>
58 58
                 </td>
59 59
                 <td>治疗时间:{{getTime(prescription.record_date,"{y}-{m}-{d}") }}</td>
60
-                <td>干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}</td>
60
+                <td>干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg</td>
61 61
                 <td>上次透后体重:
62
-                  {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}
62
+                  {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}kg
63 63
                 </td>
64 64
               </tr>
65 65
               <tr>
@@ -68,7 +68,7 @@
68 68
                     predialysis.weight_before ? predialysis.weight_before : "/"
69 69
                   }}kg
70 70
                 </td>
71
-                <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
71
+                <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
72 72
                 <td colspan="2">患者评估:
73 73
                   入科方式:
74 74
                   <span v-if="receiverTreatmentAccess.way == 1">步行</span>
@@ -131,8 +131,8 @@
131 131
                         }}次/分
132 132
                       </span>&nbsp;
133 133
                     BP <span>
134
-                        {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} /
135
-                        {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}
134
+                        {{predialysis.systolic_blood_pressure ? predialysis.systolic_blood_pressure : "/"}} mmHg/
135
+                        {{ predialysis.diastolic_blood_pressure ? predialysis.diastolic_blood_pressure : '/' }}mmHg
136 136
                       </span>&nbsp;
137 137
                   </div>
138 138
                 </td>
@@ -179,7 +179,7 @@
179 179
                   {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }} min
180 180
                 </td>
181 181
                 <td>预超:{{prescription.target_ultrafiltration }}L</td>
182
-                <td>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}</td>
182
+                <td>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "/" }}ml/min</td>
183 183
               </tr>
184 184
               <tr>
185 185
                 <td colspan="4">抗凝剂:
@@ -251,18 +251,16 @@
251 251
                 <td colspan="2">
252 252
                   处方医生:
253 253
                   <span
254
-                    style="height: 30px; display: inline-block"
255
-                      v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
256
-                      >
254
+                    style="height: 30px; display: inline-block">
257 255
                      {{ getAdminUser(doctor_advices[0].advice_doctor) }}
258 256
                   </span>
259
-                  <img
257
+                  <!-- <img
260 258
                     style="height: 60px; width:30%"
261 259
                     :src="setAdminUserES(doctor_advices[0].advice_doctor)"
262 260
                     alt=""
263 261
                     srcset=""
264 262
                     v-else
265
-                  />
263
+                  /> -->
266 264
                 </td>
267 265
               </tr>
268 266
             </table>
@@ -271,7 +269,7 @@
271 269
           <div class="infoTitle">透析记录</div>
272 270
           <div style="margin: 10px 0px;">
273 271
             <table class="table" border="1"
274
-            style="border-collapse: collapse;text-align: center;width: 100%;"
272
+            style="border-collapse: collapse;width: 100%;"
275 273
             >
276 274
               <tr>
277 275
                 <th rowspan="2" width="50">时间</th>
@@ -281,9 +279,9 @@
281 279
                 <th rowspan="2" width="80">签名</th>
282 280
               </tr>
283 281
               <tr>
284
-                <th width="50">血压<br>mmHg</th>
285
-                <th width="50">呼吸<br>次/分</th>
286
-                <th width="50">心率<br>次/分</th>
282
+                <th width="70">血压<br>mmHg</th>
283
+                <th width="40">呼吸<br>次/分</th>
284
+                <th width="40">心率<br>次/分</th>
287 285
                 <th width="50">血流量<br>ml/min</th>
288 286
                 <th width="50">静脉压<br>mmHg</th>
289 287
                 <th width="50">透析液<br>温度℃</th>
@@ -292,7 +290,7 @@
292 290
                 <th width="50">超滤率<br>ml/h</th>
293 291
                 <th width="50">电导率<br>ms/cm</th>
294 292
               </tr>
295
-              <tr v-for="(monitor, monindex) in monitors" :key="monindex">
293
+               <tr v-for="(monitor, monindex) in monitors" :key="monindex">
296 294
                 <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
297 295
                 <td>{{monitor.systolic_blood_pressure? monitor.systolic_blood_pressure + "/": ""}}
298 296
                 {{monitor.diastolic_blood_pressure? monitor.diastolic_blood_pressure: ""}}</td>
@@ -305,28 +303,26 @@
305 303
                 <td>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</td>
306 304
                 <td>{{monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</td>
307 305
                 <td>{{monitor.conductivity? monitor.conductivity: ""}}</td>
308
-                <td>
306
+               <td>
309 307
                   {{monitor.symptom?monitor.symptom:"" }}&nbsp;
310 308
                   {{monitor.dispose? monitor.dispose: ""}}&nbsp;
311 309
                   {{monitor.result? monitor.result: ""}}
312 310
                 </td>
313 311
                 <td>
314 312
                   <span
315
-                    style="height: 30px; display: inline-block"
316
-                      v-if="setAdminUserES(monitor.monitoring_nurse) == ''"
317
-                      >
313
+                    style="height: 30px; display: inline-block">
318 314
                      {{ getAdminUser(monitor.monitoring_nurse) }}
319 315
                   </span>
320
-                  <img
316
+                  <!-- <img  v-if="setAdminUserES(monitor.monitoring_nurse) != ''"
321 317
                     style="height: 60px"
322 318
                     :src="setAdminUserES(monitor.monitoring_nurse)"
323 319
                     alt=""
324 320
                     srcset=""
325 321
                     v-else
326
-                  />
322
+                  /> -->
327 323
 
328 324
                 </td>
329
-              </tr>
325
+                </tr>
330 326
             </table>
331 327
           </div>
332 328
           <div style="margin-bottom: 10px;">
@@ -383,17 +379,9 @@
383 379
                 </td>
384 380
 
385 381
                 <td height="32px">
386
-                  <span
387
-                    v-if="setAdminUserES(advice.advice_doctor) == ''"
388
-                    >{{ getAdminUser(advice.advice_doctor) }}</span
389
-                  >
390
-                  <img
391
-                    style="height: 60px ;width: 84%;"
392
-                    :src="setAdminUserES(advice.advice_doctor)"
393
-                    alt=""
394
-                    srcset=""
395
-                    v-else
396
-                  />
382
+                  <span>
383
+                    {{ getAdminUser(advice.advice_doctor) }}
384
+                  </span>
397 385
                 </td>
398 386
                 <td height="32px">
399 387
                   <span v-if="advice.execution_time">{{
@@ -401,17 +389,9 @@
401 389
                   }}</span>
402 390
                 </td>
403 391
                 <td height="32px">
404
-                  <span
405
-                    v-if="setAdminUserES(advice.execution_staff) == ''"
406
-                    >{{ getAdminUser(advice.execution_staff) }}</span
407
-                  >
408
-                  <img
409
-                    style="height: 60px;width: 84%;"
410
-                    :src="setAdminUserES(advice.execution_staff)"
411
-                    alt=""
412
-                    srcset=""
413
-                    v-else
414
-                  />
392
+                  <span>
393
+                    {{ getAdminUser(advice.execution_staff) }}
394
+                  </span>
415 395
                 </td>
416 396
               </tr>
417 397
             </table>
@@ -431,7 +411,7 @@
431 411
                             afterdialysis.additional_weight
432 412
                         ).toFixed(1)
433 413
                       : "/"
434
-                  }}kg
414
+                  }} kg
435 415
                 </td>
436 416
                 <td>实超:{{ afterdialysis.actual_ultrafiltration }}ml</td>
437 417
                 <td>实际治疗时长:
@@ -496,15 +476,7 @@
496 476
                 <td width="8%">上机护士:</td>
497 477
                 <td width="10%">
498 478
                   <div>
499
-                    <span
500
-                      v-if="
501
-                        setAdminUserES(
502
-                          dialysisOrder == null
503
-                            ? 0
504
-                            : dialysisOrder.start_nurse
505
-                        ) == ''
506
-                      "
507
-                    >
479
+                    <span>
508 480
                       {{
509 481
                         getAdminUser(
510 482
                           dialysisOrder == null
@@ -512,36 +484,22 @@
512 484
                             : dialysisOrder.start_nurse
513 485
                         )
514 486
                       }}</span>
515
-                    <img
516
-                      style="height: 65px;width: 100%;"
517
-                      :src="
518
-                        setAdminUserES(
519
-                          dialysisOrder == null
520
-                            ? 0
521
-                            : dialysisOrder.start_nurse
522
-                        )
523
-                      "
524
-                      alt=""
525
-                      srcset=""
526
-                      v-else
527
-                    />
528
-
529 487
                   </div>
530 488
                 </td>
531 489
                 <td width="8%">核对护士:</td>
532 490
                 <td width="10%">
533
-                  <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
534
-                  <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
491
+                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
492
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
535 493
                 </td>
536 494
                 <td width="8%">下机护士:</td>
537 495
                 <td width="10%">
538
-                  <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
539
-                  <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else>
496
+                  <span>{{getAdminUser(dialysisOrder==null?0:dialysisOrder.finish_nurse)}}</span>
497
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.finish_nurse)" alt="" srcset="" v-else> -->
540 498
                 </td>
541 499
                 <td width="5%">医生:</td>
542 500
                 <td width="10%">
543
-                  <span v-if="setAdminUserES(prescription.creater) == ''">{{getAdminUser(prescription.creater)}}</span>
544
-                  <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else>
501
+                  <span>{{getAdminUser(prescription.creater)}}</span>
502
+                  <!-- <img style="height:65px;width: 90%;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else> -->
545 503
                 </td>
546 504
               </tr>
547 505
             </table>

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printTen.vue Zobrazit soubor

@@ -9,8 +9,8 @@
9 9
           <div >
10 10
             <span>姓名:{{paramsObj.name}}</span>
11 11
             <span style="margin-left: 60px;">性别:</span>
12
-            <span style="" v-if="list.gender == 1">女</span>
13
-            <span style="" v-else-if="list.gender == 2">男</span>
12
+            <span style="" v-if="list.gender == 2">女</span>
13
+            <span style="" v-else-if="list.gender == 1">男</span>
14 14
           </div>
15 15
           <div>
16 16
             <span style="margin-right: 60px;">NO:</span>

+ 5 - 7
src/xt_pages/outpatientCharges/statementPrint.vue Zobrazit soubor

@@ -23,7 +23,7 @@
23 23
           org_id == 10138 ||
24 24
           org_id == 9504 ||
25 25
           org_id == 10028 ||
26
-          org_id == 10278
26
+          org_id == 10278 || org_id == 0
27 27
         "
28 28
       >
29 29
         <printTwo :info="info" v-if="org_id == 9990"></printTwo>
@@ -31,10 +31,10 @@
31 31
           :info="info"
32 32
           :paramsObj="paramsObj"
33 33
           :balanceAccounts="balanceAccounts"
34
-          v-if="org_id == 10138 || org_id == 0 || org_id == 10278  "
34
+          v-if="org_id == 10138 || org_id == 10278  "
35 35
         ></printThree>
36 36
         <printFour
37
-          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088"
37
+          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088 || org_id == 0 "
38 38
           :info="info"
39 39
           :paramsObj="paramsObj"
40 40
           :balanceAccounts="balanceAccounts"
@@ -483,8 +483,7 @@
483 483
                   console.log("this.num", this.num);
484 484
                 }
485 485
               });
486
-            } else
487
-              if (this.org_id == 10028) {
486
+            } else if (this.org_id == 10028 ||  this.org_id == 0  || this.org_id == 9504) {
488 487
               getPrivateExpenses(params).then((response) => {
489 488
                 if (response.data.state == 0) {
490 489
                   // this.$message.error(response.data.msg)
@@ -528,8 +527,7 @@
528 527
                   console.log(111, this.balanceAccounts);
529 528
                 }
530 529
               });
531
-            } else
532
-            {
530
+            } else {
533 531
               getPrivateExpensesOrder(params).then((response) => {
534 532
                 if (response.data.state == 0) {
535 533
                   // this.$message.error(response.data.msg)

+ 15 - 14
src/xt_pages/outpatientCharges/statementTemplate/printFour.vue Zobrazit soubor

@@ -32,55 +32,55 @@
32 32
                       <div style="width:20%;">
33 33
                           <div class="chargeUl" v-if="info.bed_cost_total > 0">
34 34
                               <p style="width:50%;">床位费</p>
35
-                              <p style="width:50%;">{{info.bed_cost_total?info.bed_cost_total:0}}元</p>
35
+                              <p style="width:50%;">{{info.bed_cost_total?info.bed_cost_total.toFixed(2):0}}元</p>
36 36
                           </div>
37 37
                           <div class="chargeUl" v-if="info.operation_cost_total > 0">
38 38
                               <p style="width:50%;">手术费</p>
39
-                              <p style="width:50%;">{{info.operation_cost_total?info.operation_cost_total:0}}元</p>
39
+                              <p style="width:50%;">{{info.operation_cost_total?info.operation_cost_total.toFixed(2):0}}元</p>
40 40
                           </div>
41 41
                           <div class="chargeUl" v-if="info.other_cost_total > 0">
42 42
                               <p style="width:50%;">其他费</p>
43
-                              <p style="width:50%;">{{info.other_cost_total?info.other_cost_total:0}}元</p>
43
+                              <p style="width:50%;">{{info.other_cost_total?info.other_cost_total.toFixed(2):0}}元</p>
44 44
                           </div>
45 45
                           <div class="chargeUl" v-if="info.material_cost_total > 0">
46 46
                               <p style="width:50%;">材料费</p>
47
-                              <p style="width:50%;">{{info.material_cost_total?info.material_cost_total:0}}元</p>
47
+                              <p style="width:50%;">{{info.material_cost_total?info.material_cost_total.toFixed(2):0}}元</p>
48 48
                           </div>
49 49
                           <div class="chargeUl" v-if="info.western_medicine_cost_total > 0">
50 50
                               <p style="width:50%;">西药费</p>
51
-                              <p style="width:50%;">{{info.western_medicine_cost_total?info.western_medicine_cost_total:0}}元</p>
51
+                              <p style="width:50%;">{{info.western_medicine_cost_total?info.western_medicine_cost_total.toFixed(2):0}}元</p>
52 52
                           </div>
53 53
                           <div class="chargeUl" v-if="info.chinese_traditional_medicine_cost_total > 0">
54 54
                               <p style="width:50%;">中成费</p>
55
-                              <p style="width:50%;">{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total:0}}元</p>
55
+                              <p style="width:50%;">{{info.chinese_traditional_medicine_cost_total?info.chinese_traditional_medicine_cost_total.toFixed(2):0}}元</p>
56 56
                           </div>
57 57
                           <div class="chargeUl" v-if="info.check_cost_total > 0">
58 58
                               <p style="width:50%;">检查费</p>
59
-                              <p style="width:50%;">{{info.check_cost_total?info.check_cost_total:0}}元</p>
59
+                              <p style="width:50%;">{{info.check_cost_total?info.check_cost_total.toFixed(2):0}}元</p>
60 60
                           </div>
61 61
                           <div class="chargeUl" v-if="info.laboratory_cost_total > 0">
62 62
                               <p style="width:50%;">化验费</p>
63
-                              <p style="width:50%;">{{info.laboratory_cost_total?info.laboratory_cost_total:0}}元</p>
63
+                              <p style="width:50%;">{{info.laboratory_cost_total?info.laboratory_cost_total.toFixed(2):0}}元</p>
64 64
                           </div>
65 65
                           <div class="chargeUl" v-if="info.treat_cost_total > 0">
66 66
                               <p style="width:50%;">治疗费</p>
67
-                              <p style="width:50%;">{{info.treat_cost_total?info.treat_cost_total:0}}元</p>
67
+                              <p style="width:50%;">{{info.treat_cost_total?info.treat_cost_total.toFixed(2):0}}元</p>
68 68
                           </div>
69 69
                           <div class="chargeUl" style="border-top:1px solid #000;">
70 70
                               <p style="width:50%;">费用合计</p>
71
-                              <p style="width:50%;">{{info.medfee_sumamt?info.medfee_sumamt:0}}元</p>
71
+                              <p style="width:50%;">{{info.medfee_sumamt?info.medfee_sumamt.toFixed(2):0}}元</p>
72 72
                           </div>
73 73
                           <div class="chargeUl" style="border-top:1px solid #000;">
74 74
                               <p style="width:50%;">记账支付</p>
75
-                              <p style="width:50%;">{{info.hifp_pay?info.hifp_pay:0}}元</p>
75
+                              <p style="width:50%;">{{info.hifp_pay?info.hifp_pay.toFixed(2):0}}元</p>
76 76
                           </div>
77 77
                           <div class="chargeUl" style="border-top:1px solid #000;">
78 78
                               <p style="width:50%;">个人账号</p>
79
-                              <p style="width:50%;">{{info.acct_pay?info.acct_pay:0}}元</p>
79
+                              <p style="width:50%;">{{info.acct_pay?info.acct_pay.toFixed(2):0}}元</p>
80 80
                           </div>
81 81
                           <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
82 82
                               <p style="width:50%;">现金支付</p>
83
-                              <p style="width:50%;">{{info.psn_pay?info.psn_pay:0}}元</p>
83
+                              <p style="width:50%;">{{info.psn_pay?info.psn_pay.toFixed(2):0}}元</p>
84 84
                           </div>
85 85
                       </div>
86 86
                       <div style="width:80%;max-height:500px;">
@@ -171,7 +171,7 @@
171 171
                               <span v-if="item.type == 2">治疗费</span>
172 172
                               <span v-if="item.type == 3">耗材费</span>
173 173
                             </p>
174
-                            <p style="width:50%;">{{item.total?item.total:0}}元</p>
174
+                            <p style="width:50%;">{{item.total?item.total.toFixed(2):0}}元</p>
175 175
                         </div>
176 176
                         <div class="chargeUl" style="border-top:1px solid #000;">
177 177
                             <p style="width:50%;">费用合计</p>
@@ -408,6 +408,7 @@ export default {
408 408
       }else{
409 409
         this.page = 1
410 410
         this.pageArr = []
411
+
411 412
         if(this.balanceAccounts.order_info.length <= 13){
412 413
             this.page = 1
413 414
             this.pageArr.push(this.balanceAccounts.order_info.length)