mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
merge
This commit is contained in:
commit
ef7ab9dd17
9 files changed
+10
-12
No files matched your search
@@ -16,7 +16,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
_initScrollListener(repeat = 0) {
|
||||
if (this.initialized) return
|
||||
if (this.initialized && repeat > 0) return
|
||||
|
||||
const calendar = this.$refs.page?.querySelector('.vuecal__bg')
|
||||
|
||||
|
||||
@@ -120,7 +120,9 @@ export default {
|
||||
this.$toast.error('Nepodarilo sa nacitat data!')
|
||||
}
|
||||
|
||||
this._initScrollListener()
|
||||
setTimeout(() => {
|
||||
this._initScrollListener()
|
||||
}, 100)
|
||||
},
|
||||
|
||||
openMasterTaskModal(mastertaskId) {
|
||||
|
||||
@@ -181,7 +181,9 @@ export default {
|
||||
this.$toast.error('Nepodarilo sa nacitat data!')
|
||||
}
|
||||
|
||||
this._initScrollListener()
|
||||
setTimeout(() => {
|
||||
this._initScrollListener()
|
||||
}, 100)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,9 @@ export default {
|
||||
this.$toast.error('Nepodarilo sa nacitat data!')
|
||||
}
|
||||
|
||||
this._initScrollListener()
|
||||
setTimeout(() => {
|
||||
this._initScrollListener()
|
||||
}, 100)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ export default {
|
||||
|
||||
onEmployeeSelected(id) {
|
||||
const employee = this.enrichedEmployees.find(employee => employee.id == id)
|
||||
console.log('add employee', employee)
|
||||
this.mastertask.employees.push(employee)
|
||||
this.showAddEmployeeInput = false
|
||||
},
|
||||
|
||||
@@ -280,8 +280,6 @@ export default {
|
||||
return employee
|
||||
})
|
||||
|
||||
console.log('NEW', this.mastertask)
|
||||
|
||||
// this.mastertask.project_code = project.code
|
||||
} else {
|
||||
this.mastertask = { employees: [], duration: 0, _deadline_time: '17:00' }
|
||||
|
||||
@@ -54,7 +54,6 @@ export default {
|
||||
},
|
||||
|
||||
createTask() {
|
||||
console.log(this.localData.date, this.localData.time, this.localData.employees)
|
||||
this.$events.emit('show-subtask-modal', {
|
||||
subtask: {
|
||||
deadline: this.localData.date,
|
||||
|
||||
@@ -71,9 +71,6 @@ export default {
|
||||
})
|
||||
})
|
||||
},
|
||||
onFocus() {
|
||||
console.log('focus')
|
||||
},
|
||||
updateDate(date) {
|
||||
const timeblock = { ...this.timeblock }
|
||||
if (date) timeblock.date = date
|
||||
|
||||
@@ -368,7 +368,6 @@ export default {
|
||||
},
|
||||
|
||||
updateSubtask(subtask) {
|
||||
console.log('UPDATE SUBTASK: ', subtask.timeblocks[0])
|
||||
this.subtask = subtask
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user