Przeglądaj źródła

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

XMLWAN 3 lat temu
rodzic
commit
6c884aecec

+ 24 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Wyświetl plik

@@ -563,6 +563,16 @@
563 563
           >打印</el-button
564 564
         >
565 565
       </template>
566
+      <template v-if="org_template_info.template_id == 41">
567
+        <el-button
568
+          :loading="loading"
569
+          size="small"
570
+          icon="el-icon-printer"
571
+          @click="printThisPage"
572
+          type="primary"
573
+          >打印</el-button
574
+        >
575
+      </template>
566 576
     </div>
567 577
     <div class="app-container" style="min-height:0;">
568 578
       <!--<div class="order-print-btn"-->
@@ -843,6 +853,11 @@
843 853
             v-if="org_template_info.template_id == 40"
844 854
           >
845 855
           </DialysisPrintOrderForty>
856
+          <DialysisPrintOrderFortyOne
857
+            v-bind:childResponse="childResponse"
858
+            v-if="org_template_info.template_id == 41"
859
+          >
860
+          </DialysisPrintOrderFortyOne>
846 861
         </div>
847 862
       </el-container>
848 863
     </div>
@@ -902,9 +917,11 @@ import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySe
902 917
 import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
903 918
 import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
904 919
 import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
920
+import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
905 921
 export default {
906 922
   name: "dialysisPrintOrder",
907 923
   components: {
924
+    DialysisPrintOrderFortyOne,
908 925
     DialysisPrintOrderForty,
909 926
     DialysisPrintOrderThirtyNine,
910 927
     DialysisPrintOrderThirtyEight,
@@ -1390,6 +1407,13 @@ export default {
1390 1407
           style: style5,
1391 1408
           scanStyles: false
1392 1409
         });
1410
+      } else if (this.org_template_info.template_id == 41){
1411
+        printJS({
1412
+          printable: "dialysis-print-box-1",
1413
+          type: "html",
1414
+          style: style2,
1415
+          scanStyles: false
1416
+        });
1393 1417
       }
1394 1418
     },
