Добавил пациента в store
This commit is contained in:
@@ -552,6 +552,9 @@ export default {
|
||||
this.isOpenPopup = !this.isOpenPopup;
|
||||
},
|
||||
openDetailInfo(e) {
|
||||
if (!this.isOpenDetailInfo)
|
||||
this.$store.state.currentPatient = this.client;
|
||||
else this.$store.state.currentPatient = {};
|
||||
this.isOpenDetailInfo = !this.isOpenDetailInfo;
|
||||
this.isOpenDetailInfo && this.fetchClientDetail(e.currentTarget.id);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user