Browse Source

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

test_user 2 years ago
parent
commit
0545a4f323

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

@@ -47,7 +47,7 @@
47 47
                     年龄:<span
48 48
                       style="display:inline-block;margin-left:10px;"
49 49
                     >
50
-                    {{ getAge(record.patient) }}
50
+                    {{ getAge(record.patient.id_card_no) }}
51 51
                     </span>
52 52
                   </td>
53 53
                   <td style="text-align:center;width:160px">
@@ -1075,7 +1075,7 @@
1075 1075
             年龄:<span
1076 1076
               style="display:inline-block;margin-left:10px;"
1077 1077
             >
1078
-            {{ getAge(record.patient) }}
1078
+            {{ getAge(record.patient.id_card_no) }}
1079 1079
             </span>
1080 1080
           </td>
1081 1081
           <td style="text-align:center;width:160px">
@@ -1723,6 +1723,19 @@ export default {
1723 1723
         return val.age
1724 1724
       }
1725 1725
     },
1726
+    getNewAge(UUserCard) {
1727
+      if (UUserCard != null && UUserCard != '') {
1728
+        // 获取年龄
1729
+        var myDate = new Date()
1730
+        var month = myDate.getMonth() + 1
1731
+        var day = myDate.getDate()
1732
+        var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
1733
+        if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
1734
+          age++
1735
+        }
1736
+        return age
1737
+      }
1738
+    },
1726 1739
     newAdviceGroupObject: function() {
1727 1740
       return Object.assign(
1728 1741
         {},

+ 7 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue View File

@@ -1000,7 +1000,7 @@
1000 1000
                           <tr>
1001 1001
                             <td width="60">时间</td>
1002 1002
                             <td width="60">血压<br />(mmHg)</td>
1003
-                            <td width="50">体温<br />(℃)</td>
1003
+                            <!-- <td width="50">体温<br />(℃)</td> -->
1004 1004
                             <td width="50">脉搏<br />(次/分)</td>
1005 1005
                             <td width="50">呼吸<br />(次/分)</td>
1006 1006
                             <td width="50">血流量<br />(ml/min)</td>
@@ -1038,13 +1038,13 @@
1038 1038
                                   : ""
1039 1039
                               }}
1040 1040
                             </td>
1041
-                            <td>
1041
+                            <!-- <td>
1042 1042
                               {{
1043 1043
                                 monitor_record.temperature
1044 1044
                                   ? monitor_record.temperature
1045 1045
                                   : ""
1046 1046
                               }}
1047
-                            </td>
1047
+                            </td> -->
1048 1048
                             <td>
1049 1049
                               {{
1050 1050
                                 monitor_record.pulse_frequency
@@ -1158,13 +1158,16 @@
1158 1158
                                       monitor_record.operate_time ==
1159 1159
                                         record.dialysis_order.end_time
1160 1160
                                     "
1161
-                                    >【结束透析】</template
1161
+                                    >【结束透析】
1162
+                                    &nbsp; <span v-if="monitor_record.accumulated_blood_volume>0">累计血容量:{{ monitor_record.accumulated_blood_volume }}L</span>
1163
+                                    </template
1162 1164
                                   >
1163 1165
                                   {{ monitor_record.end }}
1164 1166
                                   {{ monitor_record.symptom }} &nbsp;{{
1165 1167
                                     monitor_record.dispose
1166 1168
                                   }}
1167 1169
                                   &nbsp;{{ monitor_record.result }}
1170
+                                 
1168 1171
                                 </span>
1169 1172
                               </div>
1170 1173
                             </td>

+ 14 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

@@ -28,7 +28,7 @@
28 28
               年龄:
29 29
               <span style="display:inline-block;margin-left:10px;">
30 30
                 {{
31
-                getAge(patientInfo)
31
+                getNewAge(patientInfo.id_card_no)
32 32
                 }}
33 33
               </span>
34 34
             </td>
@@ -2112,6 +2112,19 @@ export default {
2112 2112
         return ''
2113 2113
       }
2114 2114
     },
2115
+    getNewAge(UUserCard) {
2116
+      if (UUserCard != null && UUserCard != '') {
2117
+        // 获取年龄
2118
+        var myDate = new Date()
2119
+        var month = myDate.getMonth() + 1
2120
+        var day = myDate.getDate()
2121
+        var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1
2122
+        if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
2123
+          age++
2124
+        }
2125
+        return age
2126
+      }
2127
+    },
2115 2128
     newAdviceGroupObject: function() {
2116 2129
       return Object.assign(
2117 2130
         {},

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

@@ -1377,7 +1377,7 @@
1377 1377
                               <tr>
1378 1378
                                 <td width="60">时间</td>
1379 1379
                                 <td width="70">血压<br />(mmHg)</td>
1380
-                                <td width="60">体温<br />(°C)</td>
1380
+                                <!-- <td width="60">体温<br />(°C)</td> -->
1381 1381
                                 <td width="50">脉搏<br />(次/分)</td>
1382 1382
                                 <td width="50">呼吸<br />(次/分)</td>
1383 1383
                                 <td width="50">血流量<br />(ml/min)</td>
@@ -1457,13 +1457,13 @@
1457 1457
                                       : ""
1458 1458
                                   }}
