XMLWAN преди 4 години
родител
ревизия
d6da3a45a1
променени са 2 файла, в които са добавени 213 реда и са изтрити 176 реда
  1. 149 134
      src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue
  2. 64 42
      src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue

+ 149 - 134
src/xt_pages/dialysis/batch_print/batch_print_order_seven.vue Целия файл

69
                   <td width="50">治疗日期:</td>
69
                   <td width="50">治疗日期:</td>
70
                   <td width="130">
70
                   <td width="130">
71
                     <div class="under-line">
71
                     <div class="under-line">
72
-                      {{ queryParams.xtdate ? queryParams.xtdate : '/' }}
72
+                     {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
73
                     </div>
73
                     </div>
74
                   </td>
74
                   </td>
75
                   <td width="10"></td>
75
                   <td width="10"></td>
119
               <table class="print-table" border="1" style="margin-top:10px">
119
               <table class="print-table" border="1" style="margin-top:10px">
120
                 <tr>
120
                 <tr>
121
                   <td>
121
                   <td>
122
-                    <table class="table-box">
122
+                    <table class="table-box" style="table-layout:fixed">
123
                       <tr>
123
                       <tr>
124
                         <td style="text-align:left;margin-left:15px">
124
                         <td style="text-align:left;margin-left:15px">
125
                           病情评估:
125
                           病情评估:
357
                     干体重:
357
                     干体重:
358
                     <span class="under-line"
358
                     <span class="under-line"
359
                       >&nbsp;{{
359
                       >&nbsp;{{
360
-                        record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight.dry_weight : "/"
360
+                        record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight :"/"
361
                       }}</span
361
                       }}</span
362
                     >kg
362
                     >kg
363
                   </td>
363
                   </td>
410
                         <td style="text-align:left;margin-left:15px">
410
                         <td style="text-align:left;margin-left:15px">
411
                           置换方式:
411
                           置换方式:
412
                           <span class="under-line"
412
                           <span class="under-line"
413
-                          >&nbsp;{{
414
-                              record.prescription.replacement_way
415
-                                ? record.prescription.replacement_way
416
-                                : '/'
417
-                            }}</span
413
+                          >&nbsp; {{
414
+                              getDisplaceLiquiPart(record.prescription.displace_liqui_part)
415
+                          }}</span
418
                           >
416
                           >
419
                         </td>
417
                         </td>
420
                         <td style="text-align:left;margin-left:15px">
418
                         <td style="text-align:left;margin-left:15px">
431
                       <tr>
429
                       <tr>
432
                         <td style="text-align:left;margin-left:15px">
430
                         <td style="text-align:left;margin-left:15px">
433
                           抗凝剂:
431
                           抗凝剂:
432
+                           <span class="under-line"
433
+                          v-if="record.prescription.anticoagulant == 0"
434
+                          >&nbsp;/</span>
435
+                           <span class="under-line"
436
+                          v-if="record.prescription.anticoagulant == 1"
437
+                          >&nbsp;无肝素</span>
438
+                           <span class="under-line"
439
+                          v-if="record.prescription.anticoagulant == 2"
440
+                          >&nbsp;普通肝素</span>
441
+                           <span class="under-line"
442
+                          v-if="record.prescription.anticoagulant == 3"
443
+                          >&nbsp;低分子肝素</span>
434
                           <span class="under-line"
444
                           <span class="under-line"
435
-                          >&nbsp;{{
436
-                              record.prescription.anticoagulant
437
-                                ? record.prescription.anticoagulant
438
-                                : '/'
439
-                            }}</span
440
-                          >
445
+                          v-if="record.prescription.anticoagulant == 4"
446
+                          >&nbsp;阿加曲班</span>
447
+                           <span class="under-line"
448
+                          v-if="record.prescription.anticoagulant == 5"
449
+                          >&nbsp;枸橼酸钠</span>
441
                         </td>
450
                         </td>
442
                         <td style="text-align:left;margin-left:15px">
451
                         <td style="text-align:left;margin-left:15px">
443
                           首剂:<span class="under-line">{{
452
                           首剂:<span class="under-line">{{
551
                         </td>
560
                         </td>
552
                       </tr>
561
                       </tr>
553
                       <tr>
562
                       <tr>
554
-                        <td style="text-align:left;margin-left:15px">
563
+                        <td style="text-align:left;margin-left:15px" colspan = "2">
555
                           透析液(mmol/L):
564
                           透析液(mmol/L):
556
                           <span
565
                           <span
557
                             class="under-line"
566
                             class="under-line"
621
                         </td>
630
                         </td>
622
                         <td style="text-align:left;margin-left:15px">
631
                         <td style="text-align:left;margin-left:15px">
623
                           医生签名:
632
                           医生签名:
624
-                          <span
625
-                            v-if="
626
-                              !record.advices ||
627
-                                typeof record.advices[0] == 'undefined' ||
628
-                                typeof record.advices[0][0] == 'undefined'
629
-                            "
630
-                          ></span>
631
-                          <span
632
-                            class="under-line"
633
-                            v-else-if="
633
+                         <span
634
+                          v-if="
634
                               setAdminUserES(
635
                               setAdminUserES(
635
-                                record.advices[0][0],
636
-                                'advice_doctor'
636
+                                record.prescription,
637
+                                'prescription_doctor'
637
                               ) == ''
638
                               ) == ''
638
                             "
639
                             "
639
-                          >{{
640
-                              getAdminUser(
641
-                                record.advices[0][0],
642
-                                'advice_doctor'
643
-                              )
640
+                        >{{
641
+                              getAdminUser(record.prescription, 'prescription_doctor')
644
                             }}</span
642
                             }}</span
645
-                          >
646
-                          <img
647
-                            class="es-img"
648
-                            :src="
643
+                        >
644
+                        <img
645
+                          class="es-img"
646
+                          :src="
649
                               setAdminUserES(
647
                               setAdminUserES(
650
-                                record.advices[0][0],
651
-                                'advice_doctor'
648
+                                record.prescription,
649
+                                'prescription_doctor'
652
                               )
650
                               )
653
                             "
651
                             "
654
-                            alt=""
655
-                            srcset=""
656
-                            v-else
657
-                            style="height: 20px;"
658
-                          />  </span
659
-                          >
652
+                          alt=""
653
+                          srcset=""
654
+                          v-else
655
+                          style="height: 40px;"
656
+                        />
660
                         </td>
657
                         </td>
661
                       </tr>
658
                       </tr>
662
                     </table>
659
                     </table>
717
                     }}{{
714
                     }}{{
718
                     monitor.diastolic_blood_pressure
715
                     monitor.diastolic_blood_pressure
719
                     ? monitor.diastolic_blood_pressure
716
                     ? monitor.diastolic_blood_pressure
720
-                    : ''
717
+                    : '/'
721
                     }}
718
                     }}
722
                   </td>
719
                   </td>
723
                   <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : '/' }}</td>
