Files
system/components/menu/MenuStaff.vue
Xuan Loi ae1ea57130 changes
2026-01-09 17:25:23 +07:00

15 lines
503 B
Vue

<template>
<a class="has-text-link" @click="open">{{row['code']}}</a>
</template>
<script setup>
import { useStore } from "~/stores/index";
const store = useStore();
const emit = defineEmits(["clickevent"])
const props = defineProps({
row: Object
})
function open() {
emit('clickevent', {name: 'dataevent', data: {modal: {title: store.lang==='en'? 'Staff' : 'Hồ sơ nhân viên',
height: '400px', width: '70%', component: 'staff/Staff', vbind:{row: props.row}}}})
}
</script>