yq1 10 months ago
parent
commit
e0e265d001
1 changed files with 43 additions and 48 deletions
  1. 43 48
      src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue

+ 43 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue View File

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