mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
submenu pre task a teams
This commit is contained in:
1 parent
e941534b5e
commit
dd2d9240e4
3 files changed
+13
-13
No files matched your search
@@ -3,7 +3,9 @@
|
||||
<v-select
|
||||
v-model="selectedEmployee"
|
||||
class="subheader-input"
|
||||
:items="employeesNames"
|
||||
:items="employees"
|
||||
item-title="name"
|
||||
item-value="id"
|
||||
label="Zamestnanec"
|
||||
variant="outlined"
|
||||
></v-select>
|
||||
@@ -43,7 +45,6 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
employees: [],
|
||||
employeesNames: [],
|
||||
selectedDate: "",
|
||||
|
||||
// Kaluza: Napojit funkcnost
|
||||
@@ -73,9 +74,6 @@ export default {
|
||||
|
||||
async _getEmployees() {
|
||||
this.employees = await this.$axios.get_auth_data('v1/employees')
|
||||
this.employees.forEach(employee => {
|
||||
this.employeesNames.push(`${employee.name} ${employee.surname} `)
|
||||
})
|
||||
},
|
||||
|
||||
_getWeek(emitDataChanged = true) {
|
||||
|
||||
Reference in new issue
Block a user