Browse Source

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

csx 2 years ago
parent
commit
f97b519e04
1 changed files with 74 additions and 121 deletions
  1. 74 121
      src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue

+ 74 - 121
src/xt_pages/dialysis/template/DialysisPrintOrderFortyEight.vue View File

@@ -9,7 +9,10 @@
9 9
         </div>
10 10
         <table class="print-table" border="1" style="margin-top: 10px">
11 11
           <tr>
12
-            <td style="text-align: left; width: 170px;line-height:30px;" colspan="1">
12
+            <td
13
+              style="text-align: left; width: 170px; line-height: 30px"
14
+              colspan="1"
15
+            >
13 16
               <span style="display: inline-block; margin-left: 15px">
14 17
                 {{ getDatge(queryParams.xtdate) }}
15 18
               </span>
@@ -505,62 +508,20 @@
505 508
           </tr>
506 509
           <tr>
507 510
             <td colspan="8" style="text-align: left">
508
-              <span style="display: inline-block; margin-left: 15px">
509
-                血管通路:内瘘波动及震颤: (&nbsp;
510
-                <!-- <label-box
511
-                  v-for="(item, index) in arr"
511
+              <span style="display: inline-block; margin-left: 15px" v-if="predialysis.blood_access_part_opera_name!=''">
512
+                血管通路:
513
+                <!-- {{predialysis.blood_access_part_opera_name ?'' :predialysis.blood_access_part_opera_name}}&nbsp;&nbsp; -->
514
+               <span
515
+                  v-for="(item, index) in arrtwo"
512 516
                   :key="index"
513
-                  :isChecked="
514
-                    predialysis.blood_access_part_opera_id == item.id
515
-                      ? true
516
-                      : false
517
-                  "
518
-                  :showValue="item.name"
519
-                ></label-box> -->
520
-                <label-box
521
-                  :isChecked="
522
-                    predialysis.blood_access_part_opera_name.indexOf(
523
-                      '内瘘波动及震颤-存在'
524
-                    ) > -1
525
-                      ? true
526
-                      : predialysis.internal_fistula.indexOf(
527
-                          '内瘘波动及震颤-存在'
528
-                        ) > -1
529
-                      ? true
530
-                      : false
531
-                  "
532
-                  showValue="存在"
533
-                ></label-box>
534
-                <label-box
535
-                  :isChecked="
536
-                    predialysis.blood_access_part_opera_name.indexOf(
537
-                      '内瘘波动及震颤-减弱'
538
-                    ) > -1
539
-                      ? true
540
-                      : predialysis.internal_fistula.indexOf(
541
-                          '内瘘波动及震颤-减弱'
542
-                        ) > -1
543
-                      ? true
544
-                      : false
545
-                  "
546
-                  showValue="减弱"
547
-                ></label-box>
548
-                <label-box
549
-                  :isChecked="
550
-                    predialysis.blood_access_part_opera_name.indexOf(
551
-                      '内瘘波动及震颤-消失'
552
-                    ) > -1
553
-                      ? true
554
-                      : predialysis.internal_fistula.indexOf(
555
-                          '内瘘波动及震颤-消失'
556
-                        ) > -1
557
-                      ? true
558
-                      : false
559
-                  "
560
-                  showValue="消失"
561
-                ></label-box>
562
-                )
563
-                <label-box
517
+                >
518
+                {{predialysis.blood_access_part_opera_id == item.id ? item.name :''}}
519
+                </span>
520
+                部位:
521
+                {{predialysis.blood_access_part_id ? '' : predialysis.blood_access_part_id}}&nbsp;&nbsp;
522
+
523
+                内瘘:{{predialysis.internal_fistula == ""?'无':predialysis.internal_fistula}}
524
+                <!-- <label-box
564 525
                   v-for="(item, index) in arrtwo"
565 526
                   :key="index"
566 527
                   :isChecked="
@@ -569,69 +530,47 @@
569 530
                       : false
