Files
onboard/resources/js/Pages/Report/Components/DataTableColumns/OperationsColumn.vue
brusnitsyn 6cf1ffbb2b Добавил реанимацию
Правки окна операций
2026-05-07 22:37:07 +09:00

27 lines
614 B
Vue

<script setup>
import { NTooltip } from 'naive-ui'
import {computed} from "vue";
const props = defineProps({
operations: Array
})
const emits = defineEmits(['click'])
const firstOperation = computed(() => props.operations[0])
</script>
<template>
<NTooltip v-if="operations.length" :arrow="false">
<template #trigger>
<div class="absolute inset-0 p-2 pt-2.5" @click="emits('click', operations)">
{{ firstOperation?.code_service }}
</div>
</template>
{{ firstOperation?.name_service }}
</NTooltip>
</template>
<style scoped>
</style>