43 lines
982 B
Vue
43 lines
982 B
Vue
<script>
|
|
import FilaCaracteristica from "./FilaCaracteristica.vue";
|
|
|
|
export default {
|
|
components: { FilaCaracteristica },
|
|
data() {
|
|
return {
|
|
caracteristicas: [
|
|
{
|
|
id: "devoluciones",
|
|
nombre: "Devoluciones",
|
|
habilitada: false
|
|
},
|
|
]
|
|
}
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<div class="block">
|
|
<table class="table is-fullwidth is-striped is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th> Característica </th>
|
|
<th> Habilitada </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<admin-fila-caracteristica
|
|
v-for="(c,i) in caracteristicas"
|
|
:key="i"
|
|
:caracteristica="c">
|
|
</admin-fila-caracteristica>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
|
|
</style>
|