diff --git a/orion-ops-launch/src/main/resources/templates/orion-vue-api.ts.vm b/orion-ops-launch/src/main/resources/templates/orion-vue-api.ts.vm
index 8e4b4240..23fa7ce9 100644
--- a/orion-ops-launch/src/main/resources/templates/orion-vue-api.ts.vm
+++ b/orion-ops-launch/src/main/resources/templates/orion-vue-api.ts.vm
@@ -1,7 +1,7 @@
+import type { DataGrid, Pagination } from '@/types/global';
+import type { TableData } from '@arco-design/web-vue/es/table/interface';
import axios from 'axios';
import qs from 'query-string';
-import { DataGrid, Pagination } from '@/types/global';
-import { TableData } from '@arco-design/web-vue/es/table/interface';
/**
* ${table.comment}创建请求
diff --git a/orion-ops-launch/src/main/resources/templates/orion-vue-router.ts.vm b/orion-ops-launch/src/main/resources/templates/orion-vue-router.ts.vm
index 547d043b..fdb2d039 100644
--- a/orion-ops-launch/src/main/resources/templates/orion-vue-router.ts.vm
+++ b/orion-ops-launch/src/main/resources/templates/orion-vue-router.ts.vm
@@ -1,5 +1,5 @@
+import type { AppRouteRecordRaw } from '../types';
import { DEFAULT_LAYOUT } from '../base';
-import { AppRouteRecordRaw } from '../types';
const $vue.moduleConst: AppRouteRecordRaw = {
name: '$vue.moduleEntityFirstLower',
diff --git a/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-card-list.vue.vm b/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-card-list.vue.vm
index a8414a43..cdfc3064 100644
--- a/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-card-list.vue.vm
+++ b/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-card-list.vue.vm
@@ -106,12 +106,13 @@
-
diff --git a/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-form-drawer.vue.vm b/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-form-drawer.vue.vm
index 0276df88..e085280f 100644
--- a/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-form-drawer.vue.vm
+++ b/orion-ops-launch/src/main/resources/templates/orion-vue-views-components-form-drawer.vue.vm
@@ -53,11 +53,12 @@
-
+
diff --git a/orion-ops-ui/src/directive/index.ts b/orion-ops-ui/src/directive/index.ts
index 85c567f8..a5a849b0 100644
--- a/orion-ops-ui/src/directive/index.ts
+++ b/orion-ops-ui/src/directive/index.ts
@@ -1,4 +1,4 @@
-import { App } from 'vue';
+import type { App } from 'vue';
import permission from './permission';
export default {
diff --git a/orion-ops-ui/src/directive/permission/index.ts b/orion-ops-ui/src/directive/permission/index.ts
index 096b2e07..01731875 100644
--- a/orion-ops-ui/src/directive/permission/index.ts
+++ b/orion-ops-ui/src/directive/permission/index.ts
@@ -1,4 +1,4 @@
-import { DirectiveBinding } from 'vue';
+import type { DirectiveBinding } from 'vue';
import usePermission from '@/hooks/permission';
function checkPermission(el: HTMLElement, binding: DirectiveBinding) {
diff --git a/orion-ops-ui/src/hooks/chart-option.ts b/orion-ops-ui/src/hooks/chart-option.ts
index ab15546a..dd14b572 100644
--- a/orion-ops-ui/src/hooks/chart-option.ts
+++ b/orion-ops-ui/src/hooks/chart-option.ts
@@ -1,5 +1,5 @@
+import type { EChartsOption } from 'echarts';
import { computed } from 'vue';
-import { EChartsOption } from 'echarts';
import { useAppStore } from '@/store';
// for code hints
diff --git a/orion-ops-ui/src/hooks/favorite.ts b/orion-ops-ui/src/hooks/favorite.ts
index 89f201e4..0c3bf747 100644
--- a/orion-ops-ui/src/hooks/favorite.ts
+++ b/orion-ops-ui/src/hooks/favorite.ts
@@ -1,5 +1,6 @@
+import type { FavoriteType } from '@/api/meta/favorite';
import { Message } from '@arco-design/web-vue';
-import { FavoriteType, addFavorite, cancelFavorite } from '@/api/meta/favorite';
+import { addFavorite, cancelFavorite } from '@/api/meta/favorite';
export default function useFavorite(type: FavoriteType) {
const toggle = async (record: any, id: number, cancelField = 'favorite') => {
diff --git a/orion-ops-ui/src/hooks/permission.ts b/orion-ops-ui/src/hooks/permission.ts
index 83f8a1d4..582249d7 100644
--- a/orion-ops-ui/src/hooks/permission.ts
+++ b/orion-ops-ui/src/hooks/permission.ts
@@ -1,4 +1,4 @@
-import { RouteLocationNormalized, RouteRecordNormalized, RouteRecordRaw } from 'vue-router';
+import type { RouteLocationNormalized, RouteRecordNormalized, RouteRecordRaw } from 'vue-router';
import { useMenuStore, useUserStore } from '@/store';
import { STATUS_ROUTER_LIST, WHITE_ROUTER_LIST } from '@/router/constants';
diff --git a/orion-ops-ui/src/hooks/request.ts b/orion-ops-ui/src/hooks/request.ts
index cf1667f7..1ffa19c1 100644
--- a/orion-ops-ui/src/hooks/request.ts
+++ b/orion-ops-ui/src/hooks/request.ts
@@ -1,6 +1,7 @@
-import { ref, UnwrapRef } from 'vue';
-import { AxiosResponse } from 'axios';
-import { HttpResponse } from '@/api/interceptor';
+import type { AxiosResponse } from 'axios';
+import type { HttpResponse } from '@/api/interceptor';
+import type { UnwrapRef } from 'vue';
+import { ref } from 'vue';
import useLoading from './loading';
export default function useRequest(
diff --git a/orion-ops-ui/src/layout/default-layout.vue b/orion-ops-ui/src/layout/default-layout.vue
index cd0bf795..953d43d2 100644
--- a/orion-ops-ui/src/layout/default-layout.vue
+++ b/orion-ops-ui/src/layout/default-layout.vue
@@ -104,7 +104,7 @@
});
-
+
diff --git a/orion-ops-ui/src/router/constants.ts b/orion-ops-ui/src/router/constants.ts
index a3d74a6e..ac9d6ab9 100644
--- a/orion-ops-ui/src/router/constants.ts
+++ b/orion-ops-ui/src/router/constants.ts
@@ -1,5 +1,5 @@
-import { RouteLocationNormalized } from 'vue-router';
-import { TagProps } from '@/store/modules/tab-bar/types';
+import type { RouteLocationNormalized } from 'vue-router';
+import type { TagProps } from '@/store/modules/tab-bar/types';
export const REDIRECT_ROUTE_NAME = 'redirect';
diff --git a/orion-ops-ui/src/router/routes/modules/asset.ts b/orion-ops-ui/src/router/routes/modules/asset.ts
index d40e9ddb..f646478a 100644
--- a/orion-ops-ui/src/router/routes/modules/asset.ts
+++ b/orion-ops-ui/src/router/routes/modules/asset.ts
@@ -1,5 +1,5 @@
+import type { AppRouteRecordRaw } from '../types';
import { DEFAULT_LAYOUT } from '../base';
-import { AppRouteRecordRaw } from '../types';
const ASSET: AppRouteRecordRaw = {
name: 'asset',
diff --git a/orion-ops-ui/src/router/routes/modules/dashboard.ts b/orion-ops-ui/src/router/routes/modules/dashboard.ts
index 153f905c..0161f87d 100644
--- a/orion-ops-ui/src/router/routes/modules/dashboard.ts
+++ b/orion-ops-ui/src/router/routes/modules/dashboard.ts
@@ -1,5 +1,5 @@
+import type { AppRouteRecordRaw } from '../types';
import { DEFAULT_LAYOUT } from '../base';
-import { AppRouteRecordRaw } from '../types';
const DASHBOARD: AppRouteRecordRaw = {
name: 'dashboard',
diff --git a/orion-ops-ui/src/router/routes/modules/system.ts b/orion-ops-ui/src/router/routes/modules/system.ts
index 5b74d766..d783ec9b 100644
--- a/orion-ops-ui/src/router/routes/modules/system.ts
+++ b/orion-ops-ui/src/router/routes/modules/system.ts
@@ -1,5 +1,5 @@
+import type { AppRouteRecordRaw } from '../types';
import { DEFAULT_LAYOUT } from '../base';
-import { AppRouteRecordRaw } from '../types';
const SYSTEM: AppRouteRecordRaw = {
name: 'system',
diff --git a/orion-ops-ui/src/router/routes/modules/user.ts b/orion-ops-ui/src/router/routes/modules/user.ts
index e2f6187d..c95c7fc4 100644
--- a/orion-ops-ui/src/router/routes/modules/user.ts
+++ b/orion-ops-ui/src/router/routes/modules/user.ts
@@ -1,5 +1,5 @@
+import type { AppRouteRecordRaw } from '../types';
import { DEFAULT_LAYOUT } from '../base';
-import { AppRouteRecordRaw } from '../types';
const USER: AppRouteRecordRaw = {
name: 'user',
diff --git a/orion-ops-ui/src/router/routes/types.ts b/orion-ops-ui/src/router/routes/types.ts
index 68ba222b..fa4204cc 100644
--- a/orion-ops-ui/src/router/routes/types.ts
+++ b/orion-ops-ui/src/router/routes/types.ts
@@ -1,5 +1,5 @@
-import { defineComponent } from 'vue';
import type { RouteMeta, NavigationGuard } from 'vue-router';
+import { defineComponent } from 'vue';
export type Component =
| ReturnType
diff --git a/orion-ops-ui/src/store/modules/app/index.ts b/orion-ops-ui/src/store/modules/app/index.ts
index 21fb82d9..6bfa5b10 100644
--- a/orion-ops-ui/src/store/modules/app/index.ts
+++ b/orion-ops-ui/src/store/modules/app/index.ts
@@ -1,5 +1,5 @@
+import type { AppState } from './types';
import { defineStore } from 'pinia';
-import { AppState } from './types';
const defaultConfig: AppState = {
// 应用设置
diff --git a/orion-ops-ui/src/store/modules/cache/index.ts b/orion-ops-ui/src/store/modules/cache/index.ts
index 412472ee..9f40c6cb 100644
--- a/orion-ops-ui/src/store/modules/cache/index.ts
+++ b/orion-ops-ui/src/store/modules/cache/index.ts
@@ -1,5 +1,5 @@
+import type { CacheState } from './types';
import { defineStore } from 'pinia';
-import { CacheState } from './types';
export type CacheType = 'menus' | 'roles' | 'hostTags' | 'hostKeys' | 'hostIdentities' | 'dictKeys' | string
diff --git a/orion-ops-ui/src/store/modules/cache/types.ts b/orion-ops-ui/src/store/modules/cache/types.ts
index a07142d3..23a00afb 100644
--- a/orion-ops-ui/src/store/modules/cache/types.ts
+++ b/orion-ops-ui/src/store/modules/cache/types.ts
@@ -1,9 +1,9 @@
-import { MenuQueryResponse } from '@/api/system/menu';
-import { RoleQueryResponse } from '@/api/user/role';
-import { TagQueryResponse } from '@/api/meta/tag';
-import { HostKeyQueryResponse } from '@/api/asset/host-key';
-import { HostIdentityQueryResponse } from '@/api/asset/host-identity';
-import { DictKeyQueryResponse } from '@/api/system/dict-key';
+import type { MenuQueryResponse } from '@/api/system/menu';
+import type { RoleQueryResponse } from '@/api/user/role';
+import type { TagQueryResponse } from '@/api/meta/tag';
+import type { HostKeyQueryResponse } from '@/api/asset/host-key';
+import type { HostIdentityQueryResponse } from '@/api/asset/host-identity';
+import type { DictKeyQueryResponse } from '@/api/system/dict-key';
export interface CacheState {
menus: MenuQueryResponse[];
diff --git a/orion-ops-ui/src/store/modules/menu/index.ts b/orion-ops-ui/src/store/modules/menu/index.ts
index ed889844..2c0990c1 100644
--- a/orion-ops-ui/src/store/modules/menu/index.ts
+++ b/orion-ops-ui/src/store/modules/menu/index.ts
@@ -1,8 +1,8 @@
+import type { RouteRecordNormalized } from 'vue-router';
+import type { MenuState } from './types';
import { defineStore } from 'pinia';
import { Notification } from '@arco-design/web-vue';
-import type { RouteRecordNormalized } from 'vue-router';
import { getMenuList } from '@/api/user/auth';
-import { MenuState } from './types';
import router from '@/router';
export default defineStore('menu', {
diff --git a/orion-ops-ui/src/store/modules/tab-bar/index.ts b/orion-ops-ui/src/store/modules/tab-bar/index.ts
index 1a6e599a..03a44028 100644
--- a/orion-ops-ui/src/store/modules/tab-bar/index.ts
+++ b/orion-ops-ui/src/store/modules/tab-bar/index.ts
@@ -1,7 +1,7 @@
+import type { TabBarState, TagProps } from './types';
import { defineStore } from 'pinia';
import { DEFAULT_ROUTE_NAME, DEFAULT_TAB } from '@/router/constants';
import { isString } from '@/utils/is';
-import { TabBarState, TagProps } from './types';
export default defineStore('tabBar', {
state: (): TabBarState => ({
diff --git a/orion-ops-ui/src/store/modules/tips/index.ts b/orion-ops-ui/src/store/modules/tips/index.ts
index ee2c1c4d..b134e990 100644
--- a/orion-ops-ui/src/store/modules/tips/index.ts
+++ b/orion-ops-ui/src/store/modules/tips/index.ts
@@ -1,5 +1,5 @@
+import type { TipsState } from './types';
import { defineStore } from 'pinia';
-import { TipsState } from './types';
import { setTipsTipped } from '@/api/user/tips';
export default defineStore('tips', {
diff --git a/orion-ops-ui/src/store/modules/user/index.ts b/orion-ops-ui/src/store/modules/user/index.ts
index fe091454..61b08f35 100644
--- a/orion-ops-ui/src/store/modules/user/index.ts
+++ b/orion-ops-ui/src/store/modules/user/index.ts
@@ -1,9 +1,10 @@
+import type { UserState } from './types';
+import type { LoginRequest } from '@/api/user/auth';
import { defineStore } from 'pinia';
-import { getUserPermission, login as userLogin, LoginRequest, logout as userLogout } from '@/api/user/auth';
+import { getUserPermission, login as userLogin, logout as userLogout } from '@/api/user/auth';
import { clearToken, setToken } from '@/utils/auth';
import { md5 } from '@/utils';
import { removeRouteListener } from '@/utils/route-listener';
-import { UserState } from './types';
import { useAppStore, useMenuStore, useTabBarStore, useTipsStore } from '@/store';
export default defineStore('user', {
diff --git a/orion-ops-ui/src/types/axios.d.ts b/orion-ops-ui/src/types/axios.d.ts
index 00cd1c0d..9e1a924a 100644
--- a/orion-ops-ui/src/types/axios.d.ts
+++ b/orion-ops-ui/src/types/axios.d.ts
@@ -1,5 +1,5 @@
// eslint-disable-next-line @typescript-eslint/no-unused-vars
-import { AxiosRequestConfig } from 'axios';
+import type { AxiosRequestConfig } from 'axios';
declare module 'axios' {
// eslint-disable-next-line no-shadow
diff --git a/orion-ops-ui/src/types/card.ts b/orion-ops-ui/src/types/card.ts
index b0b4d4e1..61cf4314 100644
--- a/orion-ops-ui/src/types/card.ts
+++ b/orion-ops-ui/src/types/card.ts
@@ -1,5 +1,6 @@
-import { PaginationProps, ResponsiveValue } from '@arco-design/web-vue';
-import { reactive, VNodeChild } from 'vue';
+import type { PaginationProps, ResponsiveValue } from '@arco-design/web-vue';
+import type { VNodeChild } from 'vue';
+import { reactive } from 'vue';
/**
* 字段对齐方式
diff --git a/orion-ops-ui/src/types/echarts.ts b/orion-ops-ui/src/types/echarts.ts
index ac4578ac..170a4da8 100644
--- a/orion-ops-ui/src/types/echarts.ts
+++ b/orion-ops-ui/src/types/echarts.ts
@@ -1,4 +1,4 @@
-import { CallbackDataParams } from 'echarts/types/dist/shared';
+import type { CallbackDataParams } from 'echarts/types/dist/shared';
export interface ToolTipFormatterParams extends CallbackDataParams {
axisDim: string;
diff --git a/orion-ops-ui/src/types/table.ts b/orion-ops-ui/src/types/table.ts
index b2dc5a5e..12302637 100644
--- a/orion-ops-ui/src/types/table.ts
+++ b/orion-ops-ui/src/types/table.ts
@@ -1,4 +1,4 @@
-import { PaginationProps, TableRowSelection } from '@arco-design/web-vue';
+import type { PaginationProps, TableRowSelection } from '@arco-design/web-vue';
import { reactive } from 'vue';
/**
diff --git a/orion-ops-ui/src/utils/index.ts b/orion-ops-ui/src/utils/index.ts
index 2ddfc913..85d30a6d 100644
--- a/orion-ops-ui/src/utils/index.ts
+++ b/orion-ops-ui/src/utils/index.ts
@@ -1,5 +1,5 @@
+import type { Ref } from 'vue';
import { Md5 } from 'ts-md5';
-import { Ref } from 'vue';
type TargetContext = '_self' | '_parent' | '_blank' | '_top';
diff --git a/orion-ops-ui/src/utils/route-listener.ts b/orion-ops-ui/src/utils/route-listener.ts
index 5ec44c9b..09cbe858 100644
--- a/orion-ops-ui/src/utils/route-listener.ts
+++ b/orion-ops-ui/src/utils/route-listener.ts
@@ -1,5 +1,6 @@
-import mitt, { Handler } from 'mitt';
import type { RouteLocationNormalized } from 'vue-router';
+import type { Handler } from 'mitt';
+import mitt from 'mitt';
const emitter = mitt();
diff --git a/orion-ops-ui/src/views/asset/host-identity/components/host-identity-card-list.vue b/orion-ops-ui/src/views/asset/host-identity/components/host-identity-card-list.vue
index 76fde006..28b1def8 100644
--- a/orion-ops-ui/src/views/asset/host-identity/components/host-identity-card-list.vue
+++ b/orion-ops-ui/src/views/asset/host-identity/components/host-identity-card-list.vue
@@ -124,13 +124,14 @@
};
-
-
diff --git a/orion-ops-ui/src/views/asset/host-identity/components/host-identity-form-modal.vue b/orion-ops-ui/src/views/asset/host-identity/components/host-identity-form-modal.vue
index 81248c31..4e7dee7c 100644
--- a/orion-ops-ui/src/views/asset/host-identity/components/host-identity-form-modal.vue
+++ b/orion-ops-ui/src/views/asset/host-identity/components/host-identity-form-modal.vue
@@ -61,12 +61,14 @@
-
-
diff --git a/orion-ops-ui/src/views/asset/host-key/components/host-key-form-drawer.vue b/orion-ops-ui/src/views/asset/host-key/components/host-key-form-drawer.vue
index 6adad54d..30c57200 100644
--- a/orion-ops-ui/src/views/asset/host-key/components/host-key-form-drawer.vue
+++ b/orion-ops-ui/src/views/asset/host-key/components/host-key-form-drawer.vue
@@ -89,12 +89,14 @@
-
-
+
diff --git a/orion-ops-ui/src/views/base/status/forbidden/index.vue b/orion-ops-ui/src/views/base/status/forbidden/index.vue
index d616becb..85da99ab 100644
--- a/orion-ops-ui/src/views/base/status/forbidden/index.vue
+++ b/orion-ops-ui/src/views/base/status/forbidden/index.vue
@@ -31,7 +31,7 @@
};
-
+
diff --git a/orion-ops-ui/src/views/dashboard/workplace/components/content-chart.vue b/orion-ops-ui/src/views/dashboard/workplace/components/content-chart.vue
index 98da70d9..8edd4c13 100644
--- a/orion-ops-ui/src/views/dashboard/workplace/components/content-chart.vue
+++ b/orion-ops-ui/src/views/dashboard/workplace/components/content-chart.vue
@@ -17,13 +17,14 @@
-
+
diff --git a/orion-ops-ui/src/views/dashboard/workplace/components/data-panel.vue b/orion-ops-ui/src/views/dashboard/workplace/components/data-panel.vue
index 43d89994..89b8dc92 100644
--- a/orion-ops-ui/src/views/dashboard/workplace/components/data-panel.vue
+++ b/orion-ops-ui/src/views/dashboard/workplace/components/data-panel.vue
@@ -90,9 +90,10 @@
:value="2.8"
:precision="1"
:value-from="0"
- animation
- >
- %
+ animation>
+ %
+
+
@@ -102,29 +103,35 @@
-
+
+
diff --git a/orion-ops-ui/src/views/dashboard/workplace/mock.ts b/orion-ops-ui/src/views/dashboard/workplace/mock.ts
index 00ffb4ac..ef436f41 100644
--- a/orion-ops-ui/src/views/dashboard/workplace/mock.ts
+++ b/orion-ops-ui/src/views/dashboard/workplace/mock.ts
@@ -1,7 +1,7 @@
+import type { GetParams } from '@/types/global';
import Mock from 'mockjs';
import qs from 'query-string';
import dayjs from 'dayjs';
-import { GetParams } from '@/types/global';
import setupMock, { successResponseWrap } from '@/utils/setup-mock';
const textList = [
diff --git a/orion-ops-ui/src/views/system/dict-key/components/dict-key-form-modal.vue b/orion-ops-ui/src/views/system/dict-key/components/dict-key-form-modal.vue
index 205a0564..191609c9 100644
--- a/orion-ops-ui/src/views/system/dict-key/components/dict-key-form-modal.vue
+++ b/orion-ops-ui/src/views/system/dict-key/components/dict-key-form-modal.vue
@@ -92,13 +92,15 @@