|
@@ -1670,7 +1670,10 @@
|
1670
|
1670
|
getTime(val) {
|
1671
|
1671
|
return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
|
1672
|
1672
|
},
|
1673
|
|
- show(pre,schedual) {
|
|
1673
|
+ show(pre,schedual,last) {
|
|
1674
|
+ console.log(last)
|
|
1675
|
+ console.log(pre)
|
|
1676
|
+
|
1674
|
1677
|
if(schedual.schedule_type == 1){
|
1675
|
1678
|
this.start_time = new Date(2016, 9, 10, 7, 0,0)
|
1676
|
1679
|
this.advice_start_time = "07:00"
|
|
@@ -1726,6 +1729,20 @@
|
1726
|
1729
|
}
|
1727
|
1730
|
|
1728
|
1731
|
if (this.predialysis == null || this.predialysis.id == 0) {
|
|
1732
|
+ this.dialysisPrescription.niprocart = last.niprocart
|
|
1733
|
+ this.dialysisPrescription.jms = last.jms
|
|
1734
|
+ this.dialysisPrescription.fistula_needle_set = last.fistula_needle_set
|
|
1735
|
+ this.dialysisPrescription.fistula_needle_set_16 = last.fistula_needle_set_16
|
|
1736
|
+ this.dialysisPrescription.hemoperfusion = last.hemoperfusion
|
|
1737
|
+ this.dialysisPrescription.dialyser_sterilised = last.dialyser_sterilised
|
|
1738
|
+ this.dialysisPrescription.filtryzer = last.filtryzer
|
|
1739
|
+ this.dialysisPrescription.target_ktv = last.target_ktv
|
|
1740
|
+ this.dialysisPrescription.dialyzers = last.dialyzers
|
|
1741
|
+ this.dialysisPrescription.injector = last.injector
|
|
1742
|
+ this.dialysisPrescription.bloodlines = last.bloodlines
|
|
1743
|
+ this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
|
|
1744
|
+ this.dialysisPrescription.package = last.package
|
|
1745
|
+ this.dialysisPrescription.a_liquid = last.a_liquid
|
1729
|
1746
|
weight_before = 0
|
1730
|
1747
|
} else {
|
1731
|
1748
|
weight_before = this.predialysis.weight_before
|
|
@@ -2867,7 +2884,9 @@
|
2867
|
2884
|
if (response.data.data.solution != null) {
|
2868
|
2885
|
for (const key in response.data.data.solution) {
|
2869
|
2886
|
// 长期处方不为空
|
2870
|
|
- if (key != 'target_ultrafiltration') {
|
|
2887
|
+ if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms'&& key != 'fistula_needle_set'&& key != 'fistula_needle_set_16'
|
|
2888
|
+ && key != 'hemoperfusion'&& key != 'dialyser_sterilised'&& key != 'filtryzer'&& key != 'target_ktv'&& key != 'dialyzers'
|
|
2889
|
+ && key != 'injector'&& key != 'bloodlines'&& key != 'tubing_hemodialysis'&& key != 'package'&& key != 'a_liquid') {
|
2871
|
2890
|
this.dialysisPrescription[key] =
|
2872
|
2891
|
response.data.data.solution[key]
|
2873
|
2892
|
}
|
|
@@ -2876,15 +2895,19 @@
|
2876
|
2895
|
if (response.data.data.prescription != null) {
|
2877
|
2896
|
// 临时处方不为空
|
2878
|
2897
|
for (const key in response.data.data.prescription) {
|
2879
|
|
- if (key != 'target_ultrafiltration') {
|
|
2898
|
+ if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms'&& key != 'fistula_needle_set'&& key != 'fistula_needle_set_16'
|
|
2899
|
+ && key != 'hemoperfusion'&& key != 'dialyser_sterilised'&& key != 'filtryzer'&& key != 'target_ktv'&& key != 'dialyzers'
|
|
2900
|
+ && key != 'injector'&& key != 'bloodlines'&& key != 'tubing_hemodialysis'&& key != 'package'&& key != 'a_liquid') {
|
2880
|
2901
|
this.dialysisPrescription[key] =
|
2881
|
2902
|
response.data.data.prescription[key]
|
2882
|
2903
|
}
|
2883
|
2904
|
}
|
2884
|
2905
|
} else if (response.data.data.system_prescription != null) {
|
2885
|
|
- // 临时处方不为空
|
|
2906
|
+ // 系统处方不为空
|
2886
|
2907
|
for (const key in response.data.data.system_prescription) {
|
2887
|
|
- if (key != 'target_ultrafiltration') {
|
|
2908
|
+ if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms'&& key != 'fistula_needle_set'&& key != 'fistula_needle_set_16'
|
|
2909
|
+ && key != 'hemoperfusion'&& key != 'dialyser_sterilised'&& key != 'filtryzer'&& key != 'target_ktv'&& key != 'dialyzers'
|
|
2910
|
+ && key != 'injector'&& key != 'bloodlines'&& key != 'tubing_hemodialysis'&& key != 'package'&& key != 'a_liquid') {
|
2888
|
2911
|
this.dialysisPrescription[key] =
|
2889
|
2912
|
response.data.data.system_prescription[key]
|
2890
|
2913
|
}
|
|
@@ -2892,7 +2915,9 @@
|
2892
|
2915
|
} else {
|
2893
|
2916
|
for (const key in this.dialysisPrescription) {
|
2894
|
2917
|
// 临时处方为空
|
2895
|
|
- if (key != 'target_ultrafiltration') {
|
|
2918
|
+ if (key != 'target_ultrafiltration' && key != 'niprocart' && key != 'target_ultrafiltration' && key != 'jms'&& key != 'fistula_needle_set'&& key != 'fistula_needle_set_16'
|
|
2919
|
+ && key != 'hemoperfusion'&& key != 'dialyser_sterilised'&& key != 'filtryzer'&& key != 'target_ktv'&& key != 'dialyzers'
|
|
2920
|
+ && key != 'injector'&& key != 'bloodlines'&& key != 'tubing_hemodialysis'&& key != 'package'&& key != 'a_liquid') {
|
2896
|
2921
|
this.dialysisPrescription[key] = ''
|
2897
|
2922
|
}
|
2898
|
2923
|
}
|