570 531
                   "
571 532
                   :showValue="item.name"
572
-                ></label-box>
533
+                ></label-box> -->
534
+              </span>
535
+              <span style="display: inline-block; margin-left: 15px" v-else>
536
+                血管通路:无
573 537
               </span>
574 538
             </td>
575 539
           </tr>
576 540
           <tr>
577 541
             <td colspan="8" style="text-align: left">
578
-              <span style="display: inline-block; margin-left: 15px"
579
-                >中心静脉导管:</span
580
-              >
542
+              <span v-if="predialysis.venous_catheterization==1||predialysis.venous_catheterization==2">
543
+                <span style="display: inline-block; margin-left: 15px"
544
+                >中心静脉导管: {{predialysis.venous_catheterization == 1?'长期':'短期'}}</span
545
+              >&nbsp;&nbsp;
581 546
               <!-- (部位:{{ getPartName(predialysis.blood_access_part_id) }}) -->
582
-              (部位:{{ predialysis.blood_access_part_id }})
583
-              <label-box
584
-                showValue="长期"
585
-                :isChecked="
586
-                  predialysis.venous_catheterization == 1 ? true : false
587
-                "
588
-              ></label-box>
589
-              <label-box
590
-                showValue="临时"
591
-                :isChecked="
592
-                  predialysis.venous_catheterization == 2 ? true : false
593
-                "
594
-              ></label-box
595
-              >&nbsp;&nbsp; 感染:
596
-              <label-box
597
-                showValue="有"
598
-                :isChecked="
599
-                  predialysis.catheter.indexOf('感染-有') > -1 ? true : false
600
-                "
601
-              ></label-box>
602
-              <label-box
603
-                showValue="无"
604
-                :isChecked="
605
-                  predialysis.catheter.indexOf('感染-无') > -1 ? true : false
606
-                "
607
-              ></label-box
608
-              >&nbsp;&nbsp;流畅度:
609
-              <label-box
610
-                showValue="好"
611
-                :isChecked="
612
-                  predialysis.catheter.indexOf('通畅度-好') > -1 ? true : false
613
-                "
614
-              ></label-box>
615
-              <label-box
616
-                showValue="差"
617
-                :isChecked="
618
-                  predialysis.catheter.indexOf('通畅度-差') > -1 ? true : false
619
-                "
620
-              ></label-box
621
-              >&nbsp;&nbsp;溶栓:
622
-              <label-box
623
-                showValue="有"
624
-                :isChecked="
625
-                  predialysis.catheter.indexOf('溶栓-有') > -1 ? true : false
626
-                "
627
-              ></label-box>
628
-              <label-box
629
-                showValue="无"
630
-                :isChecked="
631
-                  predialysis.catheter.indexOf('溶栓-无') > -1 ? true : false
632
-                "
633
-              ></label-box>
547
+              部位:{{ predialysis.blood_access_part_id }}&nbsp;&nbsp;
548
+              
549
+              感染:<span v-if="predialysis.catheter.indexOf('感染-有') > -1">
550
+                有
551
+              </span>
552
+              <span v-if="predialysis.catheter.indexOf('感染-无') > -1">
553
+                无
554
+              </span>&nbsp;&nbsp;
555
+              
556
+              流畅度:
557
+              <span v-if="predialysis.catheter.indexOf('通畅度-好') > -1">
558
+                好
559
+              </span>
560
+              <span v-if="predialysis.catheter.indexOf('通畅度-差') > -1">
561
+                差
562
+              </span>&nbsp;&nbsp;
563
+             
564
+             <span v-if="predialysis.catheter.indexOf('溶栓-有') > -1 ||predialysis.catheter.indexOf('溶栓-无') > -1">
565
+               溶栓:<span v-if="predialysis.catheter.indexOf('溶栓-有') > -1">有</span>
566
+                     <span v-if="predialysis.catheter.indexOf('溶栓-无') > -1">无</span>
567
+             </span>
568
+              
634 569
               &nbsp;&nbsp;外露:{{ predialysis.exposed }}cm
