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

14 lines
429 B
Vue

<template>
<span class="dot-primary" @click="doClick()">{{ row.count_note || '+' }}</span>
</template>
<script>
export default {
props: ['row', 'api', 'pagename'],
methods: {
doClick() {
let obj = {component: 'common/NoteInfo', title: 'Ghi chú', width: '50%', vbind: {row: this.row, api: this.api, pagename: this.pagename}}
this.$emit('open', {name: 'dataevent', data: {modal: obj}})
}
}
}
</script>