|
@@ -576,6 +576,9 @@ export default {
|
576
|
576
|
last_order: {
|
577
|
577
|
type: Object,
|
578
|
578
|
},
|
|
579
|
+ predialysis: {
|
|
580
|
+ type: Object
|
|
581
|
+ },
|
579
|
582
|
},
|
580
|
583
|
data() {
|
581
|
584
|
return {
|
|
@@ -692,6 +695,8 @@ export default {
|
692
|
695
|
};
|
693
|
696
|
},
|
694
|
697
|
created() {
|
|
698
|
+ console.log("透前=======================",this.predialysis)
|
|
699
|
+
|
695
|
700
|
setRem();
|
696
|
701
|
this.getToken();
|
697
|
702
|
this.getPatientSign();
|
|
@@ -830,6 +835,17 @@ export default {
|
830
|
835
|
this.nuclein_date_str = this.getTimeOne(this.record.nuclein_date);
|
831
|
836
|
}
|
832
|
837
|
|
|
838
|
+ if(this.predialysis!=null){
|
|
839
|
+ if(this.predialysis.internal_fistula!=''){
|
|
840
|
+ this.change_nurse = 0
|
|
841
|
+ this.puncture_nurse = this.record == null || this.record.id == ""? this.$store.getters.user.admin.id : this.record.puncture_nurse;
|
|
842
|
+ }
|
|
843
|
+ if(this.predialysis.catheter!=""){
|
|
844
|
+ this.puncture_nurse = 0
|
|
845
|
+ this.change_nurse = this.record == null || this.record.id == ""? this.$store.getters.user.admin.id : this.record.change_nurse;
|
|
846
|
+ }
|
|
847
|
+ }
|
|
848
|
+
|
833
|
849
|
for (let index = 0; index < this.temp_device_numbers.length; index++) {
|
834
|
850
|
const device_number = this.temp_device_numbers[index];
|
835
|
851
|
this.temp_device_numbers[index]["zoneNumber"] =
|
|
@@ -2078,6 +2094,7 @@ export default {
|
2078
|
2094
|
}
|
2079
|
2095
|
},
|
2080
|
2096
|
watch: {
|
|
2097
|
+
|
2081
|
2098
|
"record.id": function (val) {
|
2082
|
2099
|
if (val > 0) {
|
2083
|
2100
|
if (this.record.creator == 0) {
|
|
@@ -2085,7 +2102,10 @@ export default {
|
2085
|
2102
|
} else {
|
2086
|
2103
|
this.creator = this.record.creator;
|
2087
|
2104
|
}
|
|
2105
|
+
|
|
2106
|
+
|
2088
|
2107
|
}
|
|
2108
|
+
|
2089
|
2109
|
},
|
2090
|
2110
|
schedual_type: {
|
2091
|
2111
|
handler(newVal, oldVal) {
|