Много чего
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
import AppLayout from "../../Layouts/AppLayout.vue"
|
||||
import TableCards from './DataTable/Index.vue'
|
||||
import { NInput, NFlex, NDivider, NDatePicker, NSpace, NFormItem, NRadioButton, NH1, NTabs, NTabPane, NSelect } from 'naive-ui'
|
||||
import {useMedicalHistory} from "../../Composables/useMedicalHistory.js";
|
||||
import {useDebounceFn} from "@vueuse/core";
|
||||
import {useMedicalHistoryFilter} from "../../Composables/useMedicalHistoryFilter.js";
|
||||
import {computed, ref} from "vue";
|
||||
import {ref} from "vue";
|
||||
|
||||
const props = defineProps({
|
||||
cards: {
|
||||
@@ -63,14 +61,7 @@ const handleBeforeLeave = (tabName) => {
|
||||
</NFlex>
|
||||
</NSpace>
|
||||
</template>
|
||||
<NTabs :value="filtersRef.view_type" type="segment" animated @before-leave="handleBeforeLeave">
|
||||
<NTabPane name="si" :tab="`СофтИнфо (${cards.si?.meta.total})`">
|
||||
<TableCards :filters="filters" :data="cards.si?.data" :meta="cards.si?.meta" min-height="calc(100vh - 286px)" max-height="calc(100vh - 320px)" />
|
||||
</NTabPane>
|
||||
<NTabPane name="mis" :tab="`МИС (${cards.mis?.meta.total})`">
|
||||
<TableCards :filters="filters" :data="cards.mis?.data" :meta="cards.mis?.meta" min-height="calc(100vh - 286px)" max-height="calc(100vh - 320px)" />
|
||||
</NTabPane>
|
||||
</NTabs>
|
||||
<TableCards :filters="filters" :data="cards.data" :meta="cards.meta" min-height="calc(100vh - 212px)" max-height="calc(100vh - 320px)" />
|
||||
</AppLayout>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user