720
                   <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : '/' }}</td>
743
                     : '/'
740
                     : '/'
744
                     }}
741
                     }}
745
                   </td>
742
                   </td>
746
-                  <td>{{ monitor.symptom }} &nbsp;{{ monitor.result }}</td>
743
+                  <td>{{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{ monitor.result }}</td>
747
                 </tr>
744
                 </tr>
748
               </table>
745
               </table>
749
               </tbody>
746
               </tbody>
762
                   <td style="width:60px;height:40px">
759
                   <td style="width:60px;height:40px">
763
                     <p style="height:20px;line-height:20px">医嘱执行时间</p>
760
                     <p style="height:20px;line-height:20px">医嘱执行时间</p>
764
                   </td>
761
                   </td>
765
-                  <td style="width:30px;height:40px">
762
+                  <td style="width:60px;height:40px">
766
                     <p style="height:20px;line-height:20px">执行</p>
763
                     <p style="height:20px;line-height:20px">执行</p>
767
                   </td>
764
                   </td>
768
-                  <td style="width:30px;height:40px">
765
+                  <td style="width:60px;height:40px">
769
                     <p style="height:20px;line-height:20px">核对</p>
766
                     <p style="height:20px;line-height:20px">核对</p>
770
                   </td>
767
                   </td>
771
                   <td style="width:60px;height:40px">
768
                   <td style="width:60px;height:40px">
819
                       alt=""
816
                       alt=""
820
                       srcset=""
817
                       srcset=""
821
                       v-else
818
                       v-else
822
-                      style="height: 20px;"
819
+                      style="height: 40px;"
823
                     />
820
                     />
824
                   </td>
821
                   </td>
825
-                  <td>{{ getTime(advice[0].start_time, ' {y}-{m}-{d} {h}:{i}') }}</td>
822
+                  <td>{{ getTime(advice[0].execution_time, ' {y}-{m}-{d} {h}:{i}') }}</td>
826
                   <td>
823
                   <td>
827
               <span
824
               <span
828
                 v-if="
825
                 v-if="
841
                       alt=""
838
                       alt=""
842
                       srcset=""
839
                       srcset=""
843
                       v-else
840
                       v-else
844
-                      style="height: 20px;"
841
+                      style="height: 40px;"
845
                     />
842
                     />
846
                   </td>
843
                   </td>
847
                   <td>
844
                   <td>
855
                       alt=""
852
                       alt=""
856
                       srcset=""
853
                       srcset=""
857
                       v-else
854
                       v-else
858
-                      style="height: 20px;"
855
+                      style="height: 40px;"
859
                     /></span>
856
                     /></span>
860
                   </td>
857
                   </td>
861
                   <td v-if="advice_index === 0">透前体重:</td>
858
                   <td v-if="advice_index === 0">透前体重:</td>
882
                   </td>
879
                   </td>
883
                 </tr>
880
                 </tr>
884
               </table>
881
               </table>
885
-              <table class="print-table" border="1" >
886
-                <tr>
887
-                  <td>
888
-                    <table class="table-box">
882
+              <table class="print-table" border="1">
883
+                <td>
884
+                  <table class="table-box" style="table-layout:fixed">
885
+                    <tr>
889
                       <td style="text-align:left;margin-left:15px;width:25%">
886
                       <td style="text-align:left;margin-left:15px;width:25%">
890
-                        上机时间:
891
-                        <span class="under-line"
892
-                        >
893
-                  {{
894
-                    getTime(record.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
895
-                  }}</span
896
-                        >
887
+                     上机时间:
888
+                      <span class="under-line">
889
+                     {{
890
+                       getTime(record.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
891
+                     }}</span>
897
                       </td>
892
                       </td>
898
-                     
899
-                      <td style="text-align:left;margin-left:30px;width:25%">
900
-                        下机时间:
901
-                        <span class="under-line"
902
-                        >&nbsp;{{
903
-                    getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}')
904
-                  }}</span
905
-                        >
906
-                      </td>
907
-                      <td style="text-align:left;margin-left:15px;width:25%">
893
+                       <td style="text-align:left;margin-left:15px;width:25%">
894
+                       下机时间:
895
+                          <span class="under-line"
896
+                            >&nbsp;{{
897
+                             getTime(record.dialysis_order.end_time, '{y}-{m}-{d} {h}:{i}')
898
+                             }}</span
899
+                            >
900
+                       </td>
901
+                       <td style="text-align:left;margin-left:15px;width:25%">
908
                         上机护士:
902
                         上机护士:
909
-                        <span
903
+                          <span
910
                           v-if="
904
                           v-if="
911
                               setAdminUserES(
905
                               setAdminUserES(
912
                                 record.dialysis_order,
906
                                 record.dialysis_order,
928
                           alt=""
922
                           alt=""
929
                           srcset=""
923
                           srcset=""
930
                           v-else
924
                           v-else
931
-                          style="height: 20px;"
925
+                          style="height: 40px;"
932
                         />
926
                         />
927
+                        </td>
928
+                         <td style="text-align:left;margin-left:15px;width:25%">
929
+                          核对护士:
930
+                         <span class="under-line">&nbsp;
931
+                           <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')}}</span>
932
+                            <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" style="height:40px"> 
933
+                         </span>
933
                       </td>
934
                       </td>
934
-                      <td style="text-align:left;margin-left:15px;width:25%">
935
-                        核对护士:
936
-                        <span class="under-line">&nbsp;
937
-                        <span v-if="setAdminUserES(record.check, 'modifier') == ''">{{getAdminUser(record.check, 'modifier')}}</span>
938
-                        <img class="es-img" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset=""> 
939
-                        </span>
940
-                      </td>
941
-                      <tr>
942
-                        <td style="text-align:left;margin-left:15px">
935
+                    </tr>
936
+                    <tr>
937
+                       <td style="text-align:left;margin-left:15px;width:25%">
943
                           下机护士:
938
                           下机护士:
944
                           <span
939
                           <span
945
                             v-if="
940
                             v-if="
963
                             alt=""
958
                             alt=""
964
                             srcset=""
959
                             srcset=""
965
                             v-else
960
                             v-else
966
-                            style="height: 20px;"
961
+                            style="height: 40px;"
967
                           />
962
                           />
968
-                        </td>
969
-                        <td style="text-align:left;margin-left:15px">
970
-                          下机血压:
963
+                       </td>
964
+                       <td style="text-align:left;margin-left:15px;width:25%">
965
+                        下机血压:
971
                           <span class="under-line"
966
                           <span class="under-line"
972
                           >&nbsp;{{ record.dialysis_order.systolic_blood_pressure }}/{{
967
                           >&nbsp;{{ record.dialysis_order.systolic_blood_pressure }}/{{
973
-                    record.dialysis_order.diastolic_blood_pressure
974
-                  }}&nbsp;mmHg</span
968
+                             record.dialysis_order.diastolic_blood_pressure
969
+                             }}&nbsp;mmHg</span
975
                           >
970
                           >
976
-                        </td>
977
-                        <td style="text-align:left;margin-left:15px">
978
-                          实际治疗时间:
971
+                       </td>
972
+                       <td style="text-align:left;margin-left:15px;width:25%">
973
+                      实际治疗时间:
979
                           <span class="under-line"
974
                           <span class="under-line"
980
                           >&nbsp;
975
                           >&nbsp;
981
-                  {{
982
-                    record.assessment_after_dislysis.actual_treatment_hour
983
-                      ?  record.assessment_after_dislysis.actual_treatment_hour
984
-                      : '/'
985
-                  }}小时{{
986
-                     record.assessment_after_dislysis.actual_treatment_minute
987
-                      ?  record.assessment_after_dislysis.actual_treatment_minute
988
-                      : '/'
989
-                  }}分钟
990
-                </span>
991
-                        </td>
992
-                        <td style="text-align:left;margin-left:15px">
993
-                          实际超滤量:
976
+                         {{
977
+                           record.assessment_after_dislysis.actual_treatment_hour
978
+                           ?  record.assessment_after_dislysis.actual_treatment_hour
979
+                            : '/'
980
+                        }}小时{{
981
+                           record.assessment_after_dislysis.actual_treatment_minute
982
+                           ?  record.assessment_after_dislysis.actual_treatment_minute
983
+                            : '/'
984
+                          }}分钟
985
+                         </span>
986
+                       </td>
987
+                         <td style="text-align:left;margin-left:15px;width:25%">
988
+                         实际超滤量:
994
                           <span class="under-line">&nbsp;{{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:'/'}}&nbsp;L</span>
989
                           <span class="under-line">&nbsp;{{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:'/'}}&nbsp;L</span>
995
-                        </td>
996
-                      </tr>
997
-                      <tr>
990
+                         </td>
991
+                    </tr>
992
+                    <tr>
998
                         <td style="text-align:left;margin-left:15px">
993
                         <td style="text-align:left;margin-left:15px">
999
-                          拔针后穿刺点渗血:
994
+                           拔针后穿刺点渗血:
1000
                            <span class="under-line"
995
                            <span class="under-line"
1001
                                 v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 0">&nbsp;/</span>
996
                                 v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 0">&nbsp;/</span>
1002
                           <span class="under-line"
997
                           <span class="under-line"
1003
                                 v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 1">&nbsp;有</span>
998
                                 v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 1">&nbsp;有</span>
1004
                           <span class="under-line"
999
                           <span class="under-line"
1005
                                 v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 2">&nbsp;无</span>
1000
                                 v-if="record.assessment_after_dislysis.puncture_point_oozing_blood === 2">&nbsp;无</span>
1001
+
1006
                         </td>
1002
                         </td>
1007
                         <td style="text-align:left;margin-left:15px">
1003
                         <td style="text-align:left;margin-left:15px">
1008
-                          穿刺处血肿:
1004
+                         穿刺处血肿:
1009
                           <span class="under-line"
1005
                           <span class="under-line"
1010
                                 v-if="record.assessment_after_dislysis.puncture_point_haematoma === 0">&nbsp;/</span>
1006
                                 v-if="record.assessment_after_dislysis.puncture_point_haematoma === 0">&nbsp;/</span>
1011
                           <span class="under-line"
1007
                           <span class="under-line"
1013
                           <span class="under-line"
1009
                           <span class="under-line"
1014
                                 v-if="record.assessment_after_dislysis.puncture_point_haematoma === 2">&nbsp;无</span>
1010
                                 v-if="record.assessment_after_dislysis.puncture_point_haematoma === 2">&nbsp;无</span>
1015
                         </td>
1011
                         </td>
1016
-                        <td style="text-align:left;margin-left:15px">
1012
+                          <td style="text-align:left;margin-left:15px">
1017
                           压迫后内瘘震颤:
1013
                           压迫后内瘘震颤:
1018
-                           <span class="under-line"
1014
+                          <span class="under-line"
1019
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 0">&nbsp;/</span>
1015
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 0">&nbsp;/</span>
1020
                           <span class="under-line"
1016
                           <span class="under-line"
1021
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 1">&nbsp;存在</span>
1017
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 1">&nbsp;存在</span>
1023
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 2">&nbsp;减弱</span>
1019
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 2">&nbsp;减弱</span>
1024
                           <span class="under-line"
1020
                           <span class="under-line"
1025
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 3">&nbsp;无</span>
1021
                                 v-if="record.assessment_after_dislysis.internal_fistula_tremor_ac === 3">&nbsp;无</span>
1026
-                        </td>
1027
-                      </tr>
1028
-                      <tr>
1029
-                        <td style="text-align:left;margin-left:15px">
1030
-                          并发症:
1031
-                          <span class="under-line">&nbsp;{{record.assessment_after_dislysis.complication}}</span>
1032
-                        </td>
1033
-                        <td style="text-align:left;margin-left:15px">
1034
-                          透析器凝血:
1035
-                          <span class="under-line">{{record.assessment_after_dislysis.cruor?record.assessment_after_dislysis.cruor:"/"}}</span>
1036
-                        </td>
1022
+
1023
+                      </td>
1024
+                    </tr>
1025
+                     <tr>
1026
+                      <td style="text-align:left;margin-left:15px;" colspan="2">
1027
+                        并发症:
1028
+                            <span class="under-line">&nbsp;{{record.assessment_after_dislysis.complication}}</span>
1029
+                      </td>
1030
+                       <td style="text-align:left;margin-left:15px" colspan="2">
1031
+                         透析器凝血:
1032
+                        <span class="under-line">{{record.assessment_after_dislysis.cruor?record.assessment_after_dislysis.cruor:"/"}}</span>
1033
+                       </td>
1037
                       </tr>
1034
                       </tr>
1038
-                      <td style="text-align:left;margin-left:15px;width:200px">
1039
-                          治疗小结:
1035
+                  </table>
1036
+                   <table class="table-box">
1037
+                     <tr>
1038
+                      <td style="text-align:left;margin-left:15px">
1039
+                       治疗小结:
1040
                           <span class="under-line">&nbsp;{{record.summer && record.summer.dialysis_summary? record.summer.dialysis_summary: '/'}}</span>
1040
                           <span class="under-line">&nbsp;{{record.summer && record.summer.dialysis_summary? record.summer.dialysis_summary: '/'}}</span>
1041
-                      </td>
1042
-                    </table>
1043
-                  </td>
1044
-                </tr>
1041
+                       </td>
1042
+                      </tr>
1043
+                   </table>
1044
+                </td>
1045
               </table>
1045
               </table>
1046
               <div>
1046
               <div>
1047
                 注:透析器凝血评价标准:"0级"&nbsp;无凝血或数条纤维束凝血,"Ⅰ级"&nbsp;少于10%纤维凝血,"Ⅱ级"&nbsp;少于50%纤维凝血,"Ⅲ级"&nbsp;大于50%纤维凝血
1047
                 注:透析器凝血评价标准:"0级"&nbsp;无凝血或数条纤维束凝血,"Ⅰ级"&nbsp;少于10%纤维凝血,"Ⅱ级"&nbsp;少于50%纤维凝血,"Ⅲ级"&nbsp;大于50%纤维凝血
1143
           user_name: '',
1143
           user_name: '',
1144
           url: ''
1144
           url: ''
1145
         },
1145
         },
1146
-        lastAfterWeight: ''
1146
+        lastAfterWeight: '',
1147
+        displaceLiquiPartOptions: []
1147
       }
1148
       }
