huangyw 2 年前
父节点
当前提交
5b86b14014

+ 14 - 99
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue 查看文件

1007
                         }}
1007
                         }}
1008
                       </div>
1008
                       </div>
1009
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1009
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1010
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
1010
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1011
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1011
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1012
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1012
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1013
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1014
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
1013
                     </div>
1015
                     </div>
1014
                     <div class="inline_block" style="margin-left: 20px">
1016
                     <div class="inline_block" style="margin-left: 20px">
1015
                       维持:
1017
                       维持:
1035
                             : "0"
1037
                             : "0"
1036
                         }}
1038
                         }}
1037
                       </div>
1039
                       </div>
1040
+                      <span v-if="prescription.anticoagulant == 7">iu/h</span>
1041
+                      <span v-if="prescription.anticoagulant == 6">iu/h</span>
1038
                       <span v-if="prescription.anticoagulant == 5">ml/h</span>
1042
                       <span v-if="prescription.anticoagulant == 5">ml/h</span>
1039
                       <span v-if="prescription.anticoagulant == 4">mg/h</span>
1043
                       <span v-if="prescription.anticoagulant == 4">mg/h</span>
1040
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
1044
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
1092
                             : "/"
1096
                             : "/"
1093
                         }}
1097
                         }}
1094
                       </div>
1098
                       </div>
1099
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
1100
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
1095
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1101
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1096
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1102
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1097
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1103
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1166
                       <tr>
1172
                       <tr>
1167
                         <td width="60">时间</td>
1173
                         <td width="60">时间</td>
1168
                         <td width="60">体温<br />(℃)</td>
1174
                         <td width="60">体温<br />(℃)</td>
1169
-                        <td width="60">血压<br />(mmHg)</td>
1175
+                        <td width="70">血压<br />(mmHg)</td>
1170
                         <td width="50">脉搏<br />(次/分)</td>
1176
                         <td width="50">脉搏<br />(次/分)</td>
1171
                         <td width="50">呼吸<br />(次/分)</td>
1177
                         <td width="50">呼吸<br />(次/分)</td>
1172
                         <td width="50">血流量<br />(ml/min)</td>
1178
                         <td width="50">血流量<br />(ml/min)</td>
1237
                         :key="monindex"
1243
                         :key="monindex"
1238
                       >
1244
                       >
1239
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1245
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1246
+                        <td>
1247
+                          {{ monitor.temperature ? monitor.temperature : "" }}
1248
+                        </td>
1240
                         <td>
1249
                         <td>
1241
                           {{
1250
                           {{
1242
                             monitor.systolic_blood_pressure
1251
                             monitor.systolic_blood_pressure
1249
                               : ""
1258
                               : ""
1250
                           }}
1259
                           }}
1251
                         </td>
1260
                         </td>
1252
-                        <td>
1253
-                          {{ monitor.temperature ? monitor.temperature : "" }}
1254
-                        </td>
1261
+                        
1255
                         <td>
1262
                         <td>
