浏览代码

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,71 +595,27 @@
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
-                  )
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 607
                 </td>
608
+                <td width="10">)</td>
622 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 616
                 </td>
626
-                <td width="10">mmol/L</td>
617
+                <td width="10">)</td>
627 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 619
               </tr>
664 620
               </tbody>
665 621
             </table>
@@ -902,8 +858,8 @@
902 858
                 <td colspan="4" style="font-size: 16px">开医嘱</td>
903 859
                 <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
904 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 864
           </td>
909 865
           <td style="font-size: 16px" width="10%">时间</td>
@@ -916,13 +872,13 @@
916 872
         <!-- <template v-for="group in doctor_advices" > -->
917 873
 
918 874
         <tr v-for="(advice, advice_index) in doctor_advices" :key="advice_index">
919
-          <td height="40px">
875
+          <td height="35px">
920 876
               <span v-if="advice.start_time">
921 877
                 {{ getTime(advice.start_time, "{h}:{i}") }}
922 878
               </span>
923 879
             <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
924 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 882
             <span v-if="advice.parent_id > 0">---></span>
927 883
             <span>{{ advice.advice_name }}</span>
928 884
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
@@ -938,19 +894,19 @@
938 894
                   <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
939 895
                 </td> -->
940 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 898
             <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
943 899
             <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
944 900
           </td>
945
-          <td height="40px">
901
+          <td>
946 902
             <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
947 903
             <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
948 904
           </td>
949
-          <td height="40px">
905
+          <td>
950 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 908
           </td>
953
-          <td height="40px">
909
+          <td>
954 910
             <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
955 911
           </td>
956 912
         </tr>
@@ -2057,8 +2013,8 @@ export default {
2057 2013
             if (this.org_template_info.org_id == 9535) {
2058 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 2018
               for (let index = 0; index < nl; index++) {
2063 2019
                 this.monitors.push([])
2064 2020
               }
@@ -2187,6 +2143,7 @@ export default {
2187 2143
               var obj = { advice_name: '', start_time: '' }
2188 2144
               this.doctor_advices.push(obj)
2189 2145
             }
2146
+            this.adviceLength = this.doctor_advices.length + 1
2190 2147
 
2191 2148
             if (this.doctor_advices.length > 0) {
2192 2149
               var group = this.newAdviceGroupObject()

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

@@ -564,17 +564,17 @@
564 564
                     </td>
565 565
                     <td width="10">iu</td>
566 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 568
                     </td>
569 569
                     <td width="10">(</td>
570 570
                     <td width="60">首剂量</td>
571 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 573
                     </td>
574 574
                     <td width="10">mg,</td>
575 575
                     <td width="60">追加量</td>
576 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 578
                     </td>
579 579
                     <td width="10">mg/h</td>
580 580
                     <td width="10">)</td>