1148
     },
1149
     },
1149
     created() {
1150
     created() {
1155
       //   this.replacementWays = this.$store.getters.replacement_ways;
1156
       //   this.replacementWays = this.$store.getters.replacement_ways;
1156
       //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
1157
       //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
1157
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1158
       this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
1158
-
1159
+      this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
1159
       var bloodAccessParOpera = getDataConfig(
1160
       var bloodAccessParOpera = getDataConfig(
1160
         'hemodialysis',
1161
         'hemodialysis',
1161
         'vascular_access_desc'
1162
         'vascular_access_desc'
1342
         .catch(err => {
1343
         .catch(err => {
1343
           this.$message.error(err)
1344
           this.$message.error(err)
1344
         })
1345
         })
1346
+
1347
+
1345
     },
1348
     },
1346
     methods: {
1349
     methods: {
1347
       getUnit: function(val) {
1350
       getUnit: function(val) {
1360
       },
1363
       },
1361
       QueryPartById: function(val) {
1364
       QueryPartById: function(val) {
1362
         let vascular_access_part_name = '/'
1365
         let vascular_access_part_name = '/'
1363
-        const vascular_access = getDataConfig('hemodialysis', 'vascular_access')
1364
-
1366
+        const vascular_access = getDataConfig('hemodialysis', 'vascular_access_desc')
1367
+         console.log("血管通路",vascular_access)
1365
         for (let i = 0; i < vascular_access.length; i++) {
1368
         for (let i = 0; i < vascular_access.length; i++) {
1366
           if (vascular_access[i].id == val) {
1369
           if (vascular_access[i].id == val) {
1367
             vascular_access_part_name = vascular_access[i].name
1370
             vascular_access_part_name = vascular_access[i].name
1589
             console.log('weight', weight)
1592
             console.log('weight', weight)
1590
           }
1593
           }
1591
         })
1594
         })
1595
+      },
1596
+      getDisplaceLiquiPart: function(val) {
1597
+        console.log(val)
1598
+        let displace_liqui_part_name = "/";
1599
+        const displace_liqui_part = this.displaceLiquiPartOptions;
1600
+        console.log("置换方式",displace_liqui_part)
1601
+        for (let i = 0; i < displace_liqui_part.length; i++) {
1602
+           if (displace_liqui_part[i].id == val) {
1603
+           displace_liqui_part_name = displace_liqui_part[i].name;
1604
+        }
1592
       }
1605
       }
1606
+      return displace_liqui_part_name;
1607
+    },
1593
     }
1608
     }
