WIP rework medical card data
This commit is contained in:
@@ -124,8 +124,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
openMedicalCard(id) {
|
||||
localStorage.setItem("medicalId", id);
|
||||
this.$router.push("medical-card");
|
||||
this.getMedicalCardData({
|
||||
personId: id,
|
||||
successCallback: (id) => this.$router.push("medical-card/" + id),
|
||||
});
|
||||
},
|
||||
hidePreview() {
|
||||
this.internalPreview = false;
|
||||
@@ -141,7 +143,7 @@ export default {
|
||||
});
|
||||
},
|
||||
...mapActions({
|
||||
getMedicalCardData: "getMedicalCardData",
|
||||
getMedicalCardData: "getMedicalCardDataByPersonId",
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user