<div id="app" @wheel.prevent="wheel"></div>
placemark.events.add('click', function(e) {
// Вывести в консоль координаты метки
console.log(e.get('coords'));
// Передать переменные в компонент "InformationWindow"
this.visible = true;
this.incidents = response.data[item];
});
placemark.events.add('click', (e) => {
// Вывести в консоль координаты метки
console.log(e.get('coords'));
// Передать переменные в компонент "InformationWindow"
this.visible = true;
this.incidents = response.data[item];
});
getPatientInDateTime: function (user, datetime) {
Vue.http.get('http://' + window.location.hostname + '/api/day-plans/?user=' + user.id + '&start=' + datetime
).then(response => {
console.log(response.body)
}, response => {
console.log("Ошибка получения профиля пациента")
})
}
export default {
name: "profile-account",
props: [
'url',
'amount'
],
mounted() {
},
data() {
return {
balance: this.amount,
isOpen: false
}
},
methods: {
showAddfunds: function(){
this.isOpen = !this.isOpen
console.log(this.isOpen)
}
}
}