Browse Source

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

28169 8 months ago
parent
commit
b42d4c8d32

+ 4 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfive.vue View File

@@ -815,6 +815,7 @@
815 815
                   <td width="50">UFR<br/>ml/h</td>
816 816
                   <td width="50">UF<br/>ml</td>
817 817
                   <td width="65">剩余肝素<br/>ml</td>
818
+                  <td width="65" v-if="record.prescription.mode_id == 2">置换液量<br/>L</td>
818 819
                   <td width="200">病情变化</td>
819 820
                 </tr>
820 821
                 <tr v-for="(monitor_record, j) in record.monitor_records" :key="j" >
@@ -877,6 +878,9 @@
877 878
                     {{ monitor_record.heparin_one?monitor_record.heparin_one:"/" }}
878 879
 
879 880
                   </td>
881
+                  <td width="65" v-if="record.prescription.mode_id == 2">
882
+                    {{monitor_record.displacement_quantity ? monitor_record.displacement_quantity : '/'}}
883
+                  </td>
880 884
                   <td width="200">
881 885
                     <template
882 886
                       v-if="

+ 15 - 15
src/xt_pages/dialysis/batch_print/batch_print_order_seventynine.vue View File

@@ -26,7 +26,7 @@
26 26
               <table border="1" class="table-box" style="border-collapse: collapse;text-align: center;width: 100%;">
27 27
                 <tbody>
28 28
                   <tr>
29
-                    <td width="80" style="line-height:30px;">治疗日期: 
29
+                    <td width="80" style="line-height:30px;">治疗日期:
30 30
                       {{ getTime(record.schedule_date, "{y}年{m}月{d}日") }}
31 31
                     </td>
32 32
                   </tr>
@@ -50,7 +50,7 @@
50 50
                             record.dialysis_order.device_number.number.length >
51 51
                               0
52 52
                               ? record.dialysis_order.device_number.number
53
-                              : record.device_number.number 
53
+                              : record.device_number.number
54 54
                           }}
55 55
                         </div>
56 56
                       </div>
@@ -98,7 +98,7 @@
98 98
                           {{ anticoagulantName(record.prescription) }} &nbsp;&nbsp;
99 99
                           {{record.prescription.anticoagulant_zongliang ? record.prescription.anticoagulant_zongliang : "0"}}
100 100
                         </span>U&nbsp;&nbsp;
101
-                        
101
+
102 102
                         <label-box :isChecked="record.prescription.anticoagulant==2 ? true :false" showValue="普通肝素:"></label-box>&nbsp;&nbsp;
103 103
                         <div style="display: inline-block;">
104 104
                           首剂:
@@ -149,16 +149,16 @@
149 149
                   </td>
150 150
                   <td style="width: 30%;line-height: 30px;">
151 151
                     透析(滤)器:
152
-                    
152
+
153 153
                     {{ record.prescription.dialysis_dialyszers ? record.prescription.dialysis_dialyszers : "" }}
154 154
 
155 155
                     {{ record.prescription.dialysis_strainer ? record.prescription.dialysis_strainer : "" }}
156 156
                   </td>
157 157
                   <td style="">
158 158
                     透析液:钾:
159
-                    <span style="">2.0</span>mmol/L&nbsp; 
159
+                    <span style="">2.0</span>mmol/L&nbsp;
160 160
                     钙:
161
-                    <span style="">1.5</span>mmol/L&nbsp; 
161
+                    <span style="">1.5</span>mmol/L&nbsp;
162 162
                     碳酸氢盐:
163 163
                     <span >32</span>mmol/L&nbsp;
164 164
                     钠:
@@ -205,8 +205,8 @@
205 205
                   </tr>
206 206
                   <tr>
207 207
                     <td rowspan="2">时间</td>
208
-                    <td colspan="4">透析参数</td>
209
-                    <td colspan="5">生命体征</td>
208
+                    <td colspan="5">透析参数</td>
209
+                    <td colspan="2">生命体征</td>
210 210
                     <td colspan="2">治疗中病情变化</td>
211 211
                   </tr>
