mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
fixy
This commit is contained in:
1 parent
24c2fdce91
commit
7c94f4c576
3 files changed
+10
-4
No files matched your search
@@ -2,7 +2,6 @@ import { setHours, setMinutes } from 'date-fns'
|
||||
import moment from 'moment'
|
||||
import timelineUtils from '@/plugins/tm@dashboard/tasks/_utils/timeline.utils'
|
||||
|
||||
|
||||
export default {
|
||||
computed: {
|
||||
calendarData() {
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<tbody class="px-5 py-5">
|
||||
<tr v-for="subtask in enrichedtasks" :key="subtask.id">
|
||||
<td v-if="subtask?.title" class="w-25">{{ subtask.title }}</td>
|
||||
<td v-else>{{ subtask?.master_task }}</td>
|
||||
<td class="w-50" v-else>{{ subtask?.master_task }}</td>
|
||||
<td class="d-flex align-center">
|
||||
<p class="employee-selected-avatar d-flex justify-center align-center">
|
||||
{{ subtask._employeeInitials }}
|
||||
</p>
|
||||
<p class="ml-2">{{ subtask._employeeFullName }}</p>
|
||||
<p class="ml-2 line-clamp">{{ subtask._employeeFullName }}</p>
|
||||
</td>
|
||||
<td>
|
||||
<p class="text-light-green" v-if="subtask.is_finished">Ukončený</p>
|
||||
@@ -78,4 +78,11 @@ v-table, tbody
|
||||
|
||||
td:not(:last-child)
|
||||
border-right: thin solid rgba(var(--v-border-color), var(--v-border-opacity))
|
||||
|
||||
.line-clamp
|
||||
display: -webkit-box
|
||||
-webkit-line-clamp: 2
|
||||
-webkit-box-orient: vertical
|
||||
overflow: hidden
|
||||
text-overflow: ellipsis
|
||||
</style>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<v-select v-model="mastertask.team_id" @focus="onInputFocus" class="modal-input border-select" :class="{error: v$.mastertask.employees.$errors.length}" label="Tím" variant="solo" :items="teams" item-value="id" item-title="name"></v-select>
|
||||
|
||||
<template v-if="mastertask.id">
|
||||
<template v-if="!mastertask.id">
|
||||
<v-text-field v-for="(employee, index) in mastertask.employees" :key="employee.id" @focus="onInputFocus" class="modal-input" :class="{error: employee.invalid}" :label="`${employee.name} ${employee.surname}`" variant="solo" placeholder="h" v-model="mastertask.employees[index].duration" type="number" min="1" @input="onEmployeeDurationChanged">
|
||||
<p class="employee-select-avatar d-flex justify-center align-center">
|
||||
{{ employee?.name.charAt(0) + employee?.surname.charAt(0) }}
|
||||
|
||||
Reference in new issue
Block a user