see999 преди 4 години
родител
ревизия
5005b4cf38
променени са 1 файла, в които са добавени 16 реда и са изтрити 17 реда
  1. 16 17
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue

+ 16 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Целия файл

@@ -334,14 +334,13 @@
334 334
                   <div class="inline_block" style="flex:1;">
335 335
                     透析(滤)器:
336 336
                     <div class="under_line" style="width: 100px;text-align: center">
337
-                      <!-- {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }} -->
338
-                      /
337
+                      {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
339 338
                     </div>
340 339
                   </div>
341 340
                   <div class="inline_block" style="flex:1;">
342 341
                     灌流器:
343 342
                     <div class="under_line" style="width: 70px;text-align: center">
344
-                      {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}
343
+                      /
345 344
                     </div>
346 345
                   </div>
347 346
                   <div class="inline_block" style="flex:1;">
@@ -565,7 +564,7 @@
565 564
                       <td style="line-height:16px;padding:0px;">
566 565
                         <div style="min-height:35px;line-height:35px; overflow:hidden;">
567 566
                           <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;">
568
-                            <!-- <template v-if="(dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">【开始透析】</template> -->
567
+                            <template v-if="(dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">【开始透析】</template>
569 568
                             {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
570 569
                           </span>
571 570
                         </div>
@@ -1483,19 +1482,19 @@ export default {
1483 1482
         }
1484 1483
 
1485 1484
         var tempmonitorflag = true
1486
-        // for (let index = 0; index < this.monitors.length; index++) {
1487
-        //   const monitor = this.monitors[index]
1488
-        //   this.monitors[index].end = ''
1489
-        //   if (Object.keys(monitor).length > 0 && index > 1) {
1490
-        //     if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
1491
-        //       this.monitors[index].end = '【结束透析】'
1492
-        //       tempmonitorflag = false
1493
-        //     }
1494
-        //     if (tempmonitorflag && index == this.monitors.length - 1) {
1495
-        //       this.monitors[index].end = '【结束透析】'
1496
-        //     }
1497
-        //   }
1498
-        // }
1485
+        for (let index = 0; index < this.monitors.length; index++) {
1486
+          const monitor = this.monitors[index]
1487
+          this.monitors[index].end = ''
1488
+          if (Object.keys(monitor).length > 0 && index > 1) {
1489
+            if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
1490
+              this.monitors[index].end = '【结束透析】'
1491
+              tempmonitorflag = false
1492
+            }
1493
+            if (tempmonitorflag && index == this.monitors.length - 1) {
1494
+              this.monitors[index].end = '【结束透析】'
1495
+            }
1496
+          }
1497
+        }
1499 1498
 
1500 1499
         this.jilurow = this.monitors.length + 1
1501 1500