1594
   }
1609
   }
1595
 </script>
1610
 </script>

+ 64 - 42
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Целия файл

243
                   <td style="text-align:left;margin-left:15px">
243
                   <td style="text-align:left;margin-left:15px">
244
                     置换方式:
244
                     置换方式:
245
                     <span class="under-line"
245
                     <span class="under-line"
246
-                      >&nbsp;{{
247
-                        prescription.replacement_way
248
-                          ? prescription.replacement_way
249
-                          : "/"
246
+                      >&nbsp;
247
+                      {{
248
+                        getDisplaceLiquiPart(prescription.displace_liqui_part)
250
                       }}</span
249
                       }}</span
251
                     >
250
                     >
252
                   </td>
251
                   </td>
395
                   </td>
394
                   </td>
396
                   <td style="text-align:left;margin-left:15px">
395
                   <td style="text-align:left;margin-left:15px">
397
                     医生签名:
396
                     医生签名:
398
-                    <span class="under-line" v-if="doctorForm.url == ''"
397
+                    <span class="under-line" v-if="dialysisDoctor.url == ''"
399
                       >&nbsp;{{
398
                       >&nbsp;{{
400
-                        doctorForm.doctor ? doctorForm.doctor : "/"
399
+                        dialysisDoctor.doctor ? dialysisDoctor.doctor : "/"
401
                       }}</span
400
                       }}</span
