See999 4 years ago
parent
commit
9f5a6db61c
1 changed files with 23 additions and 74 deletions
  1. 23 74
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue

+ 23 - 74
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue View File

@@ -595,71 +595,19 @@
595 595
               <tbody>
596 596
               <tr>
597 597
                 <td width="85">透析液配方:</td>
598
-                <td width="100">
599
-                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('普通透析液') > -1 ? true : false" showValue="普通透析液"></label-box>
600
-                </td>
601
-                <td width="10"></td>
602
-                <td width="50">
603
-                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="低钙"></label-box>
604
-                </td>
605
-                <td width="120">
606
-                  (
607
-                  <label class="radio-lebel-box">
608
-                    <!-- <span class="radio-inner">
609
-                    <span class="radio-fang " ></span>
610
-                    <input  type="radio" class="radio-no" value="1">
611
-                </span> -->
612
-                    <span> 1.25mmol/L</span>
613
-                  </label>
614
-                  )
598
+                <td width="580">
599
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="常规"></label-box>
600
+                  &nbsp;
601
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('钾(3.5mmol/L)') > -1 ? true : false" showValue="钾(3.5mmol/L)"></label-box>
602
+                  &nbsp;
603
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('钾(2.0mmol/L)') > -1 ? true : false" showValue="钾(2.0mmol/L)"></label-box>
604
+                  &nbsp;
605
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙(1.25mmol/L)') > -1 ? true : false" showValue="低钙(1.25mmol/L)"></label-box>
606
+                  &nbsp;
607
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙(1.5mmol/L)') > -1 ? true : false" showValue="高钙(1.5mmol/L)"></label-box>
608
+                  &nbsp;
615 609
                 </td>
616
-                <td width="50">
617
-                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钾') > -1 ? true : false" showValue="高钾"></label-box>
618
-                </td>
619
-                <td width="120">
620
-                  ( 1.5mmol/L )
621
-                </td>
622
-                <td width="10">钾</td>
623
-                <td width="50">
624
-                  <div class="under-line">&nbsp;{{ prescription.kalium ? prescription.kalium : "" }}</div>
625
-                </td>
626
-                <td width="10">mmol/L</td>
627 610
                 <td></td>
628
-
629
-                <!-- <td width="50">
630
-                  <label-box
631
-                    :isChecked="
632
-                      prescription.dialysate_formulation_name.indexOf(
633
-                        '低钠'
634
-                      ) > -1
635
-                        ? true
636
-                        : false
637
-                    "
638
-                    showValue="低钠"
639
-                  ></label-box>
640
-                </td>
641
-                <td width="110">
642
-                  (
643
-                  <label class="radio-lebel-box">
644
-                    <span> 135mmol/L</span>
645
-                  </label>
646
-                  )
647
-                </td>
648
-                <td width="50">
649
-                  <label-box
650
-                    :isChecked="
651
-                      prescription.dialysate_formulation_name.indexOf(
652
-                        '高钠'
653
-                      ) > -1
654
-                        ? true
655
-                        : false
656
-                    "
657
-                    showValue="高钠"
658
-                  ></label-box>
659
-                </td>
660
-                <td width="100">
661
-                  ( 145mmol/L )
662
-                </td> -->
663 611
               </tr>
664 612
               </tbody>
665 613
             </table>
@@ -902,8 +850,8 @@
902 850
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
903 851
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
904 852
               </tr> -->
905
-        <tr style="line-height:35px;padding:8px 5px;">
906
-          <td style="font-size: 16px" width="30" :rowspan="doctor_advices.length + 1">
853
+        <tr>
854
+          <td :rowspan="adviceLength" width="30" class="title-box">
907 855
             医嘱内容
908 856
           </td>
909 857
           <td style="font-size: 16px" width="10%">时间</td>
@@ -916,13 +864,13 @@
916 864
         <!-- <template v-for="group in doctor_advices" > -->
917 865
 
918 866
         <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
919
-          <td height="40px">
867
+          <td height="35px">
920 868
               <span v-if="advice.start_time">
921 869
                 {{ getTime(advice.start_time, "{h}:{i}") }}
922 870
               </span>
923 871
             <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
924 872
           </td>
925
-          <td height="40px" colspan="2" class="advice-name" style="padding-left:7px;">
873
+          <td colspan="2" class="advice-name" style="padding-left:7px;">
926 874
             <span v-if="advice.parent_id > 0">---></span>
927 875
             <span>{{ advice.advice_name }}</span>
928 876
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
@@ -938,19 +886,19 @@
938 886
                   <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
939 887
                 </td> -->
940 888
           <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
941
-          <td height="40px">
889
+          <td>
942 890
             <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
943 891
             <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
944 892
           </td>
945
-          <td height="40px">
893
+          <td>
946 894
             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
947 895
             <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
948 896
           </td>
949
-          <td height="40px">
897
+          <td>
950 898
             <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
951
-            <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
899
+            <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
952 900
           </td>
953
-          <td height="40px">
901
+          <td>
954 902
             <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
955 903
           </td>
956 904
         </tr>
@@ -2057,8 +2005,8 @@ export default {
2057 2005
             if (this.org_template_info.org_id == 9535) {
2058 2006
               this.isShowZero = true
2059 2007
             }
2060
-            if (this.monitors.length < 12) {
2061
-              var nl = 12 - this.monitors.length
2008
+            if (this.monitors.length < 13) {
2009
+              var nl = 13 - this.monitors.length
2062 2010
               for (let index = 0; index < nl; index++) {
2063 2011
                 this.monitors.push([])
2064 2012
               }
@@ -2187,6 +2135,7 @@ export default {
2187 2135
               var obj = { advice_name: '', start_time: '' }
2188 2136
               this.doctor_advices.push(obj)
2189 2137
             }
2138
+            this.adviceLength = this.doctor_advices.length + 1
2190 2139
 
2191 2140
             if (this.doctor_advices.length > 0) {
2192 2141
               var group = this.newAdviceGroupObject()