refactor code
This commit is contained in:
parent
0396d3707c
commit
776f7783c6
|
@ -411,7 +411,7 @@ class Controller extends Section {
|
|||
url: url,
|
||||
};
|
||||
this.$http.post(`WorkerTimeControls/weekly-hour-hecord-email`, params)
|
||||
.then(res => {
|
||||
.then(() => {
|
||||
this.vnApp.showSuccess(this.$t('Email sended'));
|
||||
});
|
||||
}
|
||||
|
@ -429,7 +429,6 @@ class Controller extends Section {
|
|||
const query = `WorkerTimeControls/${this.$params.id}/getMailStates`;
|
||||
this.$http.get(query, {params})
|
||||
.then(res => {
|
||||
console.log(res.data);
|
||||
this.workerTimeControlMails = res.data;
|
||||
this.repaint();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue