Browse Source

打印监测修改

csx 5 years ago
parent
commit
1495aafbde

+ 25 - 25
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

47
                 <div class="inline_block">
47
                 <div class="inline_block">
48
                 透析号:
48
                 透析号:
49
                     <div class="under_line" style="width: 70px;text-align: center;">
49
                     <div class="under_line" style="width: 70px;text-align: center;">
50
-                        {{'/'}}
50
+                      {{record.patient.dialysis_no}}
51
                     </div>
51
                     </div>
52
                 </div>
52
                 </div>
53
                 <div class="inline_block" style="margin-left: 5px;">
53
                 <div class="inline_block" style="margin-left: 5px;">
59
                     {{'/'}}
59
                     {{'/'}}
60
                 </div>
60
                 </div>
61
                 </div>
61
                 </div>
62
-                
62
+
63
             </div>
63
             </div>
64
             <div class="row" >
64
             <div class="row" >
65
                 <div class="inline_block" >
65
                 <div class="inline_block" >
76
                 </div>
76
                 </div>
77
             </div>
77
             </div>
78
 
78
 
79
-            <div class="row" :class="record.totallength> 14? 'margin-bottom-300':''"> 
79
+            <div class="row" :class="record.totallength> 14? 'margin-bottom-300':''">
80
                 <table class="proj_table">
80
                 <table class="proj_table">
81
                     <tbody>
81
                     <tbody>
82
                         <tr><td colspan="2" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">透析前情况</td></tr>
82
                         <tr><td colspan="2" style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">透析前情况</td></tr>
160
                                     <div class="inline_block" style="margin-left:10px;flex:1;">
160
                                     <div class="inline_block" style="margin-left:10px;flex:1;">
161
                                       穿刺方式:
161
                                       穿刺方式:
162
                                       <div class="under_line" style="width: 100px;text-align: center" v-if="!record.assessment_before_dislysis">
162
                                       <div class="under_line" style="width: 100px;text-align: center" v-if="!record.assessment_before_dislysis">
163
-                                            
163
+
164
                                       </div>
164
                                       </div>
165
                                       <div v-if="record.assessment_before_dislysis" style="display: inline-block;">
165
                                       <div v-if="record.assessment_before_dislysis" style="display: inline-block;">
166
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 0">
166
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 0">
167
-                                            
167
+
168
                                         </div>
168
                                         </div>
169
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 1">
169
                                         <div class="under_line" style="width: 100px;text-align: center" v-if="record.assessment_before_dislysis.puncture_way == 1">
170
                                             绳梯
170
                                             绳梯
188
                                     <div class="inline_block" style="flex:1;">
188
                                     <div class="inline_block" style="flex:1;">
189
                                       透析方式:
189
                                       透析方式:
190
                                       <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription">
190
                                       <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription">
191
-                                          
191
+
192
                                       </div>
192
                                       </div>
193
                                       <div v-if="record.prescription" style="display: inline-block;">
193
                                       <div v-if="record.prescription" style="display: inline-block;">
194
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription.mode_id">
194
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!record.prescription.mode_id">
195
-                                            
195
+
196
                                         </div>
196
                                         </div>
197
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id==1">
197
                                         <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="record.prescription.mode_id==1">
198
                                             HD
198
                                             HD
376
                                             <td width="60">透析液温度(°C)</td>
376
                                             <td width="60">透析液温度(°C)</td>
377
                                             <td width="50">电导度<br/>(ms/cm)</td>
377
                                             <td width="50">电导度<br/>(ms/cm)</td>
378
                                             <td width="50">超滤量<br/>(ml)</td>
378
                                             <td width="50">超滤量<br/>(ml)</td>
379
-                                            <td width="200">病情变化及处理</td>                                 
379
+                                            <td width="200">病情变化及处理</td>
380
                                         </tr>
380
                                         </tr>
381
                                         <tr v-for="(monitor_record,index) in record.monitor_records" :key="index">
381
                                         <tr v-for="(monitor_record,index) in record.monitor_records" :key="index">
382
                                             <td>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
382
                                             <td>{{getTime(monitor_record.operate_time,'{h}:{i}')}}</td>
