15 lines
510 B
Vue
15 lines
510 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'? 'Candidate' : 'Hồ sơ ứng viên',
|
|
height: '400px', width: '65%', component: 'common/JobView', vbind:{row: props.row}}}})
|
|
}
|
|
</script> |