Обновлен стартовый экран
Переписаны запросы для статистики, отчетов Добавлена интеграция отчета сестры
This commit is contained in:
@@ -40,7 +40,7 @@ const actionGroups = computed(() => [
|
||||
key: 'actions',
|
||||
items: [
|
||||
{
|
||||
label: 'Добавить на контроль',
|
||||
label: 'Поставить на контроль',
|
||||
key: 'add-observable',
|
||||
icon: TbEyePlus,
|
||||
if: props.isAddObservable
|
||||
@@ -50,12 +50,7 @@ const actionGroups = computed(() => [
|
||||
key: 'add-observable-comment',
|
||||
icon: TbMessage,
|
||||
if: props.isAddObservableComment
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'danger',
|
||||
items: [
|
||||
},
|
||||
{
|
||||
label: 'Снять с контроля',
|
||||
key: 'remove-observable',
|
||||
@@ -88,9 +83,9 @@ const onSelectOption = (key) => {
|
||||
// props.onAddObservable?.(props.row)
|
||||
emits('addObservable', props.row)
|
||||
},
|
||||
'add-comment': () => {
|
||||
'add-observable-comment': () => {
|
||||
// props.onAddObservableComment?.(props.row)
|
||||
emits('onAddObservableComment', props.row)
|
||||
emits('addObservableComment', props.row)
|
||||
},
|
||||
'remove-observable': () => {
|
||||
// props.onRemoveObservable?.(props.row)
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
import { NTooltip } from 'naive-ui'
|
||||
import {computed} from "vue";
|
||||
const props = defineProps({
|
||||
operations: Array
|
||||
operations: Array,
|
||||
patient: Object
|
||||
})
|
||||
|
||||
const emits = defineEmits(['click'])
|
||||
@@ -13,7 +14,7 @@ const firstOperation = computed(() => props.operations[0])
|
||||
<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)">
|
||||
<div class="absolute inset-0 p-2 pt-2.5 cursor-pointer" @click="emits('click', {patient, operations})">
|
||||
{{ firstOperation?.code_service }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user