From 86bc41450ece70d18d83ad0129d4acfb1cb4846d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Glasn=C3=A1k?= Date: Fri, 8 Nov 2024 16:19:45 +0100 Subject: [PATCH] Feat(task) Added estimated hours, fixed edit for office tasks --- app/src/plugins/app/_config/App.vue | 4 +-- .../_components/a-timeline-event.vue | 11 +++----- .../master-task/_components/a-tasks-table.vue | 9 +------ .../master-task/z-master-task-modal.vue | 2 ++ .../_components/a-task-estimated-duration.vue | 27 +++++++++++++++++++ .../task/_components/z-task-readonly-info.vue | 7 +++-- .../plugins/tm@modal/task/z-task-modal.vue | 14 ++++++++-- .../z-unable-to-edit-office-task-modal.vue | 13 ++++++--- .../_components/a-ongoing-table.vue | 16 +++++------ .../_components/a-unscheduled-table.vue | 13 +++------ 10 files changed, 72 insertions(+), 44 deletions(-) create mode 100644 app/src/plugins/tm@modal/task/_components/_components/a-task-estimated-duration.vue diff --git a/app/src/plugins/app/_config/App.vue b/app/src/plugins/app/_config/App.vue index 4210a6c..a36e7b3 100644 --- a/app/src/plugins/app/_config/App.vue +++ b/app/src/plugins/app/_config/App.vue @@ -137,8 +137,8 @@ export default { this.$store.dispatch('tm/reloadMastertasks') }) - this.$events.on('show-unable-to-edit-office-task-modal', ({ subtask }) => { - this.$refs['z-unable-to-edit-office-task-modal'].showModal({ subtask }) + this.$events.on('show-unable-to-edit-office-task-modal', ({ mode }) => { + this.$refs['z-unable-to-edit-office-task-modal'].showModal({ mode }) }) this._showModalsAfterInicialization() diff --git a/app/src/plugins/tm@dashboard/_components/a-timeline-event.vue b/app/src/plugins/tm@dashboard/_components/a-timeline-event.vue index 3cebe3e..12894c9 100644 --- a/app/src/plugins/tm@dashboard/_components/a-timeline-event.vue +++ b/app/src/plugins/tm@dashboard/_components/a-timeline-event.vue @@ -18,7 +18,7 @@ @@ -49,7 +49,7 @@