1459 1459
                                 </td>
1460
-                                <td>
1460
+                                <!-- <td>
1461 1461
                                   {{
1462 1462
                                     monitor.temperature
1463 1463
                                       ? monitor.temperature
1464 1464
                                       : ""
1465 1465
                                   }}
1466
-                                </td>
1466
+                                </td> -->
1467 1467
                                 <td>
1468 1468
                                   {{
1469 1469
                                     monitor.pulse_frequency
@@ -1649,6 +1649,7 @@
1649 1649
                                         monitor.dispose
1650 1650
                                       }}
1651 1651
                                       &nbsp;{{ monitor.result }}
1652
+                                      &nbsp;{{monitor.accumulated_blood_volume_name}}
1652 1653
                                     </span>
1653 1654
                                   </div>
1654 1655
                                 </td>
@@ -3351,16 +3352,21 @@ export default {
3351 3352
         for (let index = 0; index < this.monitors.length; index++) {
3352 3353
           const monitor = this.monitors[index];
3353 3354
           this.monitors[index].end = "";
3355
+          this.monitors[index].accumulated_blood_volume_name = ""
3354 3356
           if (Object.keys(monitor).length > 0 && index > 1) {
3355 3357
             if (
3356 3358
               this.dialysisOrder &&
3357 3359
               monitor.operate_time == this.dialysisOrder.end_time
3360
+             
3358 3361
             ) {
3359 3362
               this.monitors[index].end = "【结束透析】";
3363
+              this.monitors[index].accumulated_blood_volume_name ="累计血容量:"+  this.monitors[index].accumulated_blood_volume+"L"
3360 3364
               tempmonitorflag = false;
3361 3365
             }
3362 3366
             if (tempmonitorflag && index == this.monitors.length - 1) {
3363 3367
               this.monitors[index].end = "【结束透析】";
3368
+              this.monitors[index].accumulated_blood_volume_name  = "累计血容量:"+ this.monitors[index].accumulated_blood_volume+"L"
3369
+             
3364 3370
             }
3365 3371
           }
3366 3372
         }

+ 81 - 25
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

@@ -615,6 +615,61 @@
615 615
                       </div>
616 616
                     </td>
617 617
                   </tr>
618
+
619
+                  <tr class="list_table_1" v-if="org_id == 10346 || org_id == 0">
620
+                    <td colspan="11" style="padding-left: 10px">
621
+                      <div style="display: flex; justify-content: flex-start">
622
+                        <div style="width: 100%">
623
+                          上次透后体重: 
624
+                          {{(assessmentafter.weight_after).toFixed(2)}}kg
625
+                        </div>
626
+                        <div style="width: 100%">
627
+                          透前体重: 
628
+                          {{(predialysis.weight_before).toFixed(2)}}kg
629
+                        </div>
630
+                        <div style="width: 100%">
631
+                          体重增加量:
632
+                          {{ (predialysis.weight_before -
633
+                            assessmentafter.weight_after).toFixed(2)}}kg
634
+                        </div>
635
+
636
+                        <div style="width: 100%">
637
+                          干体重(DW):
638
+                          {{(predialysis.dry_weight).toFixed(2)}}kg
639
+                        </div>
640
+                        <div style="width: 100%">
641
+                          较干体重增加量:{{(afterdialysis.weight_after - predialysis.dry_weight).toFixed(2) }}
642
+                          
643
+                        </div>
644
+
645
+                      
646
+                      </div>
647
+                    </td>
648
+                  </tr>
649
+
650
+                  <tr class="list_table_1"  v-if="org_id == 10346 || org_id == 0">
651
+                    <td colspan="11" style="padding-left: 10px">
652
+                      <div style="display: flex; justify-content: flex-start">
653
+                        <div style="width: 100%">
654
+                          机器显示脱水量:{{(afterdialysis.actual_ultrafiltration).toFixed(2) }}
655
+                        
656
+                        </div>
657
+                     
658
+                        <div style="width: 100%">
659
+                          透后体重: 
660
+                          {{(afterdialysis.weight_after).toFixed(2)}}kg
661
+                        </div>
662
+                        <div style="width: 100%">
663
+                          本次透析体重下降量: 
664
+                          {{(predialysis.weight_before -
665
+                            afterdialysis.weight_after).toFixed(2)}}kg
666
+                        </div>
667
+                       
668
+
669
+                     
670
+                      </div>
671
+                    </td>
672
+                  </tr>
618 673
                 </tbody>
619 674
               </table>
620 675
             </td>
@@ -840,6 +895,7 @@
840 895
                     }}kg
