Last active
August 12, 2020 07:38
-
-
Save rustam87/57df876d8b02e3fb90c1a6b4dab8c4ec to your computer and use it in GitHub Desktop.
Table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<b-table | |
:items="worksTasks" | |
:fields="$options.tableFields" | |
> | |
<template v-slot:cell(index)="data"> | |
{{ data.index + 1 }} | |
</template> | |
<template v-slot:cell(taskId)="{item}"> | |
<nuxt-link | |
:to="getTaskProp(item.entityTypeId, 'path') + '/' + item.taskId" | |
> | |
{{ getTaskProp(item.entityTypeId, 'name') }} № {{ item.taskNumber }} | |
</nuxt-link> | |
</template> | |
<template v-slot:cell(taskDate)="{item}"> | |
{{ getTaskDate(item.taskDate) }} | |
</template> | |
</b-table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment