Files
onboard/resources/js/Pages/Report/Components/DataTableColumns/OperationsColumn.vue
brusnitsyn 90e0d04dfd * оптимизировал запросы выдачи пациентов, сохранения снапшотов
* доработал страницу отчета дежурного
* переделал "действия" над пациентом
* подключил виджеты на странице отчета дежурного
2026-05-08 17:04:56 +09:00

27 lines
629 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 cursor-pointer" @click="emits('click', operations)">
{{ firstOperation?.code_service }}
</div>
</template>
{{ firstOperation?.name_service }}
</NTooltip>
</template>
<style scoped>
</style>