1395 1419
     printThisOnePage() {

Plik diff jest za duży
+ 1713 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue


+ 177 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Wyświetl plik

@@ -1340,6 +1340,183 @@
1340 1340
           </tr>
1341 1341
         </tbody>
1342 1342
       </table>
1343
+      <table class="print-table" border="1">
1344
+        <tbody>
1345
+          <tr>
1346
+            <td class="title-box" width="30px">透后评估</td>
1347
+            <td>
1348
+              <table class="table-box">
1349
+                <tbody>
1350
+                  <tr>
1351
+                    <td width="90">实际治疗时间</td>
1352
+                    <td width="40">
1353
+                      <div class="under-line">
1354
+                        &nbsp;{{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}
1355
+                      </div>
1356
+                    </td>
1357
+                    <td width="10">h</td>
1358
+                    <td width="40">
1359
+                      <div class="under-line">
1360
+                        &nbsp;{{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}
1361
+                      </div>
1362
+                    </td>
1363
+                    <td width="35">min</td>
1364
+                    <td></td>
1365
+                    <td width="75">实际超滤量</td>
1366
+                    <td width="70">
1367
+                      <div class="under-line">
1368
+                        &nbsp;{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }}
1369
+                      </div>
1370
+                    </td>
1371
+                    <td width="20">ml</td>
1372
+                    <td></td>
1373
+                    <td width="60">透后体重</td>
1374
+                    <td width="50">
1375
+                      <div class="under-line">
1376
+                        &nbsp;{{ afterdialysis.weight_after ? afterdialysis.weight_after : "" }}
1377
+                      </div>
1378
+                    </td>
1379
+                    <td width="20">Kg</td>
1380
+                    <td width='20'></td>
1381
+                    <td width='100'>血管杂音及震颤</td>
1382
+                    <td width='160'>
1383
+                        <label-box :isChecked="afterdialysis.internal_fistula&&afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
1384
+                        &nbsp;
1385
+                        <label-box :isChecked="afterdialysis.internal_fistula&&afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
1386
+                        &nbsp;
1387
+                        <label-box :isChecked="afterdialysis.internal_fistula&&afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="无"></label-box>
1388
+                    </td>
1389
+                    <td></td>
1390
+                    <!-- <td width="95">透析器堵塞:</td>
1391
+                    <td width="200">
1392
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血0级') > -1 ? true : false) :false" showValue="0级"></label-box>
1393
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅰ级') > -1 ? true : false) :false" showValue="Ⅰ级"></label-box>
1394
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅱ级') > -1 ? true : false) :false" showValue="Ⅱ级"></label-box>
1395
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('凝血Ⅲ级') > -1 ? true : false) :false" showValue="Ⅲ级"></label-box>
1396
+                    </td> -->
1397
+                  </tr>
1398
+                </tbody>
1399
+              </table>
1400
+              <table class="table-box">
1401
+                <tbody>
1402
+                  <tr>
1403
+                    <td width="80">透析器凝血</td>
1404
+                    <td width="200">
1405
+                      <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false : false" showValue="无"></label-box>&nbsp;
1406
+                      <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false : false" showValue="+"></label-box>&nbsp;
1407
+                      <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false : false" showValue="+ +"></label-box>&nbsp;
1408
+                      <label-box :isChecked="afterdialysis.cruor ? afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false : false" showValue="+ + +"></label-box>&nbsp;
1409
+                    </td>
1410
+                    <td width="70">静脉管道:</td>
1411
+                    <td width="200">
1412
+                      <label-box :isChecked="afterdialysis.intravenous_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
1413
+                      <label-box :isChecked="afterdialysis.intravenous_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
1414
+                      <label-box :isChecked="afterdialysis.intravenous_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
1415
+                      <label-box :isChecked="afterdialysis.intravenous_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
1416
+                    </td>
1417
+                    <td width="70">动脉管道:</td>
1418
+                    <td width="200">
1419
+                      <label-box :isChecked="afterdialysis.arterial_tube == 1 ? true : false" showValue="无"></label-box>&nbsp;
1420
+                      <label-box :isChecked="afterdialysis.arterial_tube == 2 ? true : false" showValue="+"></label-box>&nbsp;
1421
+                      <label-box :isChecked="afterdialysis.arterial_tube == 3 ? true : false" showValue="+ +"></label-box>&nbsp;
1422
+                      <label-box :isChecked="afterdialysis.arterial_tube == 4 ? true : false" showValue="+ + +"></label-box>&nbsp;
1423
+                    </td>
1424
+                    <td></td>
1425
+                  </tr>
1426
+                </tbody>
1427
+              </table>
1428
+              <table class="table-box">
1429
+                <tbody>
1430
+                  <tr>
1431
+                    <td width='100'>
1432
+                        <label-box :isChecked="afterdialysis.puncture_point_haematoma == 1 ? true : false" showValue="穿刺处血肿"></label-box>
1433
+                    </td>
1434
+                    <td width='100'>导管特殊情况</td>
1435
+                    <td width='200'>
1436
+                        <div class="under-line">
1437
+                            &nbsp;{{ afterdialysis.catheter ? afterdialysis.catheter : '' }}
1438
+                        </div>
1439
+                    </td>
1440
+                    <td></td>
1441
+                  </tr>
1442
+                </tbody>
1443
+              </table>
1444
+
1445
+
1446
+
1447
+              <table class="table-box">
1448
+                <tbody>
1449
+                  <tr>
1450
+                    <td width="55">并发症:</td>
1451
+                    <td width="560">
1452
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>&nbsp;
1453
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('低血压') > -1 ? true : false" showValue="低血压"></label-box>&nbsp;
1454
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>&nbsp;
1455
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('低血糖') > -1 ? true : false" showValue="低血糖"></label-box>&nbsp;
1456
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>&nbsp;
1457
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>&nbsp;
1458
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>&nbsp;
1459
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('肌肉痉挛') > -1 ? true : false" showValue="肌肉痉挛"></label-box>&nbsp;
1460
+                      <label-box :isChecked="afterdialysis.complication&&afterdialysis.complication.indexOf('出血') > -1 ? true : false" showValue="出血"></label-box>
1461
+                    </td>
1462
+                    <td width='40'>其他</td>
1463
+                    <td width='160'>
1464
+                      <div class="under-line">
1465
+                        &nbsp;{{ afterdialysis.other_complication ? afterdialysis.other_complication : '' }}
1466
+                      </div>
1467
+                    </td>
1468
+                    <td></td>
1469
+                  </tr>
1470
+                </tbody>
1471
+              </table>
1472
+
1473
+
1474
+
1475
+              <table class="table-box">
1476
+                <tbody>
1477
+                  <tr>
1478
+                    <td width="40">冲管:</td>
1479
+                    <td width="100">
1480
+                      <div class="under-line">&nbsp;
1481
+                        <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)}}</span>
1482
+                        <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
1483
+                      </div>
1484
+                    </td>
1485
+                    <td width=30></td>
1486
+                    <td width="40">穿刺:</td>
1487
+                    <td width="100">
1488
+                      <div class="under-line">&nbsp;
1489
+                        <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
1490
+                        <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
1491
+                      </div>
1492
+                    </td>
1493
+                    <td width='30'></td>
1494
+                    <td width="80">责任护士:</td>
1495
+                    <td width="100">
1496
+                      <div class="under-line">&nbsp;
1497
+                        <!--<span v-if="afterdialysis.creater==0">&nbsp;</span>-->
1498
+                        <!--<img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else>-->
1499
+
1500
+                        <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
1501
+                        <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
1502
+                      </div>
1503
+                    </td>
1504
+                    <td width='30'></td>
1505
+                    <td width='70'>医生签名</td>
1506
+                    <td width='100'>
1507
+                        <div class="under-line">
1508
+                            &nbsp;
1509
+                            <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
1510
+                            <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
1511
+                        </div>
1512
+                    </td>
1513
+                  </tr>
1514
+                </tbody>
1515
+              </table>
1516
+            </td>
1517
+          </tr>
1518
+        </tbody>
1519
+      </table>
1343 1520
     </div>
