mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[cleanup]
This commit is contained in:
1 parent
d32a50e51a
commit
8a4c438e49
5 files changed
-8
No files matched your search
@@ -43,7 +43,6 @@ export default {
|
|||||||
|
|
||||||
onEmployeeSelected(id) {
|
onEmployeeSelected(id) {
|
||||||
const employee = this.enrichedEmployees.find(employee => employee.id == id)
|
const employee = this.enrichedEmployees.find(employee => employee.id == id)
|
||||||
console.log('add employee', employee)
|
|
||||||
this.mastertask.employees.push(employee)
|
this.mastertask.employees.push(employee)
|
||||||
this.showAddEmployeeInput = false
|
this.showAddEmployeeInput = false
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -280,8 +280,6 @@ export default {
|
|||||||
return employee
|
return employee
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log('NEW', this.mastertask)
|
|
||||||
|
|
||||||
// this.mastertask.project_code = project.code
|
// this.mastertask.project_code = project.code
|
||||||
} else {
|
} else {
|
||||||
this.mastertask = { employees: [], duration: 0, _deadline_time: '17:00' }
|
this.mastertask = { employees: [], duration: 0, _deadline_time: '17:00' }
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
createTask() {
|
createTask() {
|
||||||
console.log(this.localData.date, this.localData.time, this.localData.employees)
|
|
||||||
this.$events.emit('show-subtask-modal', {
|
this.$events.emit('show-subtask-modal', {
|
||||||
subtask: {
|
subtask: {
|
||||||
deadline: this.localData.date,
|
deadline: this.localData.date,
|
||||||
|
|||||||
@@ -71,9 +71,6 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onFocus() {
|
|
||||||
console.log('focus')
|
|
||||||
},
|
|
||||||
updateDate(date) {
|
updateDate(date) {
|
||||||
const timeblock = { ...this.timeblock }
|
const timeblock = { ...this.timeblock }
|
||||||
if (date) timeblock.date = date
|
if (date) timeblock.date = date
|
||||||
|
|||||||
@@ -368,7 +368,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
updateSubtask(subtask) {
|
updateSubtask(subtask) {
|
||||||
console.log('UPDATE SUBTASK: ', subtask.timeblocks[0])
|
|
||||||
this.subtask = subtask
|
this.subtask = subtask
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user