4856-worker.time-control #1375
|
@ -411,7 +411,7 @@ class Controller extends Section {
|
||||||
url: url,
|
url: url,
|
||||||
};
|
};
|
||||||
this.$http.post(`WorkerTimeControls/weekly-hour-hecord-email`, params)
|
this.$http.post(`WorkerTimeControls/weekly-hour-hecord-email`, params)
|
||||||
.then(res => {
|
.then(() => {
|
||||||
this.vnApp.showSuccess(this.$t('Email sended'));
|
this.vnApp.showSuccess(this.$t('Email sended'));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -429,7 +429,6 @@ class Controller extends Section {
|
||||||
const query = `WorkerTimeControls/${this.$params.id}/getMailStates`;
|
const query = `WorkerTimeControls/${this.$params.id}/getMailStates`;
|
||||||
this.$http.get(query, {params})
|
this.$http.get(query, {params})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
console.log(res.data);
|
|
||||||
this.workerTimeControlMails = res.data;
|
this.workerTimeControlMails = res.data;
|
||||||
this.repaint();
|
this.repaint();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue