4856-worker.time-control #1375

Merged
joan merged 32 commits from 4856-worker.time-control into dev 2023-03-16 06:39:02 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 776f7783c6 - Show all commits

View File

@ -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();
}); });