Browse Source

提交代码

csx 6 years ago
parent
commit
da25f463d9

+ 7 - 10
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue View File

@@ -38,7 +38,6 @@
38 38
             <div class="inline_block" style="margin-left: 25px;">
39 39
               住院号/ID号:
40 40
               <div class="under_line" style="width: 100px;">
41
-                {{record.patient.admission_number?record.patient.admission_number:'无'}}/{{ record.patient.dialysis_no }}
42 41
               </div>
43 42
             </div>
44 43
           </div>
@@ -78,9 +77,9 @@
78 77
 
79 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 83
                     </div>
85 84
 
86 85
                   </div>
@@ -531,7 +530,7 @@
531 530
                     <div class="inline_block">
532 531
                       &emsp;核对时间:
533 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 534
                       </div>
536 535
                     </div>
537 536
 
@@ -585,7 +584,7 @@
585 584
                     <div class="inline_block">
586 585
                       &emsp;时间:
587 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 588
                       </div>
590 589
                     </div>
591 590
 
@@ -631,8 +630,6 @@
631 630
               <div class="inline_block" style="margin-left:25px;">
632 631
                 住院号/ID号:
633 632
                 <div class="under_line" style="width: 120px;">
634
-                  {{record.patient.admission_number?record.patient.admission_number:'无'}}/{{ record.patient.dialysis_no
635
-                  }}
636 633
                 </div>
637 634
               </div>
638 635
             </div>
@@ -1040,10 +1037,10 @@
1040 1037
           for (const recordIndex in this.records) {
1041 1038
             this.advice_groups =[]
1042 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 1042
             } else {
1046
-              dlegh = 8
1043
+              dlegh = 7
1047 1044
             }
1048 1045
             if (dlegh > 0) {
1049 1046
               if (typeof (this.records[recordIndex].monitor_records) == 'undefined' || this.records[recordIndex].monitor_records == null) {

+ 8 - 9
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -1068,9 +1068,8 @@
1068 1068
 
1069 1069
               <td width="10">&nbsp;</td>
1070 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 1073
                 </div>
1075 1074
               </td>
1076 1075
             </tr>
@@ -1112,11 +1111,11 @@
1112 1111
                     <td></td>
1113 1112
                     <td width="80">透析机编号:</td>
1114 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 1115
                     </td>
1117 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 1119
                     </td>
1121 1120
                   </tr>
1122 1121
                   </tbody>
@@ -1751,7 +1750,7 @@
1751 1750
 
1752 1751
                     <td width="60">核对时间:</td>
1753 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 1755
                     </td>
1757 1756
 
@@ -1872,8 +1871,8 @@
1872 1871
               <td width="10">&nbsp;</td>
1873 1872
               <td width="100">住院号/ID号:</td>
1874 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 1876
                 </div>
1878 1877
               </td>
1879 1878