841 896
                   </td>
842 897
                 </tr>
898
+                
843 899
               </table>
844 900
             </td>
845 901
           </tr>
@@ -1213,18 +1269,18 @@
1213 1269
                   <td style="height: 20px" width="90">
1214 1270
                     <p style="height: 20px; line-height: 20px">核对</p>
1215 1271
                   </td>
1216
-                  <td style="height: 20px" width="144">
1272
+                  <!-- <td style="height: 20px" width="144">
1217 1273
                     <p style="height: 20px; line-height: 20px">上次透后体重</p>
1218
-                  </td>
1219
-                  <td style="height: 20px" width="60">
1274
+                  </td> -->
1275
+                  <!-- <td style="height: 20px" width="60">
1220 1276
                     {{
1221 1277
                       patientInfo.total_dialysis +
1222 1278
                         patientInfo.user_sys_before_count >
1223 1279
                       0
1224
-                        ? assessmentafter.weight_after
1280
+                        ? patientInfo.user_sys_before_count
1225 1281
                         : "/"
1226 1282
                     }}kg
1227
-                  </td>
1283
+                  </td> -->
1228 1284
                 </tr>
1229 1285
               </table>
1230 1286
             </td>
@@ -1327,18 +1383,18 @@
1327 1383
                     />
1328 1384
                   </td>
1329 1385
 
1330
-                  <td v-if="advice_index === 0" width="145">透前体重:</td>
1331
-                  <td v-if="advice_index === 0" width="60">
1386
+                  <!-- <td v-if="advice_index === 0" width="145">透前体重:</td> -->
1387
+                  <!-- <td v-if="advice_index === 0" width="60">
1332 1388
                     {{
1333 1389
                       patientInfo.total_dialysis +
1334 1390
                         patientInfo.user_sys_before_count >
1335 1391
                       0
1336
-                        ? predialysis.weight_before
1392
+                        ? patientInfo.user_sys_before_count
1337 1393
                         : "/"
1338 1394
                     }}kg
1339
-                  </td>
1340
-                  <td v-if="advice_index === 1" width="145">体重增加量:</td>
1341
-                  <td v-if="advice_index === 1" width="60">
1395
+                  </td> -->
1396
+                  <!-- <td v-if="advice_index === 1" width="145">体重增加量:</td> -->
1397
+                  <!-- <td v-if="advice_index === 1" width="60">
1342 1398
                     {{
1343 1399
                       assessmentafter.weight_after == 0 ||
1344 1400
                       predialysis.weight_before == 0
@@ -1348,19 +1404,19 @@
1348 1404
                             assessmentafter.weight_after
1349 1405
                           ).toFixed(2)
1350 1406
                     }}kg
1351
-                  </td>
1352
-                  <td v-if="advice_index === 2" width="145">干体重(DW):</td>
1353
-                  <td v-if="advice_index === 2" width="60">
1407
+                  </td> -->
1408
+                  <!-- <td v-if="advice_index === 2" width="145">干体重(DW):</td> -->
1409
+                  <!-- <td v-if="advice_index === 2" width="60">
1354 1410
                     {{
1355 1411
                       patientInfo.total_dialysis +
1356 1412
                         patientInfo.user_sys_before_count >
1357 1413
                       0
1358
-                        ? predialysis.dry_weight
1414
+                        ? predialysis.user_sys_before_count
1359 1415
                         : "/"
1360 1416
                     }}kg