389
                                             <td>{{monitor_record.dialysate_temperature?monitor_record.dialysate_temperature:''}}</td>
389
                                             <td>{{monitor_record.dialysate_temperature?monitor_record.dialysate_temperature:''}}</td>
390
                                             <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
390
                                             <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
391
                                             <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:0}}</td>
391
                                             <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:0}}</td>
392
-                                          
392
+
393
                                             <td style="line-height:16px;padding:0px;">
393
                                             <td style="line-height:16px;padding:0px;">
394
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
394
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
395
                                                 <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
395
                                                 <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
396
                                                   <template v-if="index == 0">【开始透析】</template>
396
                                                   <template v-if="index == 0">【开始透析】</template>
397
                                                   <template v-if="(index == monitor_record.length - 1) && index > 1">【结束透析】</template>
397
                                                   <template v-if="(index == monitor_record.length - 1) && index > 1">【结束透析】</template>
398
-                                                  {{monitor_record.symptom}}  &nbsp;{{monitor_record.dispose}} &nbsp;{{monitor_record.result}} 
399
-                                                </span> 
398
+                                                  {{monitor_record.symptom}}  &nbsp;{{monitor_record.dispose}} &nbsp;{{monitor_record.result}}
399
+                                                </span>
400
                                               </div>
400
                                               </div>
401
-                                            </td>                                      
401
+                                            </td>
402
                                         </tr>
402
                                         </tr>
403
                                         <tr v-for="(monitor_record,index) in record.monitor_records2" :key="index">
403
                                         <tr v-for="(monitor_record,index) in record.monitor_records2" :key="index">
404
                                             <td> </td>
404
                                             <td> </td>
414
                                             <td style="line-height:16px;padding:0px;">
414
                                             <td style="line-height:16px;padding:0px;">
415
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
415
                                               <div style="height:40px;line-height:20px; overflow:hidden;">
416
                                                 <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
416
                                                 <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
417
-                                                  
418
-                                                </span> 
417
+
418
+                                                </span>
419
                                               </div>
419
                                               </div>
420
-                                            </td>                                      
420
+                                            </td>
421
                                         </tr>
421
                                         </tr>
422
                                     </tbody>
422
                                     </tbody>
423
                                 </table>
423
                                 </table>
530
                   <div class="inline_block">
530
                   <div class="inline_block">
531
                   透析号:
531
                   透析号:
532
                       <div class="under_line" style="width: 70px;text-align: center;">
532
                       <div class="under_line" style="width: 70px;text-align: center;">
533
-                          {{'/'}}
533
+                        {{record.patient.dialysis_no}}
534
                       </div>
534
                       </div>
535
                   </div>
535
                   </div>
536
                   <div class="inline_block" style="margin-left: 5px;">
536
                   <div class="inline_block" style="margin-left: 5px;">
542
                       {{'/'}}
542
                       {{'/'}}
543
                   </div>
543
                   </div>
544
                   </div>
544
                   </div>
545
-                  
545
+
546
               </div>
546
               </div>
547
               <div class="row" >
547
               <div class="row" >
548
                   <div class="inline_block" >
548
                   <div class="inline_block" >
691
                                       </div>
691
                                       </div>
692
                                     </div>
692
                                     </div>
693
                                     <div class="under_line" style="width: 80px;text-align: left" v-if="!record.check">
693
                                     <div class="under_line" style="width: 80px;text-align: left" v-if="!record.check">
694
-                                       
694
+
695
                                     </div>
695
                                     </div>
696
                                 </div>
696
                                 </div>
697
                                 <div class="inline_block" style="flex:1;">
697
                                 <div class="inline_block" style="flex:1;">
715
                         </tr>
715
                         </tr>
716
                     </tbody>
716
                     </tbody>
717
                 </table>
717
                 </table>
718
-           
719
-            
718
+
719
+
720
           </div>
720
           </div>
721
         </div>
721
         </div>
722
       </div>
722
       </div>
846
             if(recordIndex == (this.records.length - 1)){
846
             if(recordIndex == (this.records.length - 1)){
847
               this.records[recordIndex].classname = ' '
847
               this.records[recordIndex].classname = ' '
848
             }
848
             }
849
-            
849
+
850
 
850
 
851
             this.records[recordIndex].monitor_records2 = []
