浏览代码

提交代码

csx 6 年前
父节点
当前提交
da25f463d9

+ 7 - 10
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue 查看文件

38
             <div class="inline_block" style="margin-left: 25px;">
38
             <div class="inline_block" style="margin-left: 25px;">
39
               住院号/ID号:
39
               住院号/ID号:
40
               <div class="under_line" style="width: 100px;">
40
               <div class="under_line" style="width: 100px;">
41
-                {{record.patient.admission_number?record.patient.admission_number:'无'}}/{{ record.patient.dialysis_no }}
42
               </div>
41
               </div>
43
             </div>
42
             </div>
44
           </div>
43
           </div>
78
 
77
 
79
                     <div class="inline_block" style="margin-left: 30px;">
78
                     <div class="inline_block" style="margin-left: 30px;">
80
                       透析机编号:
79
                       透析机编号:
81
-                      <div class="under_line" style="width: 50px;">{{''}}</div>
80
+                      <div class="under_line" style="width: 100px;">{{record.dialysis_order&&record.dialysis_order.device_number&&record.dialysis_order.device_number.number.length > 0?record.dialysis_order.device_number.number:''}}</div>
82
                       型号
81
                       型号
83
-                      <div class="under_line" style="width: 50px;">{{''}}</div>
82
+                      <div class="under_line" style="width: 100px;">{{record.assessment_before_dislysis&&record.assessment_before_dislysis.machine_type&&record.assessment_before_dislysis.machine_type.length > 0 ? record.assessment_before_dislysis.machine_type:''}}</div>
84
                     </div>
83
                     </div>
85
 
84
 
86
                   </div>
85
                   </div>
531
                     <div class="inline_block">
530
                     <div class="inline_block">
532
                       &emsp;核对时间:
531
                       &emsp;核对时间:
533
                       <div class="under_line" style="width: 200px;">
532
                       <div class="under_line" style="width: 200px;">
534
-                        {{record.check?getTime(record.check.updated_time,'{y}年{m}月{d}日 {h}时'):''}}
533
+                        {{record.check&&record.check.modifier> 0?getTime(record.check.check_time,'{y}年{m}月{d}日 {h}时'):''}}
535
                       </div>
534
                       </div>
536
                     </div>
535
                     </div>
537
 
536
 
585
                     <div class="inline_block">
584
                     <div class="inline_block">
586
                       &emsp;时间:
585
                       &emsp;时间:
587
                       <div class="under_line" style="width: 200px;">
586
                       <div class="under_line" style="width: 200px;">
588
-                        {{record.check?getTime(record.dialysis_order.end_time,'{y}年{m}月{d}日 {h}时'):''}}
587
+                        {{record.dialysis_order?getTime(record.dialysis_order.end_time,'{y}年{m}月{d}日 {h}时'):''}}
589
                       </div>
588
                       </div>
590
                     </div>
589
                     </div>
591
 
590
 
631
               <div class="inline_block" style="margin-left:25px;">
630
               <div class="inline_block" style="margin-left:25px;">
632
                 住院号/ID号:
631
                 住院号/ID号:
633
                 <div class="under_line" style="width: 120px;">
632
                 <div class="under_line" style="width: 120px;">
634
-                  {{record.patient.admission_number?record.patient.admission_number:'无'}}/{{ record.patient.dialysis_no
635
-                  }}
636
                 </div>
633
                 </div>
637
               </div>
634
               </div>
638
             </div>
635
             </div>
1040
           for (const recordIndex in this.records) {
1037
           for (const recordIndex in this.records) {
1041
             this.advice_groups =[]
1038
             this.advice_groups =[]
1042
             var dlegh = 0
1039
             var dlegh = 0
1043
-            if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 8) {
1044
-              dlegh = 8 - this.records[recordIndex].monitor_records.length
1040
+            if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 7) {
1041
+              dlegh = 7 - this.records[recordIndex].monitor_records.length
1045
             } else {
1042
             } else {
1046
-              dlegh = 8
1043
+              dlegh = 7
1047
             }
1044
             }
1048
             if (dlegh > 0) {
1045
             if (dlegh > 0) {
1049
               if (typeof (this.records[recordIndex].monitor_records) == 'undefined' || this.records[recordIndex].monitor_records == null) {
1046
               if (typeof (this.records[recordIndex].monitor_records) == 'undefined' || this.records[recordIndex].monitor_records == null) {

+ 8 - 9
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

1068
 
1068
 
1069
               <td width="10">&nbsp;</td>
1069
               <td width="10">&nbsp;</td>
1070
               <td width="90">住院号/ID号:</td>
1070
               <td width="90">住院号/ID号:</td>
1071
-              <td width="90">
1072
-                <div class="under-line">&nbsp;{{patientInfo.admission_number?patientInfo.admission_number:'无'}}
1073
-                  /{{patientInfo.dialysis_no}}
1071
+              <td width="100">
1072
+                <div  class="under-line" style="padding-top: 30px">
1074
                 </div>
1073
                 </div>
1075
               </td>
1074
               </td>
1076
             </tr>
1075
             </tr>
1112
                     <td></td>
1111
                     <td></td>
1113
                     <td width="80">透析机编号:</td>
1112
                     <td width="80">透析机编号:</td>
1114
                     <td width="100">
1113
                     <td width="100">
1115
-                      <div class="under-line">&nbsp;{{''}}</div>
1114
+                      <div class="under-line">&nbsp;{{dialysisOrder&&dialysisOrder.DeviceNumber?dialysisOrder.DeviceNumber.number:''}}</div>
1116
                     </td>
1115
                     </td>
1117
                     <td width="35">型号</td>
1116
                     <td width="35">型号</td>
1118
-                    <td width="100">
1119
-                      <div class="under-line">&nbsp;{{''}}</div>
1117
+                    <td width="140">
1118
+                      <div class="under-line">&nbsp;{{predialysis&&predialysis.machine_type?predialysis.machine_type:''}}</div>
1120
                     </td>
1119
                     </td>
1121
                   </tr>
1120
                   </tr>
1122
                   </tbody>
1121
                   </tbody>
1751
 
1750
 
1752
                     <td width="60">核对时间:</td>
1751
                     <td width="60">核对时间:</td>
1753
                     <td width="200">
1752
                     <td width="200">
1754
-                      <div class="under-line">{{getTime(check.updated_time,'{y}年{m}月{d}日 {h}时')}}</div>
1753
+                      <div class="under-line">{{check&&check.modifier>0 ? getTime(check.check_time,'{y}年{m}月{d}日 {h}时'):''}}</div>
1755
 
1754
 
1756
                     </td>
1755
                     </td>
1757
 
1756
 
1872
               <td width="10">&nbsp;</td>
1871
               <td width="10">&nbsp;</td>
1873
               <td width="100">住院号/ID号:</td>
1872
               <td width="100">住院号/ID号:</td>
1874
               <td width="90">
1873
               <td width="90">
1875
-                <div class="under-line">&nbsp;{{patientInfo.admission_number?patientInfo.admission_number:'无'}}
1876
-                  /{{patientInfo.dialysis_no}}
1874
+                <div class="under-line" style="padding-top: 30px">
1875
+
1877
                 </div>
1876
                 </div>
1878
               </td>
1877
               </td>
1879
 
1878