This commit is contained in:
2020-01-30 20:27:18 +00:00
parent 438e57297b
commit 000c889bec

View File

@@ -20,13 +20,28 @@
:no-data-text="lt('NoData')"
class="elevation-1"
>
<!-- /*UiDataTypes
NoType = 0,
DateTime = 1,
Date = 2,
Time = 3,
Text = 4,
Integer = 5,
Bool = 6,
Decimal = 7,
Currency = 8,
Tags = 9,
Enum = 10,
EmailAddress = 11
*/ -->
<template v-slot:body="{ items }">
<tbody>
<tr v-for="item in items" :key="item.name">
<td v-for="c in item.columns" :key="c.key">
<div v-if="c.t === 4">
<!-- Handle all plain text types -->
<template v-if="c.t < 9">
{{ c.v }}
</div>
</template>
</td>
</tr>
</tbody>