yq1 преди 10 месеца
родител
ревизия
e0e265d001
променени са 1 файла, в които са добавени 43 реда и са изтрити 48 реда
  1. 43 48
      src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue

+ 43 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderseventyone.vue Целия файл

@@ -188,32 +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
-              <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 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 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 204
           </div>
218 205
         </div>
219 206
         <div style="display: flex;border-left: 1px solid black;border-right: 1px solid black;padding: 5px;">
@@ -335,7 +322,7 @@
335 322
                 {{
336 323
                   monitor.ultrafiltration_volume
337 324
                     ? monitor.ultrafiltration_volume
338
-                    : "0"
325
+                    : " "
339 326
                 }}
340 327
               </span>
341 328
             </td>
@@ -388,6 +375,11 @@
388 375
               {{ getTime(monitor.operate_time, "{h}:{i}") }}
389 376
             </td>
390 377
             <td>
378
+              <template 
379
+              v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)&&(org_id!=10414) "
380
+              >
381
+                【开始透析】
382
+              </template>
391 383
               <span v-if="monitor.symptom || monitor.dispose || monitor.result">
392 384
                 {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{
393 385
                   monitor.result
@@ -423,26 +415,6 @@
423 415
               </td>
424 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 418
             <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
447 419
               <td style="min-width:60px;height:40px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
448 420
               <td>
@@ -484,12 +456,10 @@
484 456
           </tbody>
485 457
         </table>
486 458
 
487
-
488
-
489 459
         <div style="border-top: none;border: 1px solid black;padding: 5px;">
490 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 463
           </div>
494 464
           <div style="display: flex;">
495 465
             <div style="flex: 1;"></div>
@@ -526,6 +496,7 @@
526 496
 </template>
527 497
 
528 498
 <script>
499
+import CheckBox from "../batch_print/option_check_box";
529 500
 import { getDialysisRecord } from "@/api/dialysis";
530 501
 import { getDataConfig } from "@/utils/data";
531 502
 import { jsGetAge, uParseTime } from "@/utils/tools";
@@ -540,6 +511,7 @@ export default {
540 511
   components: {
541 512
     // DialysisPrintOrderOne,
542 513
     // DialysisPrintOrderTwo,
514
+    CheckBox,
543 515
     LabelBox,
544 516
     BreadCrumb
545 517
   },
@@ -587,6 +559,8 @@ export default {
587 559
       patientInfo_gender_2: false,
588 560
       patientInfo_source_2: false,
589 561
       patientInfo_source_1: false,
562
+      prescription_dialyzate1:false,
563
+      prescription_dialyzate2:false,
590 564
       modeOptions: {},
591 565
       replacementWays: [],
592 566
       perfusionApparatus: [],
@@ -620,7 +594,8 @@ export default {
620 594
       },
621 595
       prescription: {
622 596
         dialysate_formulation_name: "",
623
-        device: {}
597
+        device: {},
598
+        dialyzate:''
624 599
       },
625 600
       advices: [],
626 601
       users: [],
@@ -1479,6 +1454,20 @@ export default {
1479 1454
         this.patientInfo_source_2 = false;
1480 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 1473
   created() {
@@ -1687,4 +1676,10 @@ export default {
1687 1676
 .print-template-two tr {
1688 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 1685
 </style>