chore: reorder import
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Station } from '@/apis/domains';
|
||||
import type { NdmDeviceAlarmLogResultVO } from '@/apis/models/device';
|
||||
import type { NdmDeviceAlarmLogResultVO } from '@/apis/models';
|
||||
import { postNdmDeviceAlarmLogPage } from '@/apis/requests';
|
||||
import { DeviceType } from '@/enums/device-type';
|
||||
import { useStationStore } from '@/stores/station';
|
||||
@@ -8,11 +8,6 @@ import dayjs from 'dayjs';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed } from 'vue';
|
||||
|
||||
// const AlarmCategory = {
|
||||
// Occurred: '1',
|
||||
// Recovered: '2',
|
||||
// } as const;
|
||||
|
||||
export interface CategorizedAlarms {
|
||||
occurred: NdmDeviceAlarmLogResultVO[];
|
||||
recovered: NdmDeviceAlarmLogResultVO[];
|
||||
|
||||
@@ -1,19 +1,4 @@
|
||||
import { useQuery } from '@tanstack/vue-query';
|
||||
import type { PageParams } from '@/apis/models/base/page';
|
||||
import {
|
||||
postNdmCameraPage,
|
||||
postNdmDecoderPage,
|
||||
postNdmKeyboardPage,
|
||||
postNdmMediaServerPage,
|
||||
postNdmNvrPage,
|
||||
postNdmSecurityBoxPage,
|
||||
postNdmSwitchPage,
|
||||
postNdmVideoServerPage,
|
||||
} from '@/apis/requests/device';
|
||||
import { useStationStore } from '@/stores/station';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed } from 'vue';
|
||||
import { DeviceType } from '@/enums/device-type';
|
||||
import type { Station } from '@/apis/domains';
|
||||
import type {
|
||||
NdmCameraResultVO,
|
||||
NdmDecoderResultVO,
|
||||
@@ -23,8 +8,14 @@ import type {
|
||||
NdmSecurityBoxResultVO,
|
||||
NdmSwitchResultVO,
|
||||
NdmVideoServerResultVO,
|
||||
} from '@/apis/models/device';
|
||||
import type { Station } from '@/apis/domains';
|
||||
PageParams,
|
||||
} from '@/apis/models';
|
||||
import { postNdmCameraPage, postNdmDecoderPage, postNdmKeyboardPage, postNdmMediaServerPage, postNdmNvrPage, postNdmSecurityBoxPage, postNdmSwitchPage, postNdmVideoServerPage } from '@/apis/requests';
|
||||
import { DeviceType } from '@/enums/device-type';
|
||||
import { useStationStore } from '@/stores/station';
|
||||
import { useQuery } from '@tanstack/vue-query';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed } from 'vue';
|
||||
|
||||
// 定义设备数据类型
|
||||
export interface StationDevices {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import type { Station } from '@/apis/domains';
|
||||
import { ndmVerify } from '@/apis/requests';
|
||||
import { useQuery } from '@tanstack/vue-query';
|
||||
import { useQueryControlStore } from '@/stores/query-control';
|
||||
import { useStationStore } from '@/stores/station';
|
||||
import { getAppEnvConfig } from '@/utils/env';
|
||||
import { useQuery } from '@tanstack/vue-query';
|
||||
import axios from 'axios';
|
||||
import dayjs from 'dayjs';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { getAppEnvConfig } from '@/utils/env';
|
||||
import { useQueryControlStore } from '@/stores/query-control';
|
||||
import { computed } from 'vue';
|
||||
|
||||
export function useStationListQuery() {
|
||||
|
||||
Reference in New Issue
Block a user