1256
                           {{
1263
                           {{
1257
                             monitor.pulse_frequency
1264
                             monitor.pulse_frequency
3139
         for (let index = 0; index < this.monitors.length; index++) {
3146
         for (let index = 0; index < this.monitors.length; index++) {
3140
           const monitor = this.monitors[index];
3147
           const monitor = this.monitors[index];
3141
           this.monitors[index].end = "";
3148
           this.monitors[index].end = "";
3142
-          if (Object.keys(monitor).length > 0 && index >= 1) {
3149
+          if (Object.keys(monitor).length > 0 && index > 1) {
3143
             if (
3150
             if (
3144
               this.dialysisOrder &&
3151
               this.dialysisOrder &&
3145
               monitor.operate_time == this.dialysisOrder.end_time
3152
               monitor.operate_time == this.dialysisOrder.end_time
3146
             ) {
3153
             ) {
3147
               this.monitors[index].end = "【结束透析】";
3154
               this.monitors[index].end = "【结束透析】";
3148
-
3149
               tempmonitorflag = false;
3155
               tempmonitorflag = false;
3150
             }
3156
             }
3151
-            if (tempmonitorflag == false && index == this.monitors.length - 1) {
3157
+            if (tempmonitorflag && index == this.monitors.length - 1) {
3152
               this.monitors[index].end = "【结束透析】";
3158
               this.monitors[index].end = "【结束透析】";
3153
             }
3159
             }
3154
           }
3160
           }
3217
           this.doctor_advices[index]["isShow"] = 2;
3223
           this.doctor_advices[index]["isShow"] = 2;
3218
         }
3224
         }
3219
 
3225
 
3220
-        // if (this.doctor_advices.length > 0) {
3221
-        //   var group = this.newAdviceGroupObject()
3222
-        //   var initGroupBlock = function(group, advice) {
3223
-        //     group.group_no = advice.groupno
3224
-        //   }
3225
-        //   for (let index = this.doctor_advices.length - 1; index >= 0; index--) {
3226
-        //     var new_advice_index = 0
3227
-
3228
-        //     if ('children' in this.doctor_advices[index] && this.doctor_advices[index].children.length > 0) {
3229
-        //       new_advice_index = index + this.doctor_advices[index].children.length + 1
3230
-
3231
-        //       var doctor_advice = {
3232
-        //         delivery_way: this.doctor_advices[index].delivery_way,
3233
-        //         execution_frequency: this.doctor_advices[index].execution_frequency,
3234
-        //         groupno: this.doctor_advices[index].groupno,
3235
-        //         id: this.doctor_advices[index].id,
3236
-        //         parent_id: this.doctor_advices[index].parent_id,
3237
-        //         children: this.doctor_advices[index].children,
3238
-        //         remark: this.doctor_advices[index].remark,
3239
-        //         execution_staff: this.doctor_advices[index].execution_staff,
3240
-        //         checker: this.doctor_advices[index].checker,
3241
-        //         execution_time: this.doctor_advices[index].execution_time,
3242
-        //         advice_doctor: this.doctor_advices[index].advice_doctor
3243
-
3244
-        //       }
3245
-        //       doctor_advice['isShow'] = 1
3246
-        //       this.doctor_advices.splice(new_advice_index, 0, doctor_advice)
3247
-        //       // this.doctor_advices.push(doctor_advice)
3248
-        //     }
3249
-        //   }
3250
-
3251
-        //   for (let index = 0; index < this.doctor_advices.length; index++) {
3252
-        //     const advice = this.doctor_advices[index]
3253
-        //     if (advice.groupno == 0) {
3254
-        //       // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
3255
-        //       if (advice.parent_id > 0) {
3256
-        //         if (this.advice_groups.length > 0) {
3257
-        //           var parent_group = this.advice_groups[
3258
-        //             this.advice_groups.length - 1
3259
-        //           ]
3260
-        //           if (parent_group.advices.length > 0) {
3261
-        //             if (parent_group.advices[0].id == advice.parent_id) {
3262
-        //               parent_group.advices.push(advice)
3263
-        //             }
3264
-        //           }
3265
-        //         }
3266
-        //         continue
3267
-        //       } else {
3268
-        //         if (group.group_no > 0) {
3269
-        //           this.advice_groups.push(group)
3270
-        //           group = this.newAdviceGroupObject()
3271
-        //         }
3272
-
3273
-        //         initGroupBlock(group, advice)
3274
-        //         group.advices.push(advice)
3275
-        //         this.advice_groups.push(group)
3276
-        //         group = this.newAdviceGroupObject()
3277
-        //         continue
3278
-        //       }
3279
-        //     }
3280
-
3281
-        //     if (group.group_no > 0 && group.group_no != advice.groupno) {
3282
-        //       this.advice_groups.push(group)
3283
-        //       group = this.newAdviceGroupObject()
3284
-        //     }
3285
-        //     if (group.group_no == 0) {
3286
-        //       initGroupBlock(group, advice)
3287
-        //     }
3288
-        //     if (group.group_no == advice.groupno) {
3289
-        //       group.advices.push(advice)
3290
-        //     }
3291
-        //   }
3292
-
3293
-        //   if (group.group_no > 0) {
3294
-        //     // 上述的算法会导致最后一组没有加到advice_groups,这里要手动加上
3295
-        //    this.advice_groups.push(group)
3296
-        //   }
3297
-        // }
3298
         if (this.doctor_advices.length <= 6) {
3226
         if (this.doctor_advices.length <= 6) {
3299
           var nl = 6;
3227
           var nl = 6;
3300
           this.print_length = 6;
3228
           this.print_length = 6;
3311
           }
3239
           }
3312
         }
3240
         }
3313
 
3241
 
3314
-        if (this.org_id == 10330 || this.org_id == 0 || this.org_id == 9675) {
3315
-          let newArr = [];
3316
-          this.doctor_advices.forEach((o) => {
3317
-            if (o.delivery_way && o.delivery_way != "") {
3318
-              if (o.delivery_way.indexOf("注射") > -1) {
3319
-                newArr.push(o);
3320
-              }
3321
-            }
3322
-          });
3323
-          this.doctor_advices = newArr;
3324
-        }
3325
-
3326
         this.totollength = this.doctor_advices.length + this.monitors.length;
3242
         this.totollength = this.doctor_advices.length + this.monitors.length;
3327
         if (this.totollength > 18) {
3243
         if (this.totollength > 18) {
3328
-          var temp_advice_length = 17 - this.monitors.length;
3244
+          var temp_advice_length = 14 - this.monitors.length;
3329
           var doctor_advices_1 = [];
3245
           var doctor_advices_1 = [];
3330
           var doctor_advices_2 = [];
3246
           var doctor_advices_2 = [];
3331
           for (let index = 0; index < this.doctor_advices.length; index++) {
3247
           for (let index = 0; index < this.doctor_advices.length; index++) {
3347
       }
3263
       }
3348
       // })
3264
       // })
3349
     },
3265
     },
3350
-
3351
     bloodAccessParOperaName(id) {
3266
     bloodAccessParOperaName(id) {
3352
       if (id in this.bloodAccessParOpera) {
3267
       if (id in this.bloodAccessParOpera) {
3353
         return this.bloodAccessParOpera[id].name;
3268
         return this.bloodAccessParOpera[id].name;

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

365
                     <div class="inline_block" style="flex:1;">
365
                     <div class="inline_block" style="flex:1;">
366
                       透析器/灌流器:
366
                       透析器/灌流器:
367
                       <div class="under_line" style="width: 100px;text-align: center">
367
                       <div class="under_line" style="width: 100px;text-align: center">
368
-                        {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}
369
-                        {{prescription.dialysis_dialyszers?prescription.dialysis_dialyszers:"/"}}
368
+                        {{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : "" }}&nbsp;&nbsp;
369
+                        {{prescription.dialysis_irrigation?prescription.dialysis_irrigation:""}}
370
                       </div>
370
                       </div>
371
                     </div>
371
                     </div>
372
                     <div class="inline_block" style="flex:1;" v-if="org_id == 9538">
372
                     <div class="inline_block" style="flex:1;" v-if="org_id == 9538">
537
                       </tr>
537
                       </tr>
538
                       <tr>
538
                       <tr>
539
                         <td width="60">时间</td>
539
                         <td width="60">时间</td>
540
-                        <td width="60">血压<br />(mmHg)</td>
540
+                        <td width="70">血压<br />(mmHg)</td>
541
                         <td width="60">体温<br />(°C)</td>
541
                         <td width="60">体温<br />(°C)</td>
542
                         <td width="50">脉搏<br />(次/分)</td>
542
                         <td width="50">脉搏<br />(次/分)</td>
543
                         <td width="50">呼吸<br />(次/分)</td>
543
                         <td width="50">呼吸<br />(次/分)</td>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue 查看文件

1181
                         >
1181
                         >
1182
                           置换量<br />(L)
1182
                           置换量<br />(L)
1183
                         </td>
1183
                         </td>
1184
-                        <td width="200">病情变化及处理</td>
1184
+                        <td width="210">病情变化及处理</td>
1185
 
1185
 
1186
                         <!-- <td width="100">时间</td>
1186
                         <!-- <td width="100">时间</td>
1187
                     <td width="30">T<br>C°</td>
1187
                     <td width="30">T<br>C°</td>