Parcourir la source

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

28169 il y a 8 mois
Parent
révision
67c98995b6

+ 4 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue Voir le fichier

@@ -119,7 +119,7 @@
119 119
                       .blood_access_part_id
120 120
                       ? record.assessment_before_dislysis
121 121
                           .blood_access_part_id
122
-                      : 0
122
+                      : ''
123 123
                   }}
124 124
                   {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
125 125
                   <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
@@ -909,7 +909,7 @@
909 909
             </table>
910 910
           </div>
911 911
 
912
-          <div  style="border: 1px solid black;border-bottom:none;width: 99%;">
912
+          <div  style="border: 1px solid black;border-bottom:none;width: 99%;box-sizing: border-box;">
913 913
             <div class="row" style="display: flex;">
914 914
               <div class="inline_block" style="flex: 1">
915 915
                 上机护士:
@@ -1101,7 +1101,7 @@
1101 1101
               <div class="inline_block" style="flex: 1">
1102 1102
                 穿刺:
1103 1103
                 <div class="under_line"
1104
-                  style="width: 90px; text-align: center"
1104
+                  style="width: 70%; text-align: center;white-space: normal;"
1105 1105
                 >
1106 1106
                   {{ record.assessment_after_dislysis.internal_fistula ? record.assessment_after_dislysis.internal_fistula : "/" }}
1107 1107
                 </div>
@@ -1110,7 +1110,7 @@
1110 1110
               <div class="inline_block" style="flex: 1">
1111 1111
                 透析器:
1112 1112
                 <div class="under_line"
1113
-                  style="width: 90px; text-align: center"
1113
+                  style="width: 74%; text-align: center;white-space: normal;"
1114 1114
                 >
1115 1115
                   {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1116 1116
                 </div>

+ 40 - 23
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue Voir le fichier

@@ -103,8 +103,8 @@
103 103
                 style=" width: 52%;
104 104
                   text-align: center; white-space: normal;
105 105
                 ">
106
-                {{ predialysis.blood_access_part_id }}
107
-                {{ predialysis.blood_access_part_opera_name }}
106
+                {{ predialysis.blood_access_part_id ? predialysis.blood_access_part_id : '' }}
107
+                {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '' }}
108 108
               </div>
109 109
             </div>
110 110
             <div class="inline_block" style="flex: 1;" >
@@ -432,7 +432,7 @@
432 432
                 v-for="(advice, advice_index) in doctor_advices"
433 433
                 :key="advice_index"
434 434
               >
435
-                <td style="line-height:35px">
435
+                <td height="32px" style="line-height:35px">
436 436
                   <span v-if="advice.start_time">
437 437
                     {{ getTime(advice.start_time, "{h}:{i}") }}
438 438
                   </span>
@@ -515,6 +515,7 @@
515 515
                   />
516 516
                 </td>
517 517
               </tr>
518
+
518 519
             </tbody>
519 520
           </table>
520 521
         </div>
@@ -626,7 +627,7 @@
626 627
           </table>
627 628
         </div>
628 629
 
629
-        <div  style="border: 1px solid black;border-bottom:none;border-top:none;width: 99%;">
630
+        <div  style="border: 1px solid black;border-bottom:none;border-top:none;width: 99%;box-sizing: content-box;">
630 631
           <div class="row" style="display: flex;">
631 632
             <div class="inline_block" style="flex: 1">
632 633
               上机护士:
@@ -722,7 +723,7 @@
722 723
             <div class="inline_block" style="flex: 1">
723 724
               穿刺:
724 725
               <div class="under_line"
725
-                style="width: 90px; text-align: center"
726
+                style="width: 70%; text-align: center;white-space: normal;"
726 727
               >
727 728
                 {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
728 729
               </div>
@@ -731,7 +732,7 @@
731 732
             <div class="inline_block" style="flex: 1">
732 733
               透析器:
733 734
               <div class="under_line"
734
-                style="width: 90px; text-align: center"
735
+                style="width: 74%; text-align: center;white-space:normal;"
735 736
               >
736 737
                 {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
737 738
               </div>
@@ -809,7 +810,7 @@
809 810
           </div>
810 811
         </div>
811 812
         <!-- 透析小结 -->
812
-        <div style="width: 99%;border: 1px solid black;white-space: normal;">
813
+        <div style="width: 99%;border: 1px solid black;white-space: normal;box-sizing: content-box;">
813 814
           <div style="padding: 5px;">
814 815
             <div style="margin-bottom: 10px;">
815 816
               宣教知识:
@@ -1664,6 +1665,7 @@ export default {
1664 1665
           this.patientInfo.first_dialysis_date = "";
1665 1666
         }
1666 1667
         this.check = response.data.data.check;
1668
+        console.log('this.check12121',this.check);
1667 1669
         this.xtdate = response.data.data.xtdate;
1668 1670
         this.predialysis = response.data.data.PredialysisEvaluation;
1669 1671
         console.log('透前评估', this.predialysis)
@@ -1891,8 +1893,8 @@ export default {
1891 1893
           this.doctor_advices[index]["isShow"] = 2;
1892 1894
         }
1893 1895
 
1894
-        console.log("时间我我我哦我我",response.data.data.advices)
1895
-        console.log("新时间我哦我哦",this.doctor_advices)
1896
+        console.log("时间我我我哦我我",response.data.data)
1897
+        console.log("新时间我哦我哦医嘱121",this.doctor_advices)
1896 1898
 
1897 1899
 
1898 1900
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
@@ -2080,25 +2082,40 @@ export default {
2080 2082
         }
2081 2083
 
2082 2084
 
2083
-        if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2084
-            var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2085
-            this.print_length = 6;
2085
+        // if (this.doctor_advices.length + this.projectsOne.length <= 6) {
2086
+        //   var nl = 6 - (this.doctor_advices.length + this.projectsOne.length);
2087
+        //   this.print_length = 6;
2088
+
2089
+        //   for (let index = 0; index < nl; index++) {
2090
+        //     if (
2091
+        //       this.projectsOne[index] == undefined ||
2092
+        //       this.projectsOne[index].length <= 0
2093
+        //     ) {
2094
+        //       this.projectsOne.push([]);
2095
+        //     } else {
2096
+        //       continue;
2097
+        //     }
2098
+        //   }
2099
+        // }
2100
+        if (this.doctor_advices.length <= 5) {
2101
+          console.log('111111',this.doctor_advices.length);
2102
+          var nl = 5
2103
+          this.print_length = 5
2086 2104
 
2087
-            for (let index = 0; index < nl; index++) {
2088
-              if (
2089
-                this.projectsOne[index] == undefined ||
2090
-                this.projectsOne[index].length <= 0
2091
-              ) {
2092
-                this.projectsOne.push([]);
2093
-              } else {
2094
-                continue;
2095
-              }
2105
+          for (let index = 0; index < nl; index++) {
2106
+            if (
2107
+              this.doctor_advices[index] == undefined ||
2108
+              this.doctor_advices[index].length <= 0
2109
+            ) {
2110
+              this.doctor_advices.push([])
2111
+            } else {
2112
+              continue
2096 2113
             }
2097 2114
           }
2098
-
2115
+        }
2099 2116
 
2100 2117
         this.totollength = this.doctor_advices.length + this.monitors.length;
2101
-        console.log("this.totollength",this.totollength)
2118
+        console.log("this.totollength2222222",this.totollength)
2102 2119
         if (this.totollength > 18) {
2103 2120
           var temp_advice_length = 17 - this.monitors.length;
2104 2121
           var doctor_advices_1 = [];