refactor(components): extract component helpers
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
import type { NdmSwitchDiagInfo, NdmSwitchPortInfo } from '@/apis/domains';
|
||||
import type { NdmSwitchResultVO, PageParams } from '@/apis/models';
|
||||
import { postSnmpLogPage } from '@/apis/requests';
|
||||
import { getPortStatusVal, transformPortSpeed } from '@/components/helper';
|
||||
import { useMutation } from '@tanstack/vue-query';
|
||||
import dayjs from 'dayjs';
|
||||
import destr from 'destr';
|
||||
import { NButton, NCard, NDataTable, NModal, type DataTableColumns, type DataTableRowData, type DatePickerProps, type PaginationProps } from 'naive-ui';
|
||||
import { h, reactive, ref, toRefs } from 'vue';
|
||||
import { getPortStatusVal, transformPortSpeed } from '../../helper';
|
||||
|
||||
const props = defineProps<{
|
||||
stationCode: string;
|
||||
|
||||
Reference in New Issue
Block a user