This commit is contained in:
Kseninia Mikhaylova 2024-11-20 16:36:46 +03:00
parent a4378b52f7
commit fc26f3b08c
1 changed files with 13 additions and 6 deletions

View File

@ -54,16 +54,20 @@ const columns = [{
label: 'Название' label: 'Название'
}, { }, {
key: 'status', key: 'status',
label: 'Статус' label: 'Статус',
sortable: true
}, { }, {
key: 'responsible', key: 'responsible',
label: 'Исполнитель' label: 'Исполнитель',
sortable: true
}, { }, {
key: 'createdDate', key: 'createdDate',
label: 'Создана' label: 'Создана',
sortable: true
}, { }, {
key: 'deadline', key: 'deadline',
label: 'Крайний срок', label: 'Крайний срок',
sortable: true
}] }]
@ -97,9 +101,12 @@ onMounted(() => {
{{ formatter.statuses[row.status] }} {{ formatter.statuses[row.status] }}
</template> </template>
<template #title-data="{ row }"> <template #title-data="{ row }">
<a :href="`${formatter.domain}/workgroups/group/${row.groupId}/tasks/task/view/${row.id}/`" target="_blank" class="text-primary-600 underline hover:no-underline"> <div class="max-w-screen-md break-words">
{{ row.title }} <a :href="`${formatter.domain}/workgroups/group/${row.groupId}/tasks/task/view/${row.id}/`"
</a> target="_blank" class="text-primary-600 underline hover:no-underline">
{{ row.title }}
</a>
</div>
</template> </template>
</UTable> </UTable>
</template> </template>