Przeglądaj źródła

打印监测修改

csx 5 lat temu
rodzic
commit
1495aafbde

+ 25 - 25
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Wyświetl plik

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

+ 14 - 15
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Wyświetl plik

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