浏览代码

Merge branch '20201014_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201014_pc_vue_new_branch

XMLWAN 4 年前
父节点
当前提交
53bfd99b92

+ 29 - 72
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
-                  )
615
-                </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 )
598
+                <td width='90'>B液: 碳酸盐:</td>
599
+                <td width='30'>A液:</td>
600
+                <td width="10">钙</td>
601
+                <td width="10">(</td>
602
+                <td width="200">
603
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('A液:钙(1.25mmol/L)钾(2.0mmol/L)') > -1 ? true : prescription.dialysate_formulation_name.indexOf('A液:钙(1.25mmol/L)钾(3.5mmol/L)') > -1 ? true : false" showValue="1.25mmol/L"></label-box>
604
+                  &nbsp;
605
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('A液:钙(1.5mmol/L)钾(2.0mmol/L)') > -1 ? true : prescription.dialysate_formulation_name.indexOf('A液:钙(1.5mmol/L)钾(3.5mmol/L)') > -1 ? true : false" showValue="1.5mmol/L"></label-box>
606
+                  &nbsp;
621
                 </td>
607
                 </td>
608
+                <td width="10">)</td>
622
                 <td width="10">钾</td>
609
                 <td width="10">钾</td>
623
-                <td width="50">
624
-                  <div class="under-line">&nbsp;{{ prescription.kalium ? prescription.kalium : "" }}</div>
610
+                <td width="10">(</td>
611
+                <td width="200">
612
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('A液:钙(1.25mmol/L)钾(2.0mmol/L)') > -1 ? true : prescription.dialysate_formulation_name.indexOf('A液:钙(1.5mmol/L)钾(2.0mmol/L)') > -1 ? true : false" showValue="2.0mmol/L"></label-box>
613
+                  &nbsp;
614
+                  <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('A液:钙(1.25mmol/L)钾(3.5mmol/L)') > -1 ? true : prescription.dialysate_formulation_name.indexOf('A液:钙(1.5mmol/L)钾(3.5mmol/L)') > -1 ? true : false" showValue="3.5mmol/L"></label-box>
615
+                  &nbsp;
625
                 </td>
616
                 </td>
626
-                <td width="10">mmol/L</td>
617
+                <td width="10">)</td>
627
                 <td></td>
618
                 <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>
619
               </tr>
664
               </tbody>
620
               </tbody>
665
             </table>
621
             </table>
902
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
858
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
903
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
859
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
904
               </tr> -->
860
               </tr> -->
905
-        <tr style="line-height:35px;padding:8px 5px;">
906
-          <td style="font-size: 16px" width="30" :rowspan="doctor_advices.length + 1">
861
+        <tr>
862
+          <td :rowspan="adviceLength" width="30" class="title-box">
907
             医嘱内容
863
             医嘱内容
908
           </td>
864
           </td>
909
           <td style="font-size: 16px" width="10%">时间</td>
865
           <td style="font-size: 16px" width="10%">时间</td>
916
         <!-- <template v-for="group in doctor_advices" > -->
872
         <!-- <template v-for="group in doctor_advices" > -->
917
 
873
 
918
         <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
874
         <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
919
-          <td height="40px">
875
+          <td height="35px">
920
               <span v-if="advice.start_time">
876
               <span v-if="advice.start_time">
921
                 {{ getTime(advice.start_time, "{h}:{i}") }}
877
                 {{ getTime(advice.start_time, "{h}:{i}") }}
922
               </span>
878
               </span>
923
             <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
879
             <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
924
           </td>
880
           </td>
925
-          <td height="40px" colspan="2" class="advice-name" style="padding-left:7px;">
881
+          <td colspan="2" class="advice-name" style="padding-left:7px;">
926
             <span v-if="advice.parent_id > 0">---></span>
882
             <span v-if="advice.parent_id > 0">---></span>
927
             <span>{{ advice.advice_name }}</span>
883
             <span>{{ advice.advice_name }}</span>
928
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
884
             <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>
894
                   <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
939
                 </td> -->
895
                 </td> -->
940
           <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
896
           <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
941
-          <td height="40px">
897
+          <td>
942
             <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
898
             <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 />
899
             <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
944
           </td>
900
           </td>
945
-          <td height="40px">
901
+          <td>
946
             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
902
             <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 />
903
             <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
948
           </td>
904
           </td>
949
-          <td height="40px">
905
+          <td>
950
             <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
906
             <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
951
-            <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
907
+            <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
952
           </td>
908
           </td>
953
-          <td height="40px">
909
+          <td>
954
             <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
910
             <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
955
           </td>
911
           </td>
956
         </tr>
912
         </tr>
2057
             if (this.org_template_info.org_id == 9535) {
2013
             if (this.org_template_info.org_id == 9535) {
2058
               this.isShowZero = true
2014
               this.isShowZero = true
2059
             }
2015
             }
2060
-            if (this.monitors.length < 12) {
2061
-              var nl = 12 - this.monitors.length
2016
+            if (this.monitors.length < 13) {
2017
+              var nl = 13 - this.monitors.length
2062
               for (let index = 0; index < nl; index++) {
2018
               for (let index = 0; index < nl; index++) {
2063
                 this.monitors.push([])
2019
                 this.monitors.push([])
2064
               }
2020
               }
2187
               var obj = { advice_name: '', start_time: '' }
2143
               var obj = { advice_name: '', start_time: '' }
2188
               this.doctor_advices.push(obj)
2144
               this.doctor_advices.push(obj)
2189
             }
2145
             }
2146
+            this.adviceLength = this.doctor_advices.length + 1
2190
 
2147
 
2191
             if (this.doctor_advices.length > 0) {
2148
             if (this.doctor_advices.length > 0) {
2192
               var group = this.newAdviceGroupObject()
2149
               var group = this.newAdviceGroupObject()

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue 查看文件

564
                     </td>
564
                     </td>
565
                     <td width="10">iu</td>
565
                     <td width="10">iu</td>
566
                     <td width="100">
566
                     <td width="100">
567
-                        <label-box :isChecked="prescription.anticoagulant == '普通肝素' ? true : false" showValue="普通肝素"></label-box>
567
+                        <label-box :isChecked="prescription.anticoagulant == '阿加曲班' ? true : false" showValue="阿加曲班"></label-box>
568
                     </td>
568
                     </td>
569
                     <td width="10">(</td>
569
                     <td width="10">(</td>
570
                     <td width="60">首剂量</td>
570
                     <td width="60">首剂量</td>
571
                     <td width="60">
571
                     <td width="60">
572
-                        <div class="under-line">&nbsp;{{ prescription.anticoagulant == '普通肝素' && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
572
+                        <div class="under-line">&nbsp;{{ prescription.anticoagulant == '阿加曲班' && prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "" }}</div>
573
                     </td>
573
                     </td>
574
                     <td width="10">mg,</td>
574
                     <td width="10">mg,</td>
575
                     <td width="60">追加量</td>
575
                     <td width="60">追加量</td>
576
                     <td width="60">
576
                     <td width="60">
577
-                        <div class="under-line">&nbsp;{{ prescription.anticoagulant == '普通肝素' && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
577
+                        <div class="under-line">&nbsp;{{ prescription.anticoagulant == '阿加曲班' && prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "" }}</div>
578
                     </td>
578
                     </td>
579
                     <td width="10">mg/h</td>
579
                     <td width="10">mg/h</td>
580
                     <td width="10">)</td>
580
                     <td width="10">)</td>