This commit is contained in:
Your Name
2026-04-17 14:07:50 +08:00
parent dc34a4e294
commit 1921318c25
11 changed files with 2415 additions and 19 deletions

View File

@@ -13,6 +13,11 @@ export const runtimeApi = {
readiness: () => http.get("/runtime/readiness"),
preflight: () => http.get("/runtime/preflight"),
cluster: () => http.get("/runtime/cluster"),
syncSummary: () => http.get("/runtime/sync-summary"),
debugOverview: (params?: Record<string, unknown>) => http.get("/runtime/debug-overview", { params }),
debugDiagnosis: (params?: Record<string, unknown>) => http.get("/runtime/debug-diagnosis", { params }),
debugHandoff: (params?: Record<string, unknown>) => http.get("/runtime/debug-handoff", { params }),
debugEvents: (params?: Record<string, unknown>) => http.get("/runtime/debug-events", { params }),
action: (action: string) => http.post(`/runtime/actions/${action}`)
};

View File

@@ -61,6 +61,7 @@ let timer: number | null = null;
const menuItems = [
{ path: "/dashboard", label: "概览" },
{ path: "/runtime", label: "运行中心" },
{ path: "/runtime-debug", label: "运行调试" },
{ path: "/settings", label: "系统设置" },
{ path: "/imports", label: "域名导入" },
{ path: "/sensitive-words", label: "敏感词配置" },

View File

@@ -15,6 +15,7 @@ const routes: RouteRecordRaw[] = [
{ path: "", redirect: "/dashboard" },
{ path: "dashboard", name: "dashboard", component: () => import("@/views/dashboard/DashboardView.vue"), meta: { title: "概览" } },
{ path: "runtime", name: "runtime", component: () => import("@/views/runtime/RuntimeView.vue"), meta: { title: "运行中心" } },
{ path: "runtime-debug", name: "runtime-debug", component: () => import("@/views/runtime/RuntimeDebugView.vue"), meta: { title: "运行调试" } },
{ path: "settings", name: "settings", component: () => import("@/views/settings/SettingsView.vue"), meta: { title: "系统设置" } },
{ path: "imports", name: "imports", component: () => import("@/views/imports/ImportsView.vue"), meta: { title: "域名导入" } },
{ path: "sensitive-words", name: "sensitive-words", component: () => import("@/views/sensitive-words/SensitiveWordsView.vue"), meta: { title: "敏感词配置" } },

File diff suppressed because it is too large Load Diff