851
             this.records[recordIndex].monitor_records2 = []
852
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 7) {
852
             if (this.records[recordIndex].monitor_records && this.records[recordIndex].monitor_records.length < 7) {
912
               this.doctor_advices[index]['isShow'] = 2
912
               this.doctor_advices[index]['isShow'] = 2
913
             }
913
             }
914
 
914
 
915
-            
915
+
916
 
916
 
917
             // if (this.doctor_advices.length > 0) {
917
             // if (this.doctor_advices.length > 0) {
918
             //   var group = this.newAdviceGroupObject()
918
             //   var group = this.newAdviceGroupObject()
1051
             //     }
1051
             //     }
1052
             //   }
1052
             //   }
1053
             // }
1053
             // }
1054
-   
1054
+
1055
             if (this.doctor_advices.length <= 6) {
1055
             if (this.doctor_advices.length <= 6) {
1056
                 var nl = 6
1056
                 var nl = 6
1057
                 this.print_length = 6
1057
                 this.print_length = 6
1058
-                
1058
+
1059
                 for (let index = 0; index < nl; index++) {
1059
                 for (let index = 0; index < nl; index++) {
1060
                 if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1060
                 if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1061
                     this.doctor_advices.push([])
1061
                     this.doctor_advices.push([])
1071
 
1071
 
1072
             this.records[recordIndex].totallength= this.doctor_advices.length + this.monitor_records.length
1072
             this.records[recordIndex].totallength= this.doctor_advices.length + this.monitor_records.length
1073
           }
1073
           }
1074
-          
1074
+
1075
 
1075
 
1076
           this.operators = resp.data.medical_staffs
1076
           this.operators = resp.data.medical_staffs
1077
           if (this.operators.length > 0) {
1077
           if (this.operators.length > 0) {

+ 14 - 15
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

40
         <div class="inline_block">
40
         <div class="inline_block">
41
           透析号:
41
           透析号:
42
             <div class="under_line" style="width: 70px;text-align: center;">
42
             <div class="under_line" style="width: 70px;text-align: center;">
43
-                {{'/'}}
43
+              {{patientInfo.dialysis_no}}
44
             </div>
44
             </div>
45
         </div>
45
         </div>
46
         <div class="inline_block" style="margin-left: 5px;">
46
         <div class="inline_block" style="margin-left: 5px;">
52
             {{'/'}}
52
             {{'/'}}
53
           </div>
53
           </div>
54
         </div>
54
         </div>
55
-        
55
+
56
       </div>
56
       </div>
57
       <div class="row" >
57
       <div class="row" >
58
         <div class="inline_block" >
58
         <div class="inline_block" >
360
                       <td width="50">电导度<br/>(ms/cm)</td>
360
                       <td width="50">电导度<br/>(ms/cm)</td>
361
                       <td width="50">超滤量<br/>(ml)</td>
361
                       <td width="50">超滤量<br/>(ml)</td>
362
                       <td width="200">病情变化及处理</td>
362
                       <td width="200">病情变化及处理</td>
363
-        
363
+
364
                       <!-- <td width="100">时间</td>
364
                       <!-- <td width="100">时间</td>
365
                       <td width="30">T<br>C°</td>
365
                       <td width="30">T<br>C°</td>
366
                       <td width="30">P<br/>次/分</td>
366
                       <td width="30">P<br/>次/分</td>
384
                       <td>{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
384
                       <td>{{monitor.transmembrane_pressure?monitor.transmembrane_pressure:0}}</td>
385
                       <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
385
                       <td>{{monitor.dialysate_temperature?monitor.dialysate_temperature:''}}</td>
386
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
386
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
387
-                      <td v-if="monitor.systolic_blood_pressure  > 0">{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
388
-                      <td v-else> </td>
387
+                      <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:0}}</td>
389
                       <td style="line-height:16px;padding:0px;">
388
                       <td style="line-height:16px;padding:0px;">
390
                         <div style="height:40px;line-height:40px; overflow:hidden;">
389
                         <div style="height:40px;line-height:40px; overflow:hidden;">
391
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
390
                           <span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
392
                             <template v-if="monindex == 0">【开始透析】</template>
391
                             <template v-if="monindex == 0">【开始透析】</template>
393
                             <template v-if="(monindex == monitors.length - 1) && monindex >= 1">【结束透析】</template>
392
                             <template v-if="(monindex == monitors.length - 1) && monindex >= 1">【结束透析】</template>
394
-                            {{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} 
395
-                          </span> 
393
+                            {{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}
394
+                          </span>
396
                         </div>
395
                         </div>
397
                       </td>
396
                       </td>
398
                     </tr>
397
                     </tr>
520
           <div class="inline_block">
519
           <div class="inline_block">
521
             透析号:
520
             透析号:
522
               <div class="under_line" style="width: 70px;text-align: center;">
521
               <div class="under_line" style="width: 70px;text-align: center;">
523
-                  {{'/'}}
522
+                {{patientInfo.dialysis_no}}
524
               </div>
523
               </div>
525
           </div>
524
           </div>
526
           <div class="inline_block" style="margin-left: 5px;">
525
           <div class="inline_block" style="margin-left: 5px;">
706
       </div>
705
       </div>
707
     </div>
706
     </div>
708
 
707
 
709
-   
708
+
710
   </div>
709
   </div>
711
 
710
 
712
 </template>
711
 </template>
1007
           if (this.monitors.length <= 6) {
1006
           if (this.monitors.length <= 6) {
1008
             var nl = 6
1007
             var nl = 6
1009
             this.print_length = 6
1008
             this.print_length = 6
1010
-            
1009
+
1011
             for (let index = 0; index < nl; index++) {
1010
             for (let index = 0; index < nl; index++) {
1012
               if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
1011
               if (this.monitors[index] == undefined || this.monitors[index].length <= 0) {
1013
                 this.monitors2.push([])
1012
                 this.monitors2.push([])
1017
             }
1016
             }
1018
           }
1017
           }
1019
 
1018
 
1020
-     
1019
+
1021
           this.jilurow = this.monitors.length + 1
1020
           this.jilurow = this.monitors.length + 1
1022
 
1021
 
1023
           this.advice_jilurow = this.advices.length + 1
1022
           this.advice_jilurow = this.advices.length + 1
1081
           for (let index = 0; index < this.doctor_advices.length; index++) {
1080
           for (let index = 0; index < this.doctor_advices.length; index++) {
1082
             this.doctor_advices[index]['isShow'] = 2
1081
             this.doctor_advices[index]['isShow'] = 2
1083
           }
1082
           }
1084
-          
1083
+
1085
           // if (this.doctor_advices.length > 0) {
1084
           // if (this.doctor_advices.length > 0) {
1086
           //   var group = this.newAdviceGroupObject()
1085
           //   var group = this.newAdviceGroupObject()
1087
           //   var initGroupBlock = function(group, advice) {
1086
           //   var initGroupBlock = function(group, advice) {
1112
           //       // this.doctor_advices.push(doctor_advice)
1111
           //       // this.doctor_advices.push(doctor_advice)
1113
           //     }
1112
           //     }
1114
           //   }
1113
           //   }
1115
-            
1114
+
1116
           //   for (let index = 0; index < this.doctor_advices.length; index++) {
1115
           //   for (let index = 0; index < this.doctor_advices.length; index++) {
1117
           //     const advice = this.doctor_advices[index]
1116
           //     const advice = this.doctor_advices[index]
1118
           //     if (advice.groupno == 0) {
1117
           //     if (advice.groupno == 0) {
1160
           //    this.advice_groups.push(group)
1159
           //    this.advice_groups.push(group)
1161
           //   }
1160
           //   }
1162
           // }
1161
           // }
1163
-    
1162
+
1164
           if (this.doctor_advices.length <= 6) {
1163
           if (this.doctor_advices.length <= 6) {
1165
             var nl = 6
1164
             var nl = 6
1166
             this.print_length = 6
1165
             this.print_length = 6
1167
-            
1166
+
1168
             for (let index = 0; index < nl; index++) {
1167
             for (let index = 0; index < nl; index++) {
1169
               if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1168
               if (this.doctor_advices[index] == undefined || this.doctor_advices[index].length <= 0) {
1170
                 this.doctor_advices.push([])
1169
                 this.doctor_advices.push([])