1344 1521
   </div>
1345 1522
 </template>

+ 5 - 5
src/xt_pages/outpatientCharges/invoicePrint.vue Wyświetl plik

@@ -26,7 +26,7 @@ import printOne from './invoiceTemplate/printOne'
26 26
 import printTwo from './invoiceTemplate/printTwo'
27 27
 import printThree from './invoiceTemplate/printThree'
28 28
 export default {
29
-  name: "invoicePrint",
29
+   name: "invoicePrint",
30 30
   components: {
31 31
     printOne,
32 32
     printTwo,
@@ -40,7 +40,7 @@ export default {
40 40
       childResponse: {},
41 41
     //   invoiceParams:{},
42 42
      org_id:''
43
-      
43
+
44 44
 
45 45
     };
46 46
   },
@@ -76,7 +76,7 @@ export default {
76 76
             style: style,
77 77
             scanStyles: false
78 78
         });
79
-      
79
+
80 80
 
81 81
       // if (this.org_template_info.template_id == 1) {
82 82
       //   printJS({
@@ -96,7 +96,7 @@ export default {
96 96
     paramsObj:{//深度监听,可监听到对象、数组的变化
97 97
       handler(val, oldVal){
98 98
         this.invoiceParams = val
99
-        
99
+
100 100
       },
101 101
       deep:true
102 102
     }
@@ -150,7 +150,7 @@ export default {
150 150
 }
151 151
 .actionBar{
152 152
     display: flex;
153
-    justify-content: space-between; 
153
+    justify-content: space-between;
154 154
     line-height: 24px;
155 155
     padding:0 10px;
156 156
 }

+ 2 - 1
src/xt_pages/outpatientCharges/invoiceTemplate/printTwo.vue Wyświetl plik

@@ -135,6 +135,7 @@ export default {
135 135
         let params = {
136 136
             order_id: this.paramsObj.order_id,
137 137
             patient_id: this.paramsObj.patient_id,
138
+            number: this.paramsObj.number,
138 139
         }
139 140
         this.getInvoice(params)
140 141
         // var data = new Date();
@@ -186,7 +187,7 @@ export default {
186 187
             }
187 188
 
188 189
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
189
-            n += "00";  
190
+            n += "00";
190 191
 
191 192
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
192 193
 

+ 5 - 5
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue Wyświetl plik

@@ -85,9 +85,9 @@
85 85
         if(this.$store.getters.xt_user.org_id == 10138){
86 86
           setTimeout(() => {
87 87
             const style =
88
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 48%;}}}';
88
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}';
89 89
             const style2 =
90
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 51%;}}}';
90
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 50%;}}}';
91 91
             const style3 =