402
                     >
401
                     >
403
-                    <span class="under-line" v-if="doctorForm.url != ''">
404
-                      <img style="height:20px" :src="doctorForm.url" />
402
+                    <span class="under-line" v-if="dialysisDoctor.url != ''">
403
+                      <img style="height:40px" :src="dialysisDoctor.url" />
405
                     </span>
404
                     </span>
406
                   </td>
405
                   </td>
407
                 </tr>
406
                 </tr>
464
             }}{{
463
             }}{{
465
               monitor.diastolic_blood_pressure
464
               monitor.diastolic_blood_pressure
466
                 ? monitor.diastolic_blood_pressure
465
                 ? monitor.diastolic_blood_pressure
467
-                : ""
466
+                : "/"
468
             }}
467
             }}
469
           </td>
468
           </td>
470
           <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
469
           <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
494
                 : "/"
493
                 : "/"
495
             }}
494
             }}
496
           </td>
495
           </td>
497
-          <td>{{ monitor.symptom }} &nbsp;{{ monitor.result }}</td>
496
+          <td>
497
+            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{
498
+              monitor.result
499
+            }}
500
+          </td>
498
         </tr>
501
         </tr>
499
       </table>
502
       </table>
500
 
503
 
513
             <td style="width:60px;height:40px">
