fix:仪表盘界面(未接通)
This commit is contained in:
41
src/typings/api.d.ts
vendored
41
src/typings/api.d.ts
vendored
@@ -607,4 +607,45 @@ declare namespace Api {
|
||||
enable: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
interface DashboardOverview {
|
||||
cloud: {
|
||||
connected: boolean;
|
||||
};
|
||||
sites: {
|
||||
total: number;
|
||||
countries: number;
|
||||
connected: number;
|
||||
disconnected: number;
|
||||
};
|
||||
devices: {
|
||||
gateways: {
|
||||
connected: number;
|
||||
disconnected: number;
|
||||
};
|
||||
switches: {
|
||||
connected: number;
|
||||
disconnected: number;
|
||||
};
|
||||
olts: {
|
||||
connected: number;
|
||||
disconnected: number;
|
||||
};
|
||||
ap: {
|
||||
connected: number;
|
||||
disconnected: number;
|
||||
isolated: number;
|
||||
};
|
||||
};
|
||||
client: {
|
||||
wiredUsers: number;
|
||||
wirelessUsers: number;
|
||||
wirelessGuests: number;
|
||||
};
|
||||
alerts: number;
|
||||
users: {
|
||||
registered: number;
|
||||
online: number;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
1
src/typings/auto-imports.d.ts
vendored
1
src/typings/auto-imports.d.ts
vendored
@@ -152,6 +152,7 @@ declare global {
|
||||
const getCacheRouteNames: typeof import('../store/modules/route/shared')['getCacheRouteNames']
|
||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||
const getDashboardOverview: typeof import('../service/api/auth')['getDashboardOverview']
|
||||
const getData: typeof import('../service/api/dictData')['getData']
|
||||
const getDefaultHomeTab: typeof import('../store/modules/tab/shared')['getDefaultHomeTab']
|
||||
const getDictDataType: typeof import('../service/api/dict')['getDictDataType']
|
||||
|
||||
5
src/typings/components.d.ts
vendored
5
src/typings/components.d.ts
vendored
@@ -45,7 +45,6 @@ declare module 'vue' {
|
||||
ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
|
||||
ASpace: typeof import('ant-design-vue/es')['Space']
|
||||
ASpin: typeof import('ant-design-vue/es')['Spin']
|
||||
AStatistic: typeof import('ant-design-vue/es')['Statistic']
|
||||
AStep: typeof import('ant-design-vue/es')['Step']
|
||||
ASteps: typeof import('ant-design-vue/es')['Steps']
|
||||
ASwitch: typeof import('ant-design-vue/es')['Switch']
|
||||
@@ -77,7 +76,11 @@ declare module 'vue' {
|
||||
IconIcRoundSearch: typeof import('~icons/ic/round-search')['default']
|
||||
IconLocalBanner: typeof import('~icons/local/banner')['default']
|
||||
IconLocalLogo: typeof import('~icons/local/logo')['default']
|
||||
IconMdiAccessPoint: typeof import('~icons/mdi/access-point')['default']
|
||||
IconMdiAlert: typeof import('~icons/mdi/alert')['default']
|
||||
IconMdiCloud: typeof import('~icons/mdi/cloud')['default']
|
||||
IconMdiDrag: typeof import('~icons/mdi/drag')['default']
|
||||
IconMdiLaptop: typeof import('~icons/mdi/laptop')['default']
|
||||
IconMdiRefresh: typeof import('~icons/mdi/refresh')['default']
|
||||
IconMdiSearch: typeof import('~icons/mdi/search')['default']
|
||||
LangSwitch: typeof import('./../components/common/lang-switch.vue')['default']
|
||||
|
||||
Reference in New Issue
Block a user