570
+              </span>
571
+              <span style="display: inline-block; margin-left: 15px" v-else>
572
+                中心静脉导管:无
573
+              </span>
635 574
             </td>
636 575
           </tr>
637 576
           <tr>
@@ -808,14 +747,18 @@
808 747
               <span style="display: inline-block; margin-left: 15px"
809 748
                 >使用特殊药物:</span
810 749
               >
811
-              <label-box :isChecked="prescription.special_medicine == 1 ? true : false" showValue="无"></label-box>
812
-              <label-box :isChecked="prescription.special_medicine == 2 ? true : false" showValue="有"></label-box>:
813 750
               <label-box
814
-                :isChecked="prescription.special_medicine == 3 ? true : false"
751
+                :isChecked="prescription.special_medicine == 1 ? true : false"
752
+                showValue="无"
753
+              ></label-box>
754
+              <!-- <label-box :isChecked="prescription.special_medicine == 2 ? true : false" showValue="有"></label-box>: -->
755
+              有:
756
+              <label-box
757
+                :isChecked="prescription.special_medicine == 2 ? true : false"
815 758
                 showValue="降压药"
816 759
               ></label-box>
817 760
               <label-box
818
-                :isChecked="prescription.special_medicine == 4 ? true : false"
761
+                :isChecked="prescription.special_medicine == 3 ? true : false"
819 762
                 showValue="抗凝药"
820 763
               ></label-box>
821 764
               其他:{{ prescription.special_medicine_other }}
@@ -995,7 +938,10 @@
995 938
         <table class="print-table" border="1" style="line-height: 30px">
996 939
           <tr style="line-height: 20px">
997 940
             <td style="min-width: 80px">时间</td>
998
-
941
+            <td style="min-width: 80px">
942
+              体温
943
+              <br />℃
944
+            </td>
999 945
             <td style="min-width: 80px">
1000 946
               血流量
1001 947
               <br />ml/min
@@ -1016,12 +962,16 @@
1016 962
               超滤量
1017 963
               <br />ml
1018 964
             </td>
965
+            <td style="min-width: 80px">
966
+              置换量
967
+              <br />ml
968
+            </td>
1019 969
             <td style="min-width: 80px">
1020 970
               血压
1021 971
               <br />(mmHg)
1022 972
             </td>
1023 973
             <td style="min-width: 80px">
1024
-              心率
974
+              脉搏
1025 975
               <br />次/分
1026 976
             </td>
1027 977
             <!-- <td style="min-width:60px">
@@ -1033,12 +983,15 @@
1033 983
           </tr>
1034 984
 
1035 985
           <tr v-for="(monitor, monindex) in monitors" :key="monindex">
1036
-            <td style="height:30px;line-height:30px;">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1037
-
986
+            <td style="height: 30px; line-height: 30px">
987
+              {{ getTime(monitor.operate_time, "{h}:{i}") }}
988
+            </td>
989
+            <td>{{ monitor.temperature }}</td>
1038 990
             <td>{{ monitor.blood_flow_volume }}</td>
1039 991
             <td>{{ monitor.venous_pressure }}</td>
1040 992
             <td>{{ monitor.transmembrane_pressure }}</td>
1041 993
             <td>{{ monitor.ultrafiltration_volume }}</td>
994
+            <td>{{ monitor.displacement_quantity }}</td>
1042 995
             <td>
1043 996
               {{
1044 997
                 monitor.systolic_blood_pressure
@@ -1421,7 +1374,7 @@ export default {
1421 1374
       systolic_blood_pressure: "",
1422 1375
       diastolic_blood_pressure: "",
1423 1376
       mission: "",
1424
-      doctor:{},
1377
+      doctor: {},
1425 1378
       dialysis_summary: "",
1426 1379
       orderForm: {
1427 1380
         start_nurse: "",