pcpuma_unam_operador/components/botones/BotonGuardar.vue
2022-07-25 19:18:10 -05:00

29 lines
522 B
Vue

<template>
<b-field>
<b-button
type="is-link"
@click="
$alertsGenericos.imprimirWarning($buefy, msjWarning, llamarGuardar)
"
expanded
>
Guardar
</b-button>
</b-field>
</template>
<script>
export default {
props: {
guardar: { type: Function, required: true },
row: { type: Object, required: true, default: () => ({}) },
msjWarning: { type: String, required: true },
},
methods: {
llamarGuardar() {
this.guardar(row)
},
},
}
</script>