516
             <td style="width:60px;height:40px">
514
               <p style="height:20px;line-height:20px">医嘱执行时间</p>
517
               <p style="height:20px;line-height:20px">医嘱执行时间</p>
515
             </td>
518
             </td>
516
-            <td style="width:30px;height:40px">
519
+            <td style="width:60px;height:40px">
517
               <p style="height:20px;line-height:20px">执行</p>
520
               <p style="height:20px;line-height:20px">执行</p>
518
             </td>
521
             </td>
519
-            <td style="width:30px;height:40px">
522
+            <td style="width:60px;height:60px">
520
               <p style="height:20px;line-height:20px">核对</p>
523
               <p style="height:20px;line-height:20px">核对</p>
521
             </td>
524
             </td>
522
             <td style="width:60px;height:40px">
525
             <td style="width:60px;height:40px">
554
                 getAdminUser(advice.advice_doctor)
557
                 getAdminUser(advice.advice_doctor)
555
               }}</span>
558
               }}</span>
556
               <img
559
               <img
557
-                style="height:20px;"
560
+                style="height:40px;"
558
                 :src="setAdminUserES(advice.advice_doctor)"
561
                 :src="setAdminUserES(advice.advice_doctor)"
559
                 alt=""
562
                 alt=""
560
                 srcset=""
563
                 srcset=""
561
                 v-else
564
                 v-else
562
               />
565
               />
563
             </td>
566
             </td>
564
-            <td>{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
567
+            <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
565
             <td>
568
             <td>
566
               <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
569
               <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
567
                 getAdminUser(advice.execution_staff)
570
                 getAdminUser(advice.execution_staff)
568
               }}</span>
571
               }}</span>
569
               <img
572
               <img
570
-                style="height:20px;"
573
+                style="height:40px;"
571
                 :src="setAdminUserES(advice.execution_staff)"
574
                 :src="setAdminUserES(advice.execution_staff)"
572
                 alt=""
575
                 alt=""
573
                 srcset=""
576
                 srcset=""
579
                 getAdminUser(advice.checker)
582
                 getAdminUser(advice.checker)
580
               }}</span>
583
               }}</span>
581
               <img
584
               <img
582
-                style="height:20px;"
585
+                style="height:40px;"
583
                 :src="setAdminUserES(advice.checker)"
586
                 :src="setAdminUserES(advice.checker)"
584
                 alt=""
587
                 alt=""
585
                 srcset=""
588
                 srcset=""
621
       </table>
624
       </table>
622
       <table class="print-table" border="1">
625
       <table class="print-table" border="1">
623
         <td>
626
         <td>
624
-          <table class="table-box">
627
+          <table class="table-box" style="table-layout:fixed">
625
             <tr>
628
             <tr>
626
               <td style="text-align:left;margin-left:15px;width:25%">
629
               <td style="text-align:left;margin-left:15px;width:25%">
627
                 上机时间:
630
                 上机时间:
