瀏覽代碼

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 10 月之前
父節點
當前提交
9c2dd6f116
共有 1 個文件被更改,包括 43 次插入49 次删除
  1. 43 49
      src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue

+ 43 - 49
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue 查看文件

@@ -188,33 +188,19 @@
188 188
               {{ prescription.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
189 189
             </span>L
190 190
           </div>
191
-          <div style="flex: 1;">
191
+          <div style="flex: 1;display: flex">
192 192
             透析液:
193
-            <!-- <div style="display: inline-block;margin-right: 10px;">
194
-            
195
-              <div style="display: inline-block;width: 10px;height: 10px;border: 1px solid black;position: relative;top: 5px;">
196
-                <span style="position: relative; top: -4px; left: -2px;">
197
-                   <span v-if="prescription.dialyzate.indexOf('碳酸')!=-1">√</span>
198
-                </span>
199
-              </div>&nbsp;碳酸
200
-              <div class="under_line" style="width: 100px; text-align: center" v-if="prescription.dialyzate.indexOf('碳酸')>-1">
201
-                      碳酸
202
-               </div>
203
-            </div> -->
204
-            <!-- <div style="display: inline-block;">
205
-             
206
-              <div style="display: inline-block;width: 10px;height: 10px;border: 1px solid black;position: relative;top: 5px;">
207
-                <span v-if="prescription.dialyzate.indexOf('醋酸')!=-1">√</span>
208
-              </div>&nbsp;醋酸
209
-            
210
-            </div> -->
211
-            <div class="under_line" style="width: 100px; text-align: center" v-if="prescription.dialyzate.indexOf('碳酸')>-1">
212
-                 碳酸
193
+            <div style="">
194
+              <check-box text="碳酸" :checked="prescription_dialyzate1"></check-box>&nbsp;
195
+              <check-box text="醋酸" :checked="prescription_dialyzate2"></check-box>
196
+              <!-- <check-box :checked="patientInfo_gender_2"></check-box>&nbsp; -->
213 197
             </div>
214
-
215
-            <div class="under_line" style="width: 100px; text-align: center" v-if="prescription.dialyzate.indexOf('醋酸')>-1">
216
-                醋酸
198
+              <!-- <div class="under_line" style="width: 100px; text-align: center;display: inline-block;" v-if="prescription.dialyzate.indexOf('碳酸')>-1">
199
+                    碳酸
217 200
                </div>
201
+            <div class="under_line" style="width: 100px; text-align: center;display: inline-block;" v-if="prescription.dialyzate.indexOf('醋酸')>-1">
202
+                醋酸
203
+            </div> -->
218 204
           </div>
219 205
         </div>
220 206
         <div style="display: flex;border-left: 1px solid black;border-right: 1px solid black;padding: 5px;">
@@ -336,7 +322,7 @@
336 322
                 {{
337 323
                   monitor.ultrafiltration_volume
338 324
                     ? monitor.ultrafiltration_volume
339
-                    : "0"
325
+                    : " "
340 326
                 }}
341 327
               </span>
342 328
             </td>
@@ -389,6 +375,11 @@
389 375
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
390 376
             </td>
391 377
             <td>
378
+              <template 
379
+              v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
380
+              >
381
+                【开始透析】
382
+              </template>
392 383
               <span v-if="monitor.symptom || monitor.dispose || monitor.result">
393 384
                 {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{
394 385
                   monitor.result
@@ -424,26 +415,6 @@
424 415
               </td>
425 416
             </tr>
426 417
 
427
-            <!-- <tr>
428
-              <td style="width:13%;height:40px">
429
-                <p style="height:20px;line-height:20px">时间</p>
430
-              </td>
431
-              <td style="width:;height:40px">
432
-                <p style="height:20px;line-height:20px">医嘱执行记录</p>
433
-              </td>
434
-              <td style="width:10%;height:40px">
435
-                <p style="height:20px;line-height:20px">执行</p>
436
-              </td>
437
-              <td style="width:10%;height:60px">
438
-                <p style="height:20px;line-height:20px">核对</p>
439
-              </td>
440
-              <td style="width:14%;height:40px">
441
-                <p style="height:20px;line-height:20px">上次透后体重</p>
442
-              </td>
443
-              <td style="width:8%;height:40px">
444
-                {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
445
-              </td>
446
-            </tr> -->
447 418
             <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
448 419
               <td style="min-width:60px;height:40px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
449 420
               <td>
@@ -485,12 +456,10 @@
485 456
           </tbody>
486 457
         </table>
487 458
 
488
-
489
-
490 459
         <div style="border-top: none;border: 1px solid black;padding: 5px;">
491 460
           <div style="width: 100%;">
492 461
             治疗小结:
493
-            <span class="under-line" style="width: 60%;display: inline-block;">&nbsp;{{ summary.dialysis_summary }}</span>
462
+            <span class="under-line" style="">&nbsp;{{ summary.dialysis_summary }}</span>
494 463
           </div>
495 464
           <div style="display: flex;">
496 465
             <div style="flex: 1;"></div>
@@ -527,6 +496,7 @@
527 496
 </template>
528 497
 
529 498
 <script>
499
+import CheckBox from "../batch_print/option_check_box";
530 500
 import { getDialysisRecord } from "@/api/dialysis";
531 501
 import { getDataConfig } from "@/utils/data";
532 502
 import { jsGetAge, uParseTime } from "@/utils/tools";
@@ -541,6 +511,7 @@ export default {
541 511
   components: {
542 512
     // DialysisPrintOrderOne,
543 513
     // DialysisPrintOrderTwo,
514
+    CheckBox,
544 515
     LabelBox,
545 516
     BreadCrumb
546 517
   },
@@ -588,6 +559,8 @@ export default {
588 559
       patientInfo_gender_2: false,
589 560
       patientInfo_source_2: false,
590 561
       patientInfo_source_1: false,
562
+      prescription_dialyzate1:false,
563
+      prescription_dialyzate2:false,
591 564
       modeOptions: {},
592 565
       replacementWays: [],
593 566
       perfusionApparatus: [],
@@ -621,7 +594,8 @@ export default {
621 594
       },
622 595
       prescription: {
623 596
         dialysate_formulation_name: "",
624
-        device: {}
597
+        device: {},
598
+        dialyzate:''
625 599
       },
626 600
       advices: [],
627 601
       users: [],
@@ -1480,6 +1454,20 @@ export default {
1480 1454
         this.patientInfo_source_2 = false;
1481 1455
         this.patientInfo_source_1 = false;
1482 1456
       }
1457
+    },
1458
+    "prescription.dialyzate": function() {
1459
+      if(this.prescription.dialyzate !='undefined'){
1460
+        if(prescription.dialyzate.indexOf('碳酸')>-1){
1461
+          this.prescription_dialyzate1 =true
1462
+          this.prescription_dialyzate2 = false
1463
+        }else if(prescription.dialyzate.indexOf('醋酸')>-1){
1464
+          this.prescription_dialyzate1 =false
1465
+          this.prescription_dialyzate2 = true
1466
+        }else{
1467
+          this.prescription_dialyzate1 =false
1468
+          this.prescription_dialyzate2 = false
1469
+        }
1470
+      }
1483 1471
     }
1484 1472
   },
1485 1473
   created() {
@@ -1688,4 +1676,10 @@ export default {
1688 1676
 .print-template-two tr {
1689 1677
   line-height: 30px;
1690 1678
 }
1679
+.check_box_panel .did_checke::after {
1680
+  font-size: 8px;
1681
+  margin-left: 2px;
1682
+  margin-top: 2px;
1683
+  position: absolute;
1684
+}
1691 1685
 </style>