92 92
             '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 55%;}}}';
93 93
             const style4 =
@@ -103,11 +103,11 @@
103 103
             const style9 =
104 104
             '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 80%;}}}';
105 105
             const style10 =
106
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 90%;}}}';
106
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 85%;}}}';
107 107
             const style11 =
108
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 91%;}}}';
108
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 87%;}}}';
109 109
             const style12 =
110
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 91%;}}}';
110
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 89%;}}}';
111 111
             if(this.num >= 13){
112 112
               printJS({
113 113
                 printable: "prescription-print",

+ 2 - 2
src/xt_pages/outpatientCharges/newTreatTemplate/printTwo.vue Wyświetl plik

@@ -12,9 +12,9 @@
12 12
                   <div>姓名:<span style="display:inline-block;width:50px;">{{info.patient_name ? info.patient_name : ''}}</span></div>
13 13
                   <div>性别:<span style="display:inline-block;width:30px;">{{info.patient_info.transBody.aac004 == '1' ? '男' : '女'}}</span></div>
14 14
                   <div>年龄:<span style="display:inline-block;width:50px;">{{info.patient_info.transBody.bae093 ? info.patient_info.transBody.bae093 : ''}}岁</span></div>
15
-                  <div>费别:<span style="display:inline-block;width:80px;">{{info.patient_info.transBody.outputlist1 ? getName(info.patient_info.transBody.outputlist1) : ''}}</span>
15
+                  <div>费别:<span style="display:inline-block;min-width:80px;">{{info.patient_info.transBody.outputlist1 ? getName(info.patient_info.transBody.outputlist1) : ''}}</span>
16 16
                   </div>
17
-                  <div>电脑号:<span style="display:inline-block;width:80px;">{{info.patient_info.transBody.aac999 ? info.patient_info.transBody.aac999 : ''}}</span></div>
17
+                  <div style="margin-left:2px;">电脑号:<span style="display:inline-block;width:80px;">{{info.patient_info.transBody.aac999 ? info.patient_info.transBody.aac999 : ''}}</span></div>
18 18
                   <div>收费日期:<span style="display:inline-block;width:100px;">{{info.record_date ? info.record_date : ''}}</span></div>
19 19
                 </div>
20 20
                 <div style="float:right">金额单位:元</div>

+ 6 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Wyświetl plik

@@ -4772,7 +4772,11 @@
4772 4772
               })
4773 4773
 
4774 4774
             } else {
4775
-
4775
+              var ids = []
4776
+              for (let i = 0; i < prescriptions.length; i++) {
4777
+                ids.push(prescriptions[i].id)
4778
+              }
4779
+              var ids_str = ids.join(',')
4776 4780
               var that = this
4777 4781
               let form = {}
4778 4782
               form['id'] = this.patientInfo.id
@@ -4780,7 +4784,7 @@
4780 4784
               form['record_time'] = this.record_date
4781 4785
               form['admin_user_id'] = this.$store.getters.xt_user.user.id
4782 4786
               form['org_id'] = this.$store.getters.xt_user.org_id
4783
-
4787
+              form['ids'] = ids_str
4784 4788
               form['p_type'] = med_type
4785 4789
               form['diagnosis'] = this.form.diagnosis.join(',')
4786 4790
               form['sick_type'] = this.form.sick_type

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Wyświetl plik

@@ -2875,8 +2875,8 @@
2875 2875
                   unit: project[i].project.unit,
2876 2876
                   type: project[i].type
2877 2877
                 }
2878
-                if (obj.total == 0 || obj.total == undefined) {
2879
-                  obj.total = 1
2878
+                if (obj.cus_total == 0 || obj.cus_total == undefined) {
2879
+                  obj.cus_total = 1
2880 2880
                 }
2881 2881
 
2882 2882
                 this.teamList.push(obj)