Initial commit

This commit is contained in:
Viet An
2026-03-02 09:45:33 +07:00
commit d17a9e2588
415 changed files with 92113 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<template>
<a class="has-text-link" @click="open">{{row['collaborator__code']}}</a>
</template>
<script setup>
import { useStore } from '@/stores/index'
const store = useStore()
const { $getdata } = useNuxtApp()
const emit = defineEmits(["clickevent"])
const props = defineProps({
row: Object
})
async function open() {
let record = await $getdata('collaborator', {code: props.row.collaborator__code}, undefined, true)
emit('clickevent', {name: 'dataevent', data: {modal: {title: store.lang==='en'? 'Collaborator' : 'Cộng tác viên',
height: '400px', width: '60%', component: 'collaborator/CollaboratorView', vbind:{row: record}}}})
}
</script>