628
-                <span class="under-line"
629
-                  >&nbsp;
631
+                <span class="under-line">
630
                   {{ getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") }}</span
632
                   {{ getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") }}</span
631
                 >
633
                 >
632
               </td>
634
               </td>
633
-              <td style="text-align:left;margin-left:15px">
635
+              <td style="text-align:left;margin-left:15px;width:25%">
634
                 下机时间:
636
                 下机时间:
635
-                <span class="under-line"
636
-                  >&nbsp;{{
637
-                    getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
638
-                  }}</span
639
-                >
637
+                <span class="under-line">{{
638
+                  getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
639
+                }}</span>
640
               </td>
640
               </td>
641
-              <td style="text-align:left;margin-left:15px">
641
+              <td style="text-align:left;margin-left:15px;width:25%">
642
                 上机护士:
642
                 上机护士:
643
                 <span class="under-line" v-if="orderForm.url === ''">{{
643
                 <span class="under-line" v-if="orderForm.url === ''">{{
644
                   orderForm.start_nurse
644
                   orderForm.start_nurse
645
                 }}</span>
645
                 }}</span>
646
                 <span class="under-line" v-if="orderForm.url !== ''"
646
                 <span class="under-line" v-if="orderForm.url !== ''"
647
-                  ><img :src="orderForm.url" style="height:20px;"
647
+                  ><img :src="orderForm.url" style="height:40px;"
648
                 /></span>
648
                 /></span>
649
               </td>
649
               </td>
650
-              <td style="text-align:left;margin-left:15px">
650
+              <td style="text-align:left;margin-left:15px;width:25%">
651
                 核对护士:
651
                 核对护士:
652
                 <span class="under-line"
652
                 <span class="under-line"
653
                   >&nbsp;
653
                   >&nbsp;
664
                     :src="setAdminUserES(check == null ? 0 : check.modifier)"
664
                     :src="setAdminUserES(check == null ? 0 : check.modifier)"
665
                     alt=""
665
                     alt=""
666
                     srcset=""
666
                     srcset=""
667
+                    style="height:40px"
667
                     v-else
668
                     v-else
668
                   />
669
                   />
669
                 </span>
670
                 </span>
670
               </td>
671
               </td>
671
             </tr>
672
             </tr>
673
+
672
             <tr>
674
             <tr>
673
-              <td style="text-align:left;margin-left:15px">
675
+              <td style="text-align:left;margin-left:15px;width:25%">
674
                 下机护士:
676
                 下机护士:
675
                 <span class="under-line" v-if="finshForm.url === ''"
677
                 <span class="under-line" v-if="finshForm.url === ''"
676
                   >&nbsp;{{ finshForm.finish_nurse }}</span
678
                   >&nbsp;{{ finshForm.finish_nurse }}</span
677
                 >
679
                 >
678
                 <span class="under-line" v-if="finshForm.url !== ''"
680
                 <span class="under-line" v-if="finshForm.url !== ''"
679
-                  >&nbsp;<img :src="finshForm.url" style="height:20px;"
681
+                  >&nbsp;<img :src="finshForm.url" style="height:40px;"
680
                 /></span>
682
                 /></span>
681
               </td>
683
               </td>
682
-              <td style="text-align:left;margin-left:15px">
684
+              <td style="text-align:left;margin-left:15px;width:25%">
683
                 下机血压:
685
                 下机血压:
684
                 <span class="under-line"
686
                 <span class="under-line"
685
                   >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
687
                   >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
687
                   }}&nbsp;mmHg</span
689
                   }}&nbsp;mmHg</span
688
                 >
690
                 >
689
               </td>
691
               </td>
690
-              <td style="text-align:left;margin-left:15px">
692
+              <td style="text-align:left;margin-left:15px;width:25%">
691
                 实际治疗时间:
693
                 实际治疗时间:
692
                 <span class="under-line"
694
                 <span class="under-line"
693
                   >&nbsp;
695
                   >&nbsp;
702
                   }}分钟
704
                   }}分钟
703
                 </span>
705
                 </span>
704
               </td>
706
               </td>
705
-              <td style="text-align:left;margin-left:15px">
707
+              <td style="text-align:left;margin-left:15px;width:25%">
706
                 实际超滤量:
708
                 实际超滤量:
707
                 <span class="under-line"
709
                 <span class="under-line"
