瀏覽代碼

8月7,75号打印单

yq1 8 月之前
父節點
當前提交
79f85bd32c

+ 4 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue 查看文件

119
                       .blood_access_part_id
119
                       .blood_access_part_id
120
                       ? record.assessment_before_dislysis
120
                       ? record.assessment_before_dislysis
121
                           .blood_access_part_id
121
                           .blood_access_part_id
122
-                      : 0
122
+                      : ''
123
                   }}
123
                   }}
124
                   {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
124
                   {{ bloodAccessParOperaName(record.assessment_before_dislysis.blood_access_part_opera_id) }}
125
                   <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
125
                   <!-- {{ blood_access_part_opera_name }} bloodAccessParOperaName-->
909
             </table>
909
             </table>
910
           </div>
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
             <div class="row" style="display: flex;">
913
             <div class="row" style="display: flex;">
914
               <div class="inline_block" style="flex: 1">
914
               <div class="inline_block" style="flex: 1">
915
                 上机护士:
915
                 上机护士:
1101
               <div class="inline_block" style="flex: 1">
1101
               <div class="inline_block" style="flex: 1">
1102
                 穿刺:
1102
                 穿刺:
1103
                 <div class="under_line"
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
                   {{ record.assessment_after_dislysis.internal_fistula ? record.assessment_after_dislysis.internal_fistula : "/" }}
1106
                   {{ record.assessment_after_dislysis.internal_fistula ? record.assessment_after_dislysis.internal_fistula : "/" }}
1107
                 </div>
1107
                 </div>
1110
               <div class="inline_block" style="flex: 1">
1110
               <div class="inline_block" style="flex: 1">
1111
                 透析器:
1111
                 透析器:
1112
                 <div class="under_line"
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
                   {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1115
                   {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "/" }}
1116
                 </div>
1116
                 </div>

+ 40 - 23
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue 查看文件

103
                 style=" width: 52%;
103
                 style=" width: 52%;
104
                   text-align: center; white-space: normal;
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
               </div>
108
               </div>
109
             </div>
109
             </div>
110
             <div class="inline_block" style="flex: 1;" >
110
             <div class="inline_block" style="flex: 1;" >
432
                 v-for="(advice, advice_index) in doctor_advices"
432
                 v-for="(advice, advice_index) in doctor_advices"
433
                 :key="advice_index"
433
                 :key="advice_index"
434
               >
434
               >
435
-                <td style="line-height:35px">
435
+                <td height="32px" style="line-height:35px">
436
                   <span v-if="advice.start_time">
436
                   <span v-if="advice.start_time">
437
                     {{ getTime(advice.start_time, "{h}:{i}") }}
437
                     {{ getTime(advice.start_time, "{h}:{i}") }}
438
                   </span>
438
                   </span>
515
                   />
515
                   />
516
                 </td>
516
                 </td>
517
               </tr>
517
               </tr>
518
+
518
             </tbody>
519
             </tbody>
519
           </table>
520
           </table>
520
         </div>
521
         </div>
626
           </table>
627
           </table>
627
         </div>
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
           <div class="row" style="display: flex;">
631
           <div class="row" style="display: flex;">
631
             <div class="inline_block" style="flex: 1">
632
             <div class="inline_block" style="flex: 1">
632
               上机护士:
633
               上机护士:
722
             <div class="inline_block" style="flex: 1">
723
             <div class="inline_block" style="flex: 1">
723
               穿刺:
724
               穿刺:
724
               <div class="under_line"
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
                 {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
728
                 {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "/" }}
728
               </div>
729
               </div>
731
             <div class="inline_block" style="flex: 1">
732
             <div class="inline_block" style="flex: 1">
732
               透析器:
733
               透析器:
733
               <div class="under_line"
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
                 {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
737
                 {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
737
               </div>
738
               </div>
809
           </div>
810
           </div>
810
         </div>
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
           <div style="padding: 5px;">
814
           <div style="padding: 5px;">
814
             <div style="margin-bottom: 10px;">
815
             <div style="margin-bottom: 10px;">
815
               宣教知识:
816
               宣教知识:
1664
           this.patientInfo.first_dialysis_date = "";
1665
           this.patientInfo.first_dialysis_date = "";
1665
         }
1666
         }
1666
         this.check = response.data.data.check;
1667
         this.check = response.data.data.check;
1668
+        console.log('this.check12121',this.check);
1667
         this.xtdate = response.data.data.xtdate;
1669
         this.xtdate = response.data.data.xtdate;
1668
         this.predialysis = response.data.data.PredialysisEvaluation;
1670
         this.predialysis = response.data.data.PredialysisEvaluation;
1669
         console.log('透前评估', this.predialysis)
1671
         console.log('透前评估', this.predialysis)
1891
           this.doctor_advices[index]["isShow"] = 2;
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
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
1900
         if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
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
         this.totollength = this.doctor_advices.length + this.monitors.length;
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
         if (this.totollength > 18) {
2119
         if (this.totollength > 18) {
2103
           var temp_advice_length = 17 - this.monitors.length;
2120
           var temp_advice_length = 17 - this.monitors.length;
2104
           var doctor_advices_1 = [];
2121
           var doctor_advices_1 = [];