diff --git a/src/api/device/types.ts b/src/api/device/types.ts index 3c95d82..6bfe661 100644 --- a/src/api/device/types.ts +++ b/src/api/device/types.ts @@ -73,3 +73,11 @@ export interface parameterVo { updateTime: null; version: null; } +export interface seriesVo { + name: string; + type: string; + smooth: boolean; + symbol: string; + paramUnit: string; + data: Array; +} diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index e5c7bdb..5742656 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -5,6 +5,8 @@ declare global { const ElForm: typeof import('element-plus/es')['ElForm'] const ElMessage: typeof import('element-plus/es')['ElMessage'] const ElMessageBox: typeof import('element-plus/es')['ElMessageBox'] + const ElNotification: typeof import('element-plus/es')['ElNotification'] + const NEllipsis: typeof import('naive-ui')['NEllipsis'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const computed: typeof import('vue')['computed'] @@ -274,6 +276,8 @@ declare module 'vue' { readonly ElForm: UnwrapRef readonly ElMessage: UnwrapRef readonly ElMessageBox: UnwrapRef + readonly ElNotification: UnwrapRef + readonly NEllipsis: UnwrapRef readonly asyncComputed: UnwrapRef readonly autoResetRef: UnwrapRef readonly computed: UnwrapRef diff --git a/src/views/details/index.scss b/src/views/details/index.scss index f8973ae..f86e1ef 100644 --- a/src/views/details/index.scss +++ b/src/views/details/index.scss @@ -12,7 +12,11 @@ .comparisonInfo { .stackedLine { width: 100%; - height: 80vh; + height: 82vh; + font-size: 1.4rem; + text-align: center; + color: #606266; + line-height: 82vh; } } } diff --git a/src/views/details/index.vue b/src/views/details/index.vue index 7b3bf6d..ca759af 100644 --- a/src/views/details/index.vue +++ b/src/views/details/index.vue @@ -1,7 +1,7 @@