소스 검색

新分支

28169 2 년 전
부모
커밋
4a6b9d8d91

+ 15 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue 파일 보기

47
                     年龄:<span
47
                     年龄:<span
48
                       style="display:inline-block;margin-left:10px;"
48
                       style="display:inline-block;margin-left:10px;"
49
                     >
49
                     >
50
-                    {{ getAge(record.patient) }}
50
+                    {{ getAge(record.patient.id_card_no) }}
51
                     </span>
51
                     </span>
52
                   </td>
52
                   </td>
53
                   <td style="text-align:center;width:160px">
53
                   <td style="text-align:center;width:160px">
1075
             年龄:<span
1075
             年龄:<span
1076
               style="display:inline-block;margin-left:10px;"
1076
               style="display:inline-block;margin-left:10px;"
1077
             >
1077
             >
1078
-            {{ getAge(record.patient) }}
1078
+            {{ getAge(record.patient.id_card_no) }}
1079
             </span>
1079
             </span>
1080
           </td>
1080
           </td>
1081
           <td style="text-align:center;width:160px">
1081
           <td style="text-align:center;width:160px">
1723
         return val.age
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
     newAdviceGroupObject: function() {
1739
     newAdviceGroupObject: function() {
1727
       return Object.assign(
1740
       return Object.assign(
1728
         {},
1741
         {},

+ 7 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue 파일 보기

1000
                           <tr>
1000
                           <tr>
1001
                             <td width="60">时间</td>
1001
                             <td width="60">时间</td>
1002
                             <td width="60">血压<br />(mmHg)</td>
1002
                             <td width="60">血压<br />(mmHg)</td>
1003
-                            <td width="50">体温<br />(℃)</td>
1003
+                            <!-- <td width="50">体温<br />(℃)</td> -->
1004
                             <td width="50">脉搏<br />(次/分)</td>
1004
                             <td width="50">脉搏<br />(次/分)</td>
1005
                             <td width="50">呼吸<br />(次/分)</td>
1005
                             <td width="50">呼吸<br />(次/分)</td>
1006
                             <td width="50">血流量<br />(ml/min)</td>
1006
                             <td width="50">血流量<br />(ml/min)</td>
1038
                                   : ""
1038
                                   : ""
1039
                               }}
1039
                               }}
1040
                             </td>
1040
                             </td>
1041
-                            <td>
1041
+                            <!-- <td>
1042
                               {{
1042
                               {{
1043
                                 monitor_record.temperature
1043
                                 monitor_record.temperature
1044
                                   ? monitor_record.temperature
1044
                                   ? monitor_record.temperature
1045
                                   : ""
1045
                                   : ""
1046
                               }}
1046
                               }}
1047
-                            </td>
1047
+                            </td> -->
1048
                             <td>
1048
                             <td>
1049
                               {{
1049
                               {{
1050
                                 monitor_record.pulse_frequency
1050
                                 monitor_record.pulse_frequency
1158
                                       monitor_record.operate_time ==
1158
                                       monitor_record.operate_time ==
1159
                                         record.dialysis_order.end_time
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
                                   {{ monitor_record.end }}
1165
                                   {{ monitor_record.end }}
1164
                                   {{ monitor_record.symptom }} &nbsp;{{
1166
                                   {{ monitor_record.symptom }} &nbsp;{{
1165
                                     monitor_record.dispose
1167
                                     monitor_record.dispose
1166
                                   }}
1168
                                   }}
1167
                                   &nbsp;{{ monitor_record.result }}
1169
                                   &nbsp;{{ monitor_record.result }}
1170
+                                 
1168
                                 </span>
1171
                                 </span>
1169
                               </div>
1172
                               </div>
1170
                             </td>
1173
                             </td>

+ 14 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue 파일 보기

28
               年龄:
28
               年龄:
29
               <span style="display:inline-block;margin-left:10px;">
29
               <span style="display:inline-block;margin-left:10px;">
30
                 {{
30
                 {{
31
-                getAge(patientInfo)
31
+                getNewAge(patientInfo.id_card_no)
32
                 }}
32
                 }}
33
               </span>
33
               </span>
34
             </td>
34
             </td>
2112
         return ''
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
     newAdviceGroupObject: function() {
2128
     newAdviceGroupObject: function() {
2116
       return Object.assign(
2129
       return Object.assign(
2117
         {},
2130
         {},

+ 9 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue 파일 보기

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

615
                       </div>
615
                       </div>
616
                     </td>
616
                     </td>
617
                   </tr>
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
                 </tbody>
673
                 </tbody>
619
               </table>
674
               </table>
620
             </td>
675
             </td>
840
                     }}kg
895
                     }}kg
841
                   </td>
896
                   </td>
842
                 </tr>
897
                 </tr>
898
+                
843
               </table>
899
               </table>
844
             </td>
900
             </td>
845
           </tr>
901
           </tr>
1213
                   <td style="height: 20px" width="90">
1269
                   <td style="height: 20px" width="90">
1214
                     <p style="height: 20px; line-height: 20px">核对</p>
1270
                     <p style="height: 20px; line-height: 20px">核对</p>
1215
                   </td>
1271
                   </td>
1216
-                  <td style="height: 20px" width="144">
1272
+                  <!-- <td style="height: 20px" width="144">
1217
                     <p style="height: 20px; line-height: 20px">上次透后体重</p>
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
                       patientInfo.total_dialysis +
1277
                       patientInfo.total_dialysis +
1222
                         patientInfo.user_sys_before_count >
1278
                         patientInfo.user_sys_before_count >
1223
                       0
1279
                       0
1224
-                        ? assessmentafter.weight_after
1280
+                        ? patientInfo.user_sys_before_count
1225
                         : "/"
1281
                         : "/"
1226
                     }}kg
1282
                     }}kg
