This commit is contained in:
2021-06-23 23:40:09 +00:00
parent bb152b6774
commit 3a0b1dabff

View File

@@ -149,15 +149,48 @@
>
<template v-if="c.t == 1">
<!-- DATETIME -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 2">
<!-- DATE -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 3">
<!-- TIME -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 4">
<!-- TEXT (also maybe openable)-->
@@ -200,7 +233,18 @@
</template>
<template v-else-if="c.t == 7">
<!-- DECIMAL -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 8">
<!-- CURRENCY -->
@@ -315,15 +359,48 @@
<v-list-item-subtitle :style="cellStyle(c)">
<template v-if="c.t == 1">
<!-- DATETIME -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 2">
<!-- DATE -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 3">
<!-- TIME -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 4">
<!-- TEXT (also maybe openable)-->
@@ -369,7 +446,18 @@
</template>
<template v-else-if="c.t == 7">
<!-- DECIMAL -->
{{ c.v }}
<template v-if="c.i && c.i != 0 && !c.nopen">
<!-- openable object with an ID -->
<div
class="subtitle-1"
@click="gridCellButtonClick(c.key, c.i, c.ot)"
>
<a href="javascript:"> {{ c.v }}</a>
</div>
</template>
<template v-else>
{{ c.v }}
</template>
</template>
<template v-else-if="c.t == 8">
<!-- CURRENCY -->