2022-11-22 01:55:57 +01:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-11-29 21:38:55 +01:00
|
|
|
<table
|
|
|
|
cellspacing="0"
|
|
|
|
cellpadding="0"
|
|
|
|
border="0"
|
|
|
|
class="hidden md:table custom-table overflow-auto custom-table-sm text-sm"
|
|
|
|
>
|
2022-11-22 01:55:57 +01:00
|
|
|
<thead>
|
|
|
|
<th>Tätigkeit</th>
|
|
|
|
<th>Untertätigkeit</th>
|
|
|
|
<th>Datum</th>
|
|
|
|
</thead>
|
2022-11-29 21:38:55 +01:00
|
|
|
<tr v-for="(membership, index) in inner" :key="index">
|
2022-11-22 01:55:57 +01:00
|
|
|
<td v-text="membership.activity_name"></td>
|
|
|
|
<td v-text="membership.subactivity_name"></td>
|
|
|
|
<td v-text="membership.human_date"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2022-11-29 21:38:55 +01:00
|
|
|
|
|
|
|
<div class="md:hidden grid gap-3">
|
|
|
|
<box
|
|
|
|
class="relative"
|
|
|
|
:heading="membership.activity_name"
|
|
|
|
v-for="(membership, index) in inner"
|
|
|
|
:key="index"
|
|
|
|
second
|
|
|
|
>
|
|
|
|
<div class="text-xs text-gray-200" v-text="membership.subactivity_name"></div>
|
|
|
|
<div class="text-xs text-gray-200" v-text="membership.human_date"></div>
|
|
|
|
</box>
|
|
|
|
</div>
|
2022-11-22 01:55:57 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2022-11-29 21:38:55 +01:00
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
inner: [],
|
|
|
|
};
|
|
|
|
},
|
2022-11-22 01:55:57 +01:00
|
|
|
props: {
|
2022-11-29 21:38:55 +01:00
|
|
|
value: {},
|
|
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
|
|
this.inner = this.value;
|
2022-11-22 01:55:57 +01:00
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|