Selaa lähdekoodia

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

XMLWAN 2 vuotta sitten
vanhempi
commit
297b4366a6

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Näytä tiedosto

@@ -1467,7 +1467,7 @@ export default {
1467 1467
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1468 1468
       const style2 =
1469 1469
         // 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
1470
-        '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1470
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1471 1471
       const style3 =
1472 1472
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
1473 1473
       // const style3 =

+ 14 - 99
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue Näytä tiedosto

@@ -1007,9 +1007,11 @@
1007 1007
                         }}
1008 1008
                       </div>
1009 1009
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1010
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
1010 1011
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1011 1012
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1012 1013
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1014
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
1013 1015
                     </div>
1014 1016
                     <div class="inline_block" style="margin-left: 20px">
1015 1017
                       维持:
@@ -1035,6 +1037,8 @@
1035 1037
                             : "0"
1036 1038
                         }}
1037 1039
                       </div>
1040
+                      <span v-if="prescription.anticoagulant == 7">iu/h</span>
1041
+                      <span v-if="prescription.anticoagulant == 6">iu/h</span>
1038 1042
                       <span v-if="prescription.anticoagulant == 5">ml/h</span>
1039 1043
                       <span v-if="prescription.anticoagulant == 4">mg/h</span>
1040 1044
                       <span v-if="prescription.anticoagulant == 3">iu/h</span>
@@ -1092,6 +1096,8 @@
1092 1096
                             : "/"
1093 1097
                         }}
1094 1098
                       </div>
1099
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
1100
+                      <span v-if="prescription.anticoagulant == 7">iu</span>
1095 1101
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1096 1102
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1097 1103
                       <span v-if="prescription.anticoagulant == 2">mg</span>
@@ -1166,7 +1172,7 @@
1166 1172
                       <tr>
1167 1173
                         <td width="60">时间</td>
1168 1174
                         <td width="60">体温<br />(℃)</td>
1169
-                        <td width="60">血压<br />(mmHg)</td>
1175
+                        <td width="70">血压<br />(mmHg)</td>
1170 1176
                         <td width="50">脉搏<br />(次/分)</td>
1171 1177
                         <td width="50">呼吸<br />(次/分)</td>
1172 1178
                         <td width="50">血流量<br />(ml/min)</td>
@@ -1237,6 +1243,9 @@
1237 1243
                         :key="monindex"
1238 1244
                       >
1239 1245
                         <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
1246
+                        <td>
1247
+                          {{ monitor.temperature ? monitor.temperature : "" }}
1248
+                        </td>
1240 1249
                         <td>
1241 1250
                           {{
1242 1251
                             monitor.systolic_blood_pressure
@@ -1249,9 +1258,7 @@
1249 1258
                               : ""
1250 1259
                           }}
1251 1260
                         </td>
1252
-                        <td>
1253
-                          {{ monitor.temperature ? monitor.temperature : "" }}
1254
-                        </td>
1261
+                        
1255 1262
                         <td>
1256 1263
                           {{
1257 1264
                             monitor.pulse_frequency
@@ -3139,16 +3146,15 @@ export default {
3139 3146
         for (let index = 0; index < this.monitors.length; index++) {
3140 3147
           const monitor = this.monitors[index];
3141 3148
           this.monitors[index].end = "";
3142
-          if (Object.keys(monitor).length > 0 && index >= 1) {
3149
+          if (Object.keys(monitor).length > 0 && index > 1) {
3143 3150
             if (
3144 3151
               this.dialysisOrder &&
3145 3152
               monitor.operate_time == this.dialysisOrder.end_time
3146 3153
             ) {
3147 3154
               this.monitors[index].end = "【结束透析】";
3148
-
3149 3155
               tempmonitorflag = false;
3150 3156
             }
3151
-            if (tempmonitorflag == false && index == this.monitors.length - 1) {
3157
+            if (tempmonitorflag && index == this.monitors.length - 1) {
3152 3158
               this.monitors[index].end = "【结束透析】";
3153 3159
             }
3154 3160
           }
@@ -3217,84 +3223,6 @@ export default {
3217 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 3226
         if (this.doctor_advices.length <= 6) {
3299 3227
           var nl = 6;
3300 3228
           this.print_length = 6;
@@ -3311,21 +3239,9 @@ export default {
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 3242
         this.totollength = this.doctor_advices.length + this.monitors.length;
3327 3243
         if (this.totollength > 18) {
3328
-          var temp_advice_length = 17 - this.monitors.length;
3244
+          var temp_advice_length = 14 - this.monitors.length;
3329 3245
           var doctor_advices_1 = [];
3330 3246
           var doctor_advices_2 = [];
3331 3247
           for (let index = 0; index < this.doctor_advices.length; index++) {
@@ -3347,7 +3263,6 @@ export default {
3347 3263
       }
3348 3264
       // })
3349 3265
     },
3350
-
3351 3266
     bloodAccessParOperaName(id) {
3352 3267
       if (id in this.bloodAccessParOpera) {
3353 3268
         return this.bloodAccessParOpera[id].name;

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue Näytä tiedosto

@@ -365,8 +365,8 @@
365 365
                     <div class="inline_block" style="flex:1;">
366 366
                       透析器/灌流器:
367 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 370
                       </div>
371 371
                     </div>
372 372
                     <div class="inline_block" style="flex:1;" v-if="org_id == 9538">
@@ -537,7 +537,7 @@
537 537
                       </tr>
538 538
                       <tr>
539 539
                         <td width="60">时间</td>
540
-                        <td width="60">血压<br />(mmHg)</td>
540
+                        <td width="70">血压<br />(mmHg)</td>
541 541
                         <td width="60">体温<br />(°C)</td>
542 542
                         <td width="50">脉搏<br />(次/分)</td>
543 543
                         <td width="50">呼吸<br />(次/分)</td>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Näytä tiedosto

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