212 212
                   <tr>
@@ -215,7 +215,7 @@
215 215
                     <td>静脉压<br/>mmHg</td>
216 216
                     <td>血流量<br/>ml/min</td>
217 217
                     <td>脱水量<br/>ml</td>
218
-                    <td>超滤率<br/>ml/h</td>
218
+                    <!-- <td>超滤率<br/>ml/h</td> -->
219 219
                     <td>HR<br/>bpm</td>
220 220
                     <!-- <td>R<br/>bpm</td> -->
221 221
                     <td>BP<br/>mmHg</td>
@@ -232,7 +232,7 @@
232 232
                     <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
233 233
                     <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
234 234
                     <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/"}}</td>
235
-                    <td>{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td>
235
+                    <!-- <td>{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td> -->
236 236
                     <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
237 237
                     <!-- <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td> -->
238 238
                     <td>{{
@@ -279,7 +279,7 @@
279 279
                           record.lastafterweight.weight_after
280 280
                           ).toFixed(1)
281 281
                           : '未称重'
282
-                          }}kg 
282
+                          }}kg
283 283
                       </td>
284 284
                     </tr>
285 285
 
@@ -476,7 +476,7 @@
476 476
         },
477 477
         lastAfterWeight: '',
478 478
         displaceLiquiPartOptions: [],
479
-        
479
+
480 480
       }
481 481
     },
482 482
     created() {
@@ -566,7 +566,7 @@
566 566
               }
567 567
 
568 568
               var delghTwo = 0
569
-              
569
+
570 570
               if (
571 571
                 this.records[recordIndex].advices &&
572 572
                 this.records[recordIndex].advices.length < 13
@@ -575,7 +575,7 @@
575 575
               } else {
576 576
                 delghTwo = 0
577 577
               }
