2022-09-05 03:59:49 +00:00
|
|
|
<template>
|
|
|
|
<b-field class="column mb-0 pb-0" :class="columnSize" :label="label">
|
2022-09-24 18:01:07 +00:00
|
|
|
<b-radio-button
|
|
|
|
v-model="opcion"
|
|
|
|
native-value=""
|
|
|
|
type="is-primary is-light is-outlined"
|
|
|
|
>
|
|
|
|
<p>Todos</p>
|
|
|
|
</b-radio-button>
|
|
|
|
|
|
|
|
<b-radio-button
|
|
|
|
v-model="opcion"
|
|
|
|
:native-value="true"
|
|
|
|
type="is-success is-light is-outlined"
|
|
|
|
>
|
|
|
|
<p>Si</p>
|
|
|
|
</b-radio-button>
|
|
|
|
|
|
|
|
<b-radio-button
|
|
|
|
v-model="opcion"
|
|
|
|
:native-value="false"
|
|
|
|
type="is-danger is-light is-outlined"
|
|
|
|
>
|
|
|
|
<p>No</p>
|
|
|
|
</b-radio-button>
|
2022-09-05 03:59:49 +00:00
|
|
|
</b-field>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
columnSize: { typeof: String, required: false, default: '' },
|
|
|
|
label: { typeof: String, required: true, default: '' },
|
|
|
|
},
|
|
|
|
data: () => {
|
2022-09-24 18:01:07 +00:00
|
|
|
return { opcion: '' }
|
2022-09-05 03:59:49 +00:00
|
|
|
},
|
|
|
|
watch: {
|
2022-09-24 18:01:07 +00:00
|
|
|
opcion() {
|
|
|
|
this.$emit('opcion', this.opcion)
|
2022-09-05 03:59:49 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped></style>
|