See999 4 年前
父节点
当前提交
3fd6bd90d6
共有 1 个文件被更改,包括 26 次插入14 次删除
  1. 26 14
      src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue

+ 26 - 14
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue 查看文件

@@ -171,23 +171,25 @@
171 171
                     <td width="100">体液过多症状:</td>
172 172
                     <td width="50">
173 173
                       <div>
174
-                        <label-box :isChecked="false" showValue="无"></label-box>
174
+                        <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('无') > -1 : false" showValue="无"></label-box>
175 175
                       </div>
176 176
                     </td>
177 177
                     <td width="180">
178 178
                       <div>
179
-                        <label-box :isChecked="false" showValue="下肢水肿"></label-box>
179
+                        <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('下肢水肿') > -1 : false" showValue="下肢水肿"></label-box>
180 180
                         &nbsp;
181
-                        <label-box :isChecked="false" showValue="颜面浮肿"></label-box>
181
+                        <label-box :isChecked="predialysis.humor_excessive_symptom ? getHumorExcessiveSymptom(predialysis.humor_excessive_symptom).indexOf('颜面浮肿') >-1 : false" showValue="颜面浮肿"></label-box>
182 182
                         &nbsp;
183 183
                       </div>
184 184
                     </td>
185 185
 
186
-                    <td width="50"><label-box :isChecked="false" showValue="其它"></label-box></td>
186
+                    <td width="50"><label-box :isChecked="predialysis.humor_excessive_symptom ? ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1 : false" showValue="其它"></label-box></td>
187 187
                     <td width="80">
188 188
                       <div class="under-line">
189 189
                         &nbsp;
190
-                        <span></span>
190
+                        <span v-if="predialysis.humor_excessive_symptom && ['无','下肢水肿','颜面浮肿'].indexOf(getHumorExcessiveSymptom(predialysis.humor_excessive_symptom)) == -1">
191
+                          {{ getHumorExcessiveSymptom(predialysis.humor_excessive_symptom) }}
192
+                        </span>
191 193
                       </div>
192 194
                     </td>
193 195
                     <td></td>
@@ -620,25 +622,25 @@
620 622
                     <td width="40">入量:</td>
621 623
                     <td width="40">回血:</td>
622 624
                     <td width="50">
623
-                        <div class="under-line">&nbsp;</div>
625
+                        <div class="under-line">&nbsp;{{ afterdialysis.return_blood ? afterdialysis.return_blood : '' }}</div>
624 626
                     </td>
625 627
                     <td width="10">ml</td>
626 628
                     <td width="30"></td>
627 629
                     <td width="50">补液量:</td>
628 630
                     <td width="50">
629
-                        <div class="under-line">&nbsp;</div>
631
+                        <div class="under-line">&nbsp;{{ afterdialysis.rehydration_volume ? afterdialysis.rehydration_volume : "" }}</div>
630 632
                     </td>
631 633
                     <td width="10">ml</td>
632 634
                     <td width="30"></td>
633 635
                     <td width="100">透析中进食量:</td>
634 636
                     <td width="50">
635
-                        <div class="under-line">&nbsp;</div>
637
+                        <div class="under-line">&nbsp;{{ afterdialysis.dialysis_during ? afterdialysis.dialysis_during : "" }}</div>
636 638
                     </td>
637 639
                     <td width="10">ml</td>
638 640
                     <td width="30"></td>
639 641
                     <td width="40">出量:</td>
640 642
                     <td width="50">
641
-                        <div class="under-line">&nbsp;</div>
643
+                        <div class="under-line">&nbsp;{{ afterdialysis.stroke_volume ? afterdialysis.stroke_volume : "" }}</div>
642 644
                     </td>
643 645
                     <td width="10">ml</td>
644 646
                     <td></td>
@@ -748,9 +750,9 @@
748 750
                       <td width="30"></td>
749 751
                       <td width="50">血流量:</td>
750 752
                       <td width="160">
751
-                        <label-box :isChecked="false" showValue="充足"></label-box>&nbsp;
752
-                        <label-box :isChecked="false" showValue="一般"></label-box>&nbsp;
753
-                        <label-box :isChecked="false" showValue="差"></label-box>&nbsp;
753
+                        <label-box :isChecked="afterdialysis.blood_flow ? afterdialysis.blood_flow == 1 : false" showValue="充足"></label-box>&nbsp;
754
+                        <label-box :isChecked="afterdialysis.blood_flow ? afterdialysis.blood_flow == 2 : false" showValue="一般"></label-box>&nbsp;
755
+                        <label-box :isChecked="afterdialysis.blood_flow ? afterdialysis.blood_flow == 3 : false" showValue="差"></label-box>&nbsp;
754 756
                       </td>
755 757
                       <td></td>
756 758
                   </tr>
@@ -761,12 +763,12 @@
761 763
                   <tr>
762 764
                       <td width="80">封管液配置:</td>
763 765
                       <td width="160">
764
-                        <label-box :isChecked="false" showValue="常规(肝素/NS)1:1"></label-box>&nbsp;
766
+                        <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? afterdialysis.sealing_fluid_dispose == 1 : false" showValue="常规(肝素/NS)1:1"></label-box>&nbsp;
765 767
                       </td>
766 768
                       <td width="30"></td>
767 769
                       <td width="40">特殊:</td>
768 770
                       <td width="140">
769
-                        <div class="under-line">&nbsp;</div>
771
+                        <div class="under-line">&nbsp;<span v-if="afterdialysis.sealing_fluid_dispose == 2">{{ afterdialysis.sealing_fluid_special ? afterdialysis.sealing_fluid_special : '' }}</span></div>
770 772
                       </td>
771 773
                       <td width="30"></td>
772 774
                       <td width="50">封管量:</td>
@@ -1089,6 +1091,16 @@ export default {
1089 1091
     };
1090 1092
   },
1091 1093
   methods: {
1094
+    getHumorExcessiveSymptom(val){
1095
+      const humor_excessive_symptom = getDataConfig("hemodialysis", "humor_excessive_symptom");
1096
+
1097
+      for (let i = 0; i < humor_excessive_symptom.length; i++) {
1098
+        if (humor_excessive_symptom[i].id == val) {
1099
+          humor_excessive_symptom_name = humor_excessive_symptom[i].name;
1100
+        }
1101
+      }
1102
+      return humor_excessive_symptom_name;
1103
+    },
1092 1104
     QueryPartById: function(val) {
1093 1105
       let vascular_access_part_name = "/";
1094 1106
       const vascular_access = getDataConfig("hemodialysis", "vascular_access");