Преглед на файлове

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