Browse Source

12月30日 打印单

yq1 3 months ago
parent
commit
c82f7f4702

+ 26 - 24
src/pages/main/template/DialysisPrintOrderServentyFour.vue View File

@@ -71,31 +71,32 @@
71 71
               <td colspan="3">
72 72
                 <div style="display: flex;line-height:30px;">
73 73
                   <span>治疗抗凝:</span>
74
-                  <span v-if="prescription.anticoagulant !='普通肝素' && prescription.anticoagulant!='无肝素' && prescription.anticoagulant!='枸橼酸'">
75
-                    {{ prescription.anticoagulant }} &nbsp;&nbsp;
74
+                  <span v-if="prescription.anticoagulant_name !='普通肝素' && prescription.anticoagulant_name !='无肝素' &&
75
+                   prescription.anticoagulant_name!='枸橼酸'">
76
+                    {{ prescription.anticoagulant_name }} &nbsp;&nbsp;
76 77
                     {{prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
77 78
                   </span>U&nbsp;&nbsp;
78 79
                   <!-- <span v-if="prescription.anticoagulant !='普通肝素' && prescription.anticoagulant!='无肝素' && prescription.anticoagulant!='枸橼酸'">
79 80
 
80 81
                   </span>U &nbsp;&nbsp; -->
81
-                  <label-box :isChecked="prescription.anticoagulant=='普通肝素'?true :false" showValue="普通肝素:"></label-box>&nbsp;&nbsp;
82
+                  <label-box :isChecked="prescription.anticoagulant_name=='普通肝素'?true :false" showValue="普通肝素:"></label-box>&nbsp;&nbsp;
82 83
                   <div style="display: inline-block;">
83 84
                     首剂:
84
-                    <span v-if="prescription.anticoagulant=='普通肝素'">
85
+                    <span v-if="prescription.anticoagulant_name=='普通肝素'">
85 86
                       {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "0" }}
86 87
                     </span>mg &nbsp;&nbsp;
87 88
                     追加:
88
-                    <span v-if="prescription.anticoagulant=='普通肝素'">
89
+                    <span v-if="prescription.anticoagulant_name=='普通肝素'">
89 90
                       {{prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "0"}}
90 91
                     </span>mg/h &nbsp;&nbsp;
91 92
                     总量:
92
-                    <span v-if="prescription.anticoagulant=='普通肝素'">
93
+                    <span v-if="prescription.anticoagulant_name=='普通肝素'">
93 94
                       {{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
94 95
                     </span>mg
95 96
                   </div>
96 97
                   &nbsp;&nbsp;
97
-                  <label-box :isChecked="prescription.anticoagulant=='无肝素'?true :false" showValue="无肝素"></label-box>&nbsp;&nbsp;
98
-                  <label-box :isChecked="prescription.anticoagulant=='枸橼酸'?true :false" showValue="枸橼酸"></label-box>
98
+                  <label-box :isChecked="prescription.anticoagulant_name=='无肝素'?true :false" showValue="无肝素"></label-box>&nbsp;&nbsp;
99
+                  <label-box :isChecked="prescription.anticoagulant_name=='枸橼酸'?true :false" showValue="枸橼酸"></label-box>
99 100
                 </div>
100 101
               </td>
101 102
             </tr>
@@ -103,7 +104,8 @@
103 104
             <tr>
104 105
               <td colspan="2">
105 106
                 <div style="line-height:30px;">
106
-                 <span>处方脱水量: {{ prescription.prescription_water ? prescription.prescription_water : "" }} </span>ml &nbsp;&nbsp;
107
+                  <span v-if="org_id != 9779">处方脱水量: {{ prescription.prescription_water ? prescription.prescription_water : "" }} ml&nbsp;&nbsp;</span> 
108
+                  <span v-if="org_id == 9779">目标脱水量:{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} L&nbsp;&nbsp;</span>
107 109
                  <span>透析液流量: {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} </span>ml/h
108 110
                 </div>
109 111
               </td>
@@ -117,13 +119,12 @@
117 119
                 </span>
118 120
               </td>
119 121
             </tr>
120
-
121 122
           </tbody>
122 123
         </table>
123 124
         <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;">
124 125
           <tr>
125 126
             <td style="width: 20%; line-height: 30px;">透析机:
126
-              {{predialysis.machine_type ? predialysis.machine_type : " "}}
127
+              {{predialysis.machine_type ? predialysis.machine_type : "/"}}
127 128
             </td>
128 129
             <td style="width: 30%;line-height: 30px;">
129 130
               透析(滤)器:
@@ -158,14 +159,14 @@
158 159
             <td colspan="3">
159 160
               <div style="display: inline-block;line-height: 30px;">
160 161
                 血管通路:
161
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
162
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
163
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
164
-                <label-box :isChecked="predialysis.blood_access_part_opera_name!='内瘘' &&
165
-                            predialysis.blood_access_part_opera_name!='长期静脉导管' &&
166
-                            predialysis.blood_access_part_opera_name!='临时静脉导管' &&
167
-                            predialysis.blood_access_part_opera_name!=''?true :false" showValue="其它">
162
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘') !=-1?true :false" showValue="内瘘"></label-box>&nbsp;
163
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期静脉导管') !=-1?true :false" showValue="长期静脉导管"></label-box>&nbsp;
164
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('临时静脉导管') !=-1?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
165
+                <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('内瘘')==-1 &&
166
+                            predialysis.blood_access_part_opera_name.indexOf('长期静脉导管')==-1 &&
167
+                            predialysis.blood_access_part_opera_name.indexOf('临时静脉导管')==-1 ?true :false" showValue="其它">
168 168
                 </label-box>
169
+                {{ predialysis.blood_access_part_opera_name }}
169 170
               </div>&nbsp;&nbsp;
170 171
               <div style="display: inline-block;line-height: 30px;">
171 172
                 穿刺者:
@@ -695,6 +696,7 @@ export default {
695 696
           var dialysisorder = response.data.data.dialysisOrder;
696 697
           this.lastWeight = response.data.data.lastWeight
697 698
           this.dialysisorder = dialysisorder;
699
+          console.log('response.data.data',response.data.data)
698 700
           console.log("上机", dialysisorder);
699 701
           var check = response.data.data.check;
700 702
           console.log("核对这", check);
@@ -787,12 +789,12 @@ export default {
787 789
 
788 790
           var prescription = response.data.data.dialysisPrescription;
789 791
 
790
-          if (prescription.anticoagulant == 6) {
791
-            prescription.anticoagulant = "低分子肝素钙";
792
-          }
793
-          if (prescription.anticoagulant == 7) {
794
-            prescription.anticoagulant = "低分子肝素钠";
795
-          }
792
+          // if (prescription.anticoagulant == 6) {
793
+          //   prescription.anticoagulant = "低分子肝素钙";
794
+          // }
795
+          // if (prescription.anticoagulant == 7) {
796
+          //   prescription.anticoagulant = "低分子肝素钠";
797
+          // }
796 798
 
797 799
           this.prescription = prescription;
798 800
           console.log("透析处方", this.prescription);

+ 2 - 3
src/pages/main/template/DialysisPrintOrderSeventyeight.vue View File

@@ -452,7 +452,7 @@
452 452
                   <div class="inline_block" style="flex: 1">
453 453
                     处方脱水量:
454 454
                     <div class="under_line" style="width: 50px; text-align: center">
455
-                      {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "/" }}
455
+                      {{ prescription.prescription_water ? prescription.prescription_water : "/" }}
456 456
                     </div>L
457 457
                   </div>
458 458
                   <div class="inline_block" style="flex: 1">
@@ -1328,7 +1328,7 @@ export default {
1328 1328
         ) {
1329 1329
           const obj21 = "体重减少"
1330 1330
           checkDate.push(obj21)
1331
-        } if (this.prescription.target_ultrafiltration == 0) {
1331
+        } if (this.prescription.prescription_water == 0) {
1332 1332
           const obj22 = "处方脱水量"
1333 1333
           checkDate.push(obj22)
1334 1334
         } if (this.afterdialysis.actual_ultrafiltration == 0) {
@@ -1491,7 +1491,6 @@ export default {
1491 1491
               if(this.dialysisOrder.end_time >= this.monitors[i].operate_time && 
1492 1492
                 this.monitors[i].dispose.indexOf('停') <=-1 && this.monitors[i].ultrafiltration_rate!=0
1493 1493
               ){
1494
-                  console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
1495 1494
                 if(this.monitors[i].blood_flow_volume ==0 ){
1496 1495
                   const obj55 = '监测第'+((i*1)+1)+'行血流量'
1497 1496
                   checkDate.push(obj55)

+ 6 - 11
src/pages/main/template/DialysisPrintOrderThirtyTwo.vue View File

@@ -201,14 +201,8 @@
201 201
                 <tr>
202 202
                   <td width="70">导管口:</td>
203 203
                   <td width="240">
204
-                    <div style="display:flex;justify-content:space-between;">
205
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-干洁') > -1 ? true : false" showValue="干洁"></label-box>
206
-                      &nbsp;
207
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-红肿') > -1 ? true : false" showValue="红肿"></label-box>
208
-                      &nbsp;
209
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-分泌物') > -1 ? true : false" showValue="分泌物"></label-box>
210
-                      &nbsp;
211
-                      <label-box :isChecked="predialysis.catheter.indexOf('穿刺口-渗血') > -1 ? true : false" showValue="渗血"></label-box>
204
+                    <div class="under-line" style="text-align: center;">
205
+                      {{ predialysis.catheter ? predialysis.catheter :'/' }}
212 206
                     </div>
213 207
                   </td>
214 208
                   <td width="40"></td>
@@ -785,9 +779,10 @@
785 779
                   <tr>
786 780
                     <td width="130">拔针后穿刺点渗血:</td>
787 781
                     <td width="80">
788
-                      <div style="display:flex;justify-content:space-between;">
789
-                        <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 1 ? true : false" showValue="有"></label-box>
790
-                        <label-box :isChecked="afterdialysis.puncture_point_oozing_blood == 2 ? true : false" showValue="无"></label-box>
782
+                      <div class="under-line" style="text-align: center;">
783
+                        <span v-if="afterdialysis.puncture_point_oozing_blood ==1">有</span>
784
+                        <span v-else-if="afterdialysis.puncture_point_oozing_blood ==2">无</span>
785
+                        <span v-else>/</span>
791 786
                       </div>
792 787
                     </td>
793 788
                     <td width="10"></td>