1361
-                  </td>
1362
-                  <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
1363
-                  <td v-if="advice_index === 3" width="60">
1417
+                  </td> -->
1418
+                  <!-- <td v-if="advice_index === 3" width="145">较干体重增加量:</td> -->
1419
+                  <!-- <td v-if="advice_index === 3" width="60">
1364 1420
                     {{
1365 1421
                       patientInfo.total_dialysis +
1366 1422
                         patientInfo.user_sys_before_count >
@@ -1370,8 +1426,8 @@
1370 1426
                           ).toFixed(2)
1371 1427
                         : 0
1372 1428
                     }}kg
1373
-                  </td>
1374
-                  <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
1429
+                  </td> -->
1430
+                  <!-- <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
1375 1431
                   <td v-if="advice_index === 4" width="60">
1376 1432
                     {{
1377 1433
                       patientInfo.total_dialysis +
@@ -1380,8 +1436,8 @@
1380 1436
                         ? afterdialysis.actual_ultrafiltration
1381 1437
                         : "/"
1382 1438
                     }}ml
1383
-                  </td>
1384
-                  <td v-if="advice_index === 5" width="145">透后体重:</td>
1439
+                  </td> -->
1440
+                  <!-- <td v-if="advice_index === 5" width="145">透后体重:</td>
1385 1441
                   <td v-if="advice_index === 5" width="60">
1386 1442
                     {{
1387 1443
                       patientInfo.total_dialysis +
@@ -1404,9 +1460,9 @@
1404 1460
                             afterdialysis.weight_after
1405 1461
                           ).toFixed(2)
1406 1462
                     }}kg
1407
-                  </td>
1408
-                  <td v-if="advice_index > 6" width="145"></td>
1409
-                  <td v-if="advice_index > 6" width="60"></td>
1463
+                  </td> -->
1464
+                  <!-- <td v-if="advice_index > 6" width="145"></td>
1465
+                  <td v-if="advice_index > 6" width="60"></td> -->
1410 1466
                 </tr>
1411 1467
               </table>
1412 1468
             </td>

+ 6 - 4
src/xt_pages/workforce/components/editTableData.vue View File

@@ -3822,6 +3822,8 @@ export default {
3822 3822
 
3823 3823
       if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id == 3877 || this.$store.getters.xt_user.template_info.org_id == 10340){
3824 3824
 
3825
+      // if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id == 3877 || this.$store.getters.xt_user.template_info.org_id == 10340){
3826
+
3825 3827
         //表格某列全部数据
3826 3828
         var Mon_M = []
3827 3829
         var Mon_A = []
@@ -4435,11 +4437,11 @@ export default {
4435 4437
       }
4436 4438
       sums[22]="总人数:"+ sums[22] +"\n"+result
4437 4439
             return sums;
4438
-      }
4440
+      // }
4439 4441
 
4440
-      if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877 && this.$store.getters.xt_user.template_info.org_id != 10340){
4441
-        return sums;
4442
-      }
4442
+      // if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877 && this.$store.getters.xt_user.template_info.org_id != 10340){
4443
+      //   return sums;
4444
+      // }
4443 4445
     },
4444 4446
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
4445 4447
       var that = this;

+ 5 - 5
src/xt_pages/workforce/components/tableData.vue View File

@@ -1328,7 +1328,7 @@ export default {
1328 1328
       this.$nextTick(() => {
1329 1329
         this.$refs.table.doLayout();
1330 1330
       });
1331
-    if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id == 3877 || this.$store.getters.xt_user.template_info.org_id == 10340){
1331
+   
1332 1332
 
1333 1333
       //表格某列全部数据
1334 1334
         var Mon_M = []
@@ -1946,11 +1946,11 @@ export default {
1946 1946
       sums[22]="总人数:"+ sums[22] +"\n"+result
1947 1947
 
1948 1948
       return sums;
1949
-      }
1949
+      
1950 1950
 
1951
-      if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877&& this.$store.getters.xt_user.template_info.org_id != 10340){
1952
-        return sums;
1953
-      }
1951
+      // if(this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 0 && this.$store.getters.xt_user.template_info.org_id != 3877&& this.$store.getters.xt_user.template_info.org_id != 10340){
1952
+      //   return sums;
1953
+      // }
1954 1954
     },
1955 1955
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1956 1956