|
@@ -1191,9 +1191,9 @@
|
1191
|
1191
|
for(let i=0;i<newArr.length;i++){
|
1192
|
1192
|
for(let j=0;j<this.dialyzerPerfusionApparatus.length;j++){
|
1193
|
1193
|
var newarr = newArr[i].toUpperCase()
|
1194
|
|
-
|
|
1194
|
+
|
1195
|
1195
|
var dialy = this.dialyzerPerfusionApparatus[j].name.toUpperCase()
|
1196
|
|
-
|
|
1196
|
+
|
1197
|
1197
|
if(newarr == dialy){
|
1198
|
1198
|
Arr.push(this.dialyzerPerfusionApparatus[j].name)
|
1199
|
1199
|
}
|
|
@@ -1322,7 +1322,7 @@
|
1322
|
1322
|
'hemodialysis',
|
1323
|
1323
|
'dialyzer_perfusion_apparatus'
|
1324
|
1324
|
)
|
1325
|
|
-
|
|
1325
|
+
|
1326
|
1326
|
// dialyzerPerfusionApparatus.map(item => {
|
1327
|
1327
|
// item.name = item.name.toUpperCase()
|
1328
|
1328
|
// })
|
|
@@ -1695,8 +1695,6 @@
|
1695
|
1695
|
return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
|
1696
|
1696
|
},
|
1697
|
1697
|
show(pre,schedual,last) {
|
1698
|
|
- console.log(last)
|
1699
|
|
- console.log(pre)
|
1700
|
1698
|
|
1701
|
1699
|
if(schedual.schedule_type == 1){
|
1702
|
1700
|
this.start_time = new Date(2016, 9, 10, 7, 0,0)
|
|
@@ -1753,25 +1751,30 @@
|
1753
|
1751
|
}
|
1754
|
1752
|
|
1755
|
1753
|
if (this.predialysis == null || this.predialysis.id == 0) {
|
1756
|
|
- this.dialysisPrescription.niprocart = last.niprocart
|
1757
|
|
- this.dialysisPrescription.jms = last.jms
|
1758
|
|
- this.dialysisPrescription.fistula_needle_set = last.fistula_needle_set
|
1759
|
|
- this.dialysisPrescription.fistula_needle_set_16 = last.fistula_needle_set_16
|
1760
|
|
- this.dialysisPrescription.hemoperfusion = last.hemoperfusion
|
1761
|
|
- this.dialysisPrescription.dialyser_sterilised = last.dialyser_sterilised
|
1762
|
|
- this.dialysisPrescription.filtryzer = last.filtryzer
|
1763
|
|
- this.dialysisPrescription.target_ktv = last.target_ktv
|
1764
|
|
- this.dialysisPrescription.dialyzers = last.dialyzers
|
1765
|
|
- this.dialysisPrescription.injector = last.injector
|
1766
|
|
- this.dialysisPrescription.bloodlines = last.bloodlines
|
1767
|
|
- this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
|
1768
|
|
- this.dialysisPrescription.package = last.package
|
1769
|
|
- this.dialysisPrescription.a_liquid = last.a_liquid
|
1770
|
|
- weight_before = 0
|
|
1754
|
+ if(last != null) {
|
|
1755
|
+ this.dialysisPrescription.niprocart = last.niprocart
|
|
1756
|
+ this.dialysisPrescription.jms = last.jms
|
|
1757
|
+ this.dialysisPrescription.fistula_needle_set = last.fistula_needle_set
|
|
1758
|
+ this.dialysisPrescription.fistula_needle_set_16 = last.fistula_needle_set_16
|
|
1759
|
+ this.dialysisPrescription.hemoperfusion = last.hemoperfusion
|
|
1760
|
+ this.dialysisPrescription.dialyser_sterilised = last.dialyser_sterilised
|
|
1761
|
+ this.dialysisPrescription.filtryzer = last.filtryzer
|
|
1762
|
+ this.dialysisPrescription.target_ktv = last.target_ktv
|
|
1763
|
+ this.dialysisPrescription.dialyzers = last.dialyzers
|
|
1764
|
+ this.dialysisPrescription.injector = last.injector
|
|
1765
|
+ this.dialysisPrescription.bloodlines = last.bloodlines
|
|
1766
|
+ this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
|
|
1767
|
+ this.dialysisPrescription.package = last.package
|
|
1768
|
+ this.dialysisPrescription.a_liquid = last.a_liquid
|
|
1769
|
+ weight_before = 0
|
|
1770
|
+ }
|
|
1771
|
+
|
1771
|
1772
|
} else {
|
1772
|
1773
|
weight_before = this.predialysis.weight_before
|
1773
|
1774
|
}
|
1774
|
1775
|
|
|
1776
|
+
|
|
1777
|
+
|
1775
|
1778
|
if (weight_before > 0 && last_weight_after > 0) {
|
1776
|
1779
|
this.add_weight = parseFloat(weight_before - last_weight_after).toFixed(
|
1777
|
1780
|
2
|