708
                   >&nbsp;{{
710
                   >&nbsp;{{
775
               </td>
777
               </td>
776
             </tr>
778
             </tr>
777
             <tr>
779
             <tr>
778
-              <td style="text-align:left;margin-left:15px">
780
+              <td style="text-align:left;margin-left:15px;" colspan="2">
779
                 并发症:
781
                 并发症:
780
                 <span class="under-line"
782
                 <span class="under-line"
781
                   >&nbsp;{{ afterdialysis.complication }}</span
783
                   >&nbsp;{{ afterdialysis.complication }}</span
782
                 >
784
                 >
783
               </td>
785
               </td>
784
-              <td style="text-align:left;margin-left:15px">
786
+              <td style="text-align:left;margin-left:15px" colspan="2">
785
                 透析器凝血:
787
                 透析器凝血:
786
                 <span class="under-line">{{
788
                 <span class="under-line">{{
787
                   afterdialysis.cruor ? afterdialysis.cruor : "/"
789
                   afterdialysis.cruor ? afterdialysis.cruor : "/"
788
                 }}</span>
790
                 }}</span>
789
               </td>
791
               </td>
790
             </tr>
792
             </tr>
793
+          </table>
794
+
795
+          <table class="table-box">
791
             <tr>
796
             <tr>
792
               <td style="text-align:left;margin-left:15px">
797
               <td style="text-align:left;margin-left:15px">
793
                 治疗小结:
798
                 治疗小结:
933
         doctor: "",
938
         doctor: "",
934
         url: ""
939
         url: ""
935
       },
940
       },
941
+      dialysisDoctor: {
942
+        doctor: "",
943
+        url: ""
944
+      },
936
       tableAdvice: [],
945
       tableAdvice: [],
937
       assessmentafter: {},
946
       assessmentafter: {},
938
       orderForm: {
947
       orderForm: {
942
       finshForm: {
951
       finshForm: {
943
         finish_nurse: "",
952
         finish_nurse: "",
944
         url: ""
953
         url: ""
945
-      }
954
+      },
955
+      displaceLiquiPartOptions: []
946
     };
956
     };
947
   },
957
   },
948
   methods: {
958
   methods: {
959
+    getDisplaceLiquiPart: function(val) {
960
+      let displace_liqui_part_name = "/";
961
+      const displace_liqui_part = this.displaceLiquiPartOptions;
962
+      for (let i = 0; i < displace_liqui_part.length; i++) {
963
+        if (displace_liqui_part[i].id == val) {
964
+          displace_liqui_part_name = displace_liqui_part[i].name;
965
+        }
966
+      }
967
+      return displace_liqui_part_name;
968
+    },
949
     getAdminUser(id) {
969
     getAdminUser(id) {
950
       if (id == 0) {
970
       if (id == 0) {
951
         return "";
971
         return "";
1081
           this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1101
           this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
1082
             this.predialysis.blood_access_part_opera_id
1102
             this.predialysis.blood_access_part_opera_id
1083
           );
1103
           );
1084
-          var assessmentafter = response.data.data.assessmentAfterDislysis;
1085
-          this.assessmentafter = assessmentafter;
1086
-          console.log("上次透后体重", assessmentafter);
1104
+          this.assessmentafter = response.data.data.assessmentAfterDislysis;
1105
+          console.log("上次透后体重", this.assessmentafter);
1087
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
1106
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
1088
           var tableAdvice = doctorAdevieInfo;
1107
           var tableAdvice = doctorAdevieInfo;
1089
           // console.log('医生', tableAdvice.length)
1108
           // console.log('医生', tableAdvice.length)
1229
             ","
1248
             ","
1230
           );
1249
           );
1231
           var doctorname = response.data.data.DoctorName;
1250
           var doctorname = response.data.data.DoctorName;
1232
-          // console.log('医师签名', doctorname)
1251
+          console.log("医师签名", doctorname);
1233
           this.doctorForm.doctor = doctorname.user_name;
1252
           this.doctorForm.doctor = doctorname.user_name;
1234
           this.doctorForm.url = doctorname.url;
1253
           this.doctorForm.url = doctorname.url;
1235
           var prescription = response.data.data.dialysisPrescription;
1254
           var prescription = response.data.data.dialysisPrescription;
1370
           // console.log('下机护士', finish_nurse)
1389
           // console.log('下机护士', finish_nurse)
1371
           this.finshForm.url = finish_nurse.url;
1390
           this.finshForm.url = finish_nurse.url;
1372
           this.finshForm.finish_nurse = finish_nurse.user_name;
1391
           this.finshForm.finish_nurse = finish_nurse.user_name;
1373
-
1392
+          var dialysisdoctor = response.data.data.dialysisdocotr;
1393
+          console.log("处方医生", dialysisdoctor);
1394
+          this.dialysisDoctor.doctor = dialysisdoctor.user_name;
1395
+          this.dialysisDoctor.url = dialysisdoctor.url;
1374
           this.org_template_info = response.data.data.org_template_info;
1396
           this.org_template_info = response.data.data.org_template_info;
1375
           // 配置超滤量和置换量是否要显示0还是空
1397
           // 配置超滤量和置换量是否要显示0还是空
1376
           if (this.org_template_info.org_id == 9535) {
1398
           if (this.org_template_info.org_id == 9535) {
1632
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
1654
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
1633
     this.intake_arr = getDataConfig("hemodialysis", "intake");
1655
     this.intake_arr = getDataConfig("hemodialysis", "intake");
1634
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
1656
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
1635
-
1657
+    this.displaceLiquiPartOptions = this.$store.getters.displace_liqui;
1636
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1658
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1637
 
1659
 
1638
     var bloodAccessParOpera = getDataConfig(
1660
     var bloodAccessParOpera = getDataConfig(