Files
onboard/resources/js/Pages/Report/Components/DataTableColumns/OperationsColumn.vue
brusnitsyn 739168d427 Обновлен стартовый экран
Переписаны запросы для статистики, отчетов
Добавлена интеграция отчета сестры
2026-05-28 22:10:00 +09:00

28 lines
661 B
Vue

<script setup>
import { NTooltip } from 'naive-ui'
import {computed} from "vue";
const props = defineProps({
operations: Array,
patient: Object
})
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', {patient, operations})">
{{ firstOperation?.code_service }}
</div>
</template>
{{ firstOperation?.name_service }}
</NTooltip>
</template>
<style scoped>
</style>