1227
-                  </td>
1283
+                  </td> -->
1228
                 </tr>
1284
                 </tr>
1229
               </table>
1285
               </table>
1230
             </td>
1286
             </td>
1327
                     />
1383
                     />
1328
                   </td>
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
                       patientInfo.total_dialysis +
1389
                       patientInfo.total_dialysis +
1334
                         patientInfo.user_sys_before_count >
1390
                         patientInfo.user_sys_before_count >
1335
                       0
1391
                       0
1336
-                        ? predialysis.weight_before
1392
+                        ? patientInfo.user_sys_before_count
1337
                         : "/"
1393
                         : "/"
1338
                     }}kg
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
                       assessmentafter.weight_after == 0 ||
1399
                       assessmentafter.weight_after == 0 ||
1344
                       predialysis.weight_before == 0
1400
                       predialysis.weight_before == 0
1348
                             assessmentafter.weight_after
1404
                             assessmentafter.weight_after
1349
                           ).toFixed(2)
1405
                           ).toFixed(2)
1350
                     }}kg
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
                       patientInfo.total_dialysis +
1411
                       patientInfo.total_dialysis +
1356
                         patientInfo.user_sys_before_count >
1412
                         patientInfo.user_sys_before_count >
1357
                       0
1413
                       0
1358
-                        ? predialysis.dry_weight
1414
+                        ? predialysis.user_sys_before_count
1359
                         : "/"
1415
                         : "/"
1360
                     }}kg
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
                       patientInfo.total_dialysis +
1421
                       patientInfo.total_dialysis +
1366
                         patientInfo.user_sys_before_count >
1422
                         patientInfo.user_sys_before_count >
1370
                           ).toFixed(2)
1426
                           ).toFixed(2)
1371
                         : 0
1427
                         : 0
1372
                     }}kg
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
                   <td v-if="advice_index === 4" width="60">
1431
                   <td v-if="advice_index === 4" width="60">
1376
                     {{
1432
                     {{
1377
                       patientInfo.total_dialysis +
1433
                       patientInfo.total_dialysis +
1380
                         ? afterdialysis.actual_ultrafiltration
1436
                         ? afterdialysis.actual_ultrafiltration
1381
                         : "/"
1437
                         : "/"
1382
                     }}ml
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
                   <td v-if="advice_index === 5" width="60">
1441
                   <td v-if="advice_index === 5" width="60">
1386
                     {{
1442
                     {{
1387
                       patientInfo.total_dialysis +
1443
                       patientInfo.total_dialysis +
1404
                             afterdialysis.weight_after
1460
                             afterdialysis.weight_after
1405
                           ).toFixed(2)
1461
                           ).toFixed(2)
1406
                     }}kg
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
                 </tr>
1466
                 </tr>
1411
               </table>
1467
               </table>
1412
             </td>
1468
             </td>

+ 5 - 5
src/xt_pages/workforce/components/editTableData.vue 파일 보기

3812
         this.$refs.table.doLayout();
3812
         this.$refs.table.doLayout();
3813
       });
3813
       });
3814
       
3814
       
3815
-      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){
3815
+      // 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){
3816
 
3816
 
3817
         //表格某列全部数据
3817
         //表格某列全部数据
3818
         var Mon_M = []
3818
         var Mon_M = []
4427
       }
4427
       }
4428
       sums[22]="总人数:"+ sums[22] +"\n"+result
4428
       sums[22]="总人数:"+ sums[22] +"\n"+result
4429
             return sums;
4429
             return sums;
4430
-      }
4430
+      // }
4431
 
4431
 
4432
-      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){
4433
-        return sums;
4434
-      }
4432
+      // 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){
4433
+      //   return sums;
4434
+      // }
4435
     },
4435
     },
4436
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
4436
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
4437
       var that = this;
4437
       var that = this;

+ 5 - 5
src/xt_pages/workforce/components/tableData.vue 파일 보기

1328
       this.$nextTick(() => {
1328
       this.$nextTick(() => {
1329
         this.$refs.table.doLayout();
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
         var Mon_M = []
1334
         var Mon_M = []
1946
       sums[22]="总人数:"+ sums[22] +"\n"+result
1946
       sums[22]="总人数:"+ sums[22] +"\n"+result
1947
 
1947
 
1948
       return sums;
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
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1955
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1956
 
1956