578
-              
578
+
579 579
               if (delghTwo > 0) {
580 580
                 if (
581 581
                   typeof this.records[recordIndex].advices === 'undefined' ||
@@ -803,7 +803,7 @@
803 803
           return ''
804 804
         }
805 805
         if (key[id] in this.operatorMaps) {
806
-          
806
+
807 807
           return this.operatorMaps[key[id]].es_url
808 808
         } else {
809 809
           return ''

+ 25 - 16
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue View File

@@ -25,7 +25,7 @@
25 25
                   </div>
26 26
                   <div style="flex: 1;">
27 27
                     透析机号:
28
-                    <!-- {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }} -->
28
+                    {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
29 29
                   </div>
30 30
                 </div>
31 31
               </td>
@@ -151,13 +151,14 @@
151 151
             <td colspan="3">
152 152
               <div style="display: inline-block;line-height: 30px;">
153 153
                 血管通路:
154
-                <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
154
+                <!-- <label-box :isChecked="predialysis.blood_access_part_opera_name=='内瘘'?true :false" showValue="内瘘"></label-box>&nbsp;
155 155
                 <label-box :isChecked="predialysis.blood_access_part_opera_name=='长期静脉导管'?true :false" showValue="长期静脉导管"></label-box>&nbsp;
156 156
                 <label-box :isChecked="predialysis.blood_access_part_opera_name=='临时静脉导管'?true :false" showValue="临时(颈、股)静脉导管"></label-box>&nbsp;
157 157
                 <label-box :isChecked="predialysis.blood_access_part_opera_name!='内瘘' &&
158 158
                             predialysis.blood_access_part_opera_name!='长期静脉导管' &&
159 159
                             predialysis.blood_access_part_opera_name!='临时静脉导管'?true :false" showValue="其它">
160
-                </label-box>
160
+                </label-box> -->
161
+                {{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name :'/' }}
161 162
               </div>&nbsp;&nbsp;
162 163
               <div style="display: inline-block;line-height: 30px;">
163 164
                 穿刺者:
@@ -179,7 +180,7 @@
179 180
             <tr>
180 181
               <td rowspan="2">时间</td>
181 182
               <td colspan="5">透析参数</td>
182
-              <td colspan="3">生命体征</td>
183
+              <td colspan="2">生命体征</td>
183 184
               <td colspan="2">治疗中病情变化</td>
184 185
             </tr>
185 186
             <tr>
@@ -188,7 +189,7 @@
188 189
               <td>静脉压<br/>mmHg</td>
189 190
               <td>血流量<br/>ml/min</td>
190 191
               <td>脱水量<br/>ml</td>
191
-              <td>超滤率<br/>ml/h</td>
192
+              <!-- <td>超滤率<br/>ml/h</td> -->
192 193
               <td>HR<br/>bpm</td>
193 194
               <!-- <td>R<br/>bpm</td> -->
194 195
               <td>BP<br/>mmHg</td>
@@ -206,7 +207,7 @@
206 207
               <td>{{ monitor.venous_pressure ? monitor.venous_pressure : "/" }}</td>
207 208
               <td>{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "/" }}</td>
208 209
               <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/"}}</td>
209
-              <td>{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td>
210
+              <!-- <td>{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "/" }}</td> -->
210 211
               <td>{{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}</td>
211 212
               <!-- <td>{{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}</td> -->
212 213
               <td>{{
@@ -1116,11 +1117,14 @@ export default {
1116 1117
             }
1117 1118
           }
1118 1119
           console.log(this.advice_groups);
1119
-          var doctorAdevieInfo = response.data.data.advices;
1120
-          var tableAdvice = doctorAdevieInfo;
1120
+          
1121
+          var advices = response.data.data.advices;
1122
+          var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1123
+          var tableAdvice = advices.concat(doctorAdevieInfo);
1124
+          console.log('tableAdvice',tableAdvice);
1121 1125
           console.log('response.data.data', response.data.data)
1122 1126
           if (tableAdvice.length === 0) {
1123
-            console.log('1111111');
1127
+            console.log('1111111',tableAdvice.length);
1124 1128
             var obj = { advice_name: "", start_time: "" };
1125 1129
             var obj1 = { advice_name: "", start_time: "" };
1126 1130
             var obj2 = { advice_name: "", start_time: "" };
@@ -1141,7 +1145,7 @@ export default {
1141 1145
             return this.tableAdvice
1142 1146
           }
1143 1147
           if (tableAdvice.length === 1) {
1144
-            console.log('2222222');
1148
+            console.log('2222222',tableAdvice.length);
1145 1149
             var obj = { advice_name: "", start_time: "" };
1146 1150
             var obj1 = { advice_name: "", start_time: "" };
1147 1151
             var obj2 = { advice_name: "", start_time: "" };
@@ -1177,7 +1181,7 @@ export default {
1177 1181
             // return this.tableAdvice
1178 1182
           }
1179 1183
           if (tableAdvice.length === 3) {
1180
-            console.log('444444');
1184
+            console.log('444444',tableAdvice.length);
1181 1185
             var obj = { advice_name: "", start_time: "" };
1182 1186
             var obj1 = { advice_name: "", start_time: "" };
1183 1187
             var obj2 = { advice_name: "", start_time: "" };
@@ -1192,7 +1196,7 @@ export default {
1192 1196
             // return this.tableAdvice
1193 1197
           }
1194 1198
           if (tableAdvice.length === 4) {
1195
-            console.log('5555555');
1199
+            console.log('5555555',tableAdvice.length);
1196 1200
             var obj = { advice_name: "", start_time: "" };
1197 1201
             var obj1 = { advice_name: "", start_time: "" };
1198 1202
             var obj2 = { advice_name: "", start_time: "" };
@@ -1205,7 +1209,7 @@ export default {
1205 1209
             // return this.tableAdvice
1206 1210
           }
1207 1211
           if (tableAdvice.length === 5) {
1208
-            console.log('6666666');
1212
+            console.log('6666666',tableAdvice.length);
1209 1213
             var obj = { advice_name: "", start_time: "" };
1210 1214
             var obj1 = { advice_name: "", start_time: "" };
1211 1215
             var obj2 = { advice_name: "", start_time: "" };
@@ -1217,12 +1221,17 @@ export default {
1217 1221
             this.tableAdvice = tableAdvice;
1218 1222
             // return this.tableAdvice
1219 1223
           }
1224
+          if (tableAdvice.length === 6) {
1225
+            console.log('6666666',tableAdvice.length);
1226
+            var obj = { advice_name: "", start_time: "" };
1227
+            tableAdvice.push(obj);
1228
+
1229
+            this.tableAdvice = tableAdvice;
1230
+            // return this.tableAdvice
1231
+          }
1220 1232
 
1221 1233
           if (tableAdvice.length >7) {
1222 1234
             console.log('777777',tableAdvice);
1223
-            // var obj = { advice_name: "", start_time: "" };
1224
-
1225
-            // tableAdvice.push(obj);
1226 1235
             this.tableAdvice = tableAdvice;
1227 1236
 
1228 1237
           }

+ 9 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -308,11 +308,11 @@
308 308
                       <div
309 309
                         class="under_line"
310 310
                         style="width: 100px; text-align: center"
311
-                        v-if="predialysis&&predialysis.puncture_way == ''"
311
+                        
312 312
                       >
313
-                         /
313
+                        {{predialysis.puncture_way ? predialysis.puncture_way : '/'}}
314 314
                       </div>
315
-                      <div
315
+                      <!-- <div
316 316
                         class="under_line"
317 317
                         style="width: 100px; text-align: center"
318 318
                         v-if="predialysis&&predialysis.puncture_way.indexOf('绳梯') > -1"
@@ -332,7 +332,7 @@
332 332
                         v-if="predialysis&&predialysis.puncture_way.indexOf('区域') > -1"
333 333
                       >
334 334
                         区域
335
-                      </div>
335
+                      </div> -->
336 336
                     </div>
337 337
                     <div
338 338
                       class="inline_block"
@@ -343,16 +343,16 @@
343 343
                       <div
344 344
                         class="under_line"
345 345
                         style="width: 100px; text-align: center"
346
-                        v-if="predialysis&&predialysis.puncture_way == ''"
346
+                        
347 347
                       >
348
-                         /
348
+                         {{predialysis.puncture_way ? predialysis.puncture_way : '/'}}
349 349
                       </div>
350
-                      <div
350
+                      <!-- <div
351 351
                         class="under_line"
352 352
                         style="width: 100px; text-align: center"
353 353
                         v-if="predialysis&&predialysis.puncture_way.indexOf('绳梯') > -1"
354 354
                       >
355
-                        绳梯
355
+                        {{}}
356 356
                       </div>
357 357
                       <div
358 358
                         class="under_line"
@@ -367,7 +367,7 @@
367 367
                         v-if="predialysis&&predialysis.puncture_way.indexOf('区域') > -1"
368 368
                       >
369 369
                         区域
370
-                      </div>
370
+                      </div> -->
371 371
                     </div>
372 372
                     <div
373 373
                       class="inline_block"

+ 5 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue View File

@@ -549,6 +549,7 @@
549 549
                 <td width="50">UFR<br/>ml/h</td>
550 550
                 <td width="50">UF<br/>ml</td>
551 551
                 <td width="65">剩余肝素<br/>ml</td>
552
+                <td width="65" v-if="prescription.mode == 'HDF'">置换液量<br/>L</td>
552 553
                 <td width="200">病情变化</td>
553 554
               </tr>
554 555
               <tr v-for="(monitor, monindex) in monitors" :key="monindex" style="padding: 5px 0;line-height: 35px;">
@@ -609,6 +610,10 @@
609 610
                     <!-- {{ monitor.heparin?monitor.heparin:"" }} -->
610 611
                       {{ monitor.heparin_one?monitor.heparin_one:"/" }}
611 612
                 </td>
613
+                <!--  -->
614
+                <td width="65" v-if="prescription.mode == 'HDF'">
615
+                  {{monitor.displacement_quantity ? monitor.displacement_quantity : '/'}}
616
+                </td>
612 617
                 <td width="200">
613 618
                   <template v-if=" (dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">
614 619
                     【开始透析】 <span v-if="org_id ==10598">引血100ml/min</span>