pcpuma_unam_operador/components/admin/Modulo.vue

35 lines
600 B
Vue
Raw Normal View History

2022-06-12 05:39:26 +00:00
<template>
<div>
2022-06-13 15:36:45 +00:00
<BuscarModulo
:admin="admin"
2022-07-09 23:50:47 +00:00
:modulo="modulo"
2022-06-13 15:36:45 +00:00
:updateIsLoading="updateIsLoading"
2022-07-09 23:50:47 +00:00
:updateModulo="updateModulo"
2022-06-13 15:36:45 +00:00
/>
2022-06-12 05:39:26 +00:00
</div>
</template>
<script>
2022-06-21 17:35:15 +00:00
import BuscarModulo from '@/components/admin/BuscarModulo'
2022-06-12 05:39:26 +00:00
export default {
components: {
BuscarModulo,
},
props: {
admin: { type: Object, required: true },
updateIsLoading: { type: Function, required: true },
},
2022-06-13 15:36:45 +00:00
data() {
2022-07-09 23:50:47 +00:00
return {
modulo: { institucion: {} },
}
},
methods: {
updateModulo(valorObject) {
this.modulo = valorObject
},
2022-06-13 15:36:45 +00:00
},
2022-06-12 05:39:26 +00:00
}
</script>