See999 4 лет назад
Родитель
Сommit
9f5a6db61c
1 измененных файлов: 23 добавлений и 74 удалений
  1. 23 74
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue

+ 23 - 74
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyEight.vue Просмотреть файл

595
               <tbody>
595
               <tbody>
596
               <tr>
596
               <tr>
597
                 <td width="85">透析液配方:</td>
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
                 </td>
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
                 <td></td>
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
               </tr>
611
               </tr>
664
               </tbody>
612
               </tbody>
665
             </table>
613
             </table>
902
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
850
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
903
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
851
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
904
               </tr> -->
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
           </td>
856
           </td>
909
           <td style="font-size: 16px" width="10%">时间</td>
857
           <td style="font-size: 16px" width="10%">时间</td>
916
         <!-- <template v-for="group in doctor_advices" > -->
864
         <!-- <template v-for="group in doctor_advices" > -->
917
 
865
 
918
         <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
866
         <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
919
-          <td height="40px">
867
+          <td height="35px">
920
               <span v-if="advice.start_time">
868
               <span v-if="advice.start_time">
921
                 {{ getTime(advice.start_time, "{h}:{i}") }}
869
                 {{ getTime(advice.start_time, "{h}:{i}") }}
922
               </span>
870
               </span>
923
             <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
871
             <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
924
           </td>
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
             <span v-if="advice.parent_id > 0">---></span>
874
             <span v-if="advice.parent_id > 0">---></span>
927
             <span>{{ advice.advice_name }}</span>
875
             <span>{{ advice.advice_name }}</span>
928
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
876
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
938
                   <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
886
                   <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
939
                 </td> -->
887
                 </td> -->
940
           <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
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
             <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
890
             <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
943
             <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
891
             <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
944
           </td>
892
           </td>
945
-          <td height="40px">
893
+          <td>
946
             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
894
             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
947
             <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
895
             <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
948
           </td>
896
           </td>
949
-          <td height="40px">
897
+          <td>
950
             <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
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
           </td>
900
           </td>
953
-          <td height="40px">
901
+          <td>
954
             <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
902
             <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
955
           </td>
903
           </td>
956
         </tr>
904
         </tr>
2057
             if (this.org_template_info.org_id == 9535) {
2005
             if (this.org_template_info.org_id == 9535) {
2058
               this.isShowZero = true
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
               for (let index = 0; index < nl; index++) {
2010
               for (let index = 0; index < nl; index++) {
2063
                 this.monitors.push([])
2011
                 this.monitors.push([])
2064
               }
2012
               }
2187
               var obj = { advice_name: '', start_time: '' }
2135
               var obj = { advice_name: '', start_time: '' }
2188
               this.doctor_advices.push(obj)
2136
               this.doctor_advices.push(obj)
2189
             }
2137
             }
2138
+            this.adviceLength = this.doctor_advices.length + 1
2190
 
2139
 
2191
             if (this.doctor_advices.length > 0) {
2140
             if (this.doctor_advices.length > 0) {
2192
               var group = this.newAdviceGroupObject()
2141
               var group = this.newAdviceGroupObject()