任务执行1-19

This commit is contained in:
zxr
2026-06-26 12:51:19 +08:00
parent 18531bfcac
commit cd5e8b5f2d
64 changed files with 7014 additions and 105 deletions

View File

@@ -63,6 +63,51 @@ export const localMenuFlatItems: MenuItem[] = [
web_url: 'https://ops.apinb.com/view/#/project/management',
created_at: '2026-01-25T10:44:15.33024+08:00',
},
{
id: 12060,
identity: '019ca000-0001-7000-8000-000000000060',
title: '业务系统视图',
title_en: 'Business Systems',
code: 'ops:业务系统视图',
description: '业务健康、拓扑、影响范围和时间线',
app_id: 2,
menu_path: '/business-system',
menu_icon: 'Cluster',
type: 1,
sort_key: 4.2,
created_at: '2026-06-25T10:00:00+08:00',
},
{
id: 12061,
identity: '019ca000-0001-7000-8000-000000000061',
title: '业务系统',
title_en: 'Business System View',
code: 'ops:业务系统视图:业务系统',
app_id: 2,
parent_id: 12060,
menu_path: '/business-system',
component: 'ops/pages/business-system',
menu_icon: 'appstore',
type: 1,
sort_key: 4.3,
created_at: '2026-06-25T10:00:00+08:00',
},
{
id: 12062,
identity: '019ca000-0001-7000-8000-000000000062',
title: '业务系统详情',
title_en: 'Business System Detail',
code: 'ops:业务系统视图:详情',
app_id: 2,
parent_id: 12060,
menu_path: '/business-system/detail',
component: 'ops/pages/business-system/detail',
menu_icon: 'appstore',
type: 1,
sort_key: 4.4,
hide_menu: true,
created_at: '2026-06-25T10:00:00+08:00',
},
{
id: 16,
identity: '019b591d-00f4-73a0-bbdb-aa7da79ed390',
@@ -554,6 +599,22 @@ export const localMenuFlatItems: MenuItem[] = [
sort_key: 27,
created_at: '2025-12-26T13:23:52.126081+08:00',
},
{
id: 12050,
identity: '019c9000-0001-7000-8000-000000000050',
title: '原始事件池',
title_en: 'Raw Events',
code: 'ops:告警管理:原始事件池',
description: '告警管理 - 原始事件池',
app_id: 2,
parent_id: 39,
menu_path: '/alert/raw-events',
component: 'ops/pages/alert/raw-events',
menu_icon: 'appstore',
type: 1,
sort_key: 28,
created_at: '2026-06-25T10:00:00+08:00',
},
{
id: 43,
identity: '019b591d-029e-7c52-ac1d-d94263e00f8e',
@@ -566,7 +627,7 @@ export const localMenuFlatItems: MenuItem[] = [
menu_path: '/alert/tackle',
menu_icon: 'appstore',
type: 1,
sort_key: 28,
sort_key: 29,
created_at: '2025-12-26T13:23:52.094807+08:00',
},
{
@@ -581,7 +642,7 @@ export const localMenuFlatItems: MenuItem[] = [
menu_path: '/alert/history',
menu_icon: 'appstore',
type: 1,
sort_key: 29,
sort_key: 30,
created_at: '2025-12-26T13:23:52.110362+08:00',
},
{
@@ -596,7 +657,7 @@ export const localMenuFlatItems: MenuItem[] = [
menu_path: '/alert/template',
menu_icon: 'appstore',
type: 1,
sort_key: 30,
sort_key: 31,
created_at: '2025-12-26T13:23:52.047548+08:00',
},
{

View File

@@ -17,6 +17,22 @@ export const localMenuItems: MenuItem[] = [
created_at: '2025-12-26T13:23:51.54067+08:00',
children: [],
},
{
id: 12030,
identity: '019c7200-0001-7000-8000-000000000030',
title: '资源上下文',
title_en: 'Resource Context',
code: 'ops:资源上下文',
description: '统一资源、业务系统、资产绑定、指标序列和关联告警上下文',
app_id: 2,
menu_path: '/resource-context',
component: 'ops/pages/resource-context',
menu_icon: 'Cluster',
type: 1,
sort_key: 2,
created_at: '2026-06-26T10:00:00+08:00',
children: [],
},
{
id: 13,
identity: '019b591d-00c3-7955-aa1b-80b5a0c8d6bd',
@@ -31,6 +47,23 @@ export const localMenuItems: MenuItem[] = [
sort_key: 1,
created_at: '2025-12-26T13:23:51.62748+08:00',
children: [
{
id: 12070,
identity: '019ca000-0001-7000-8000-000000000070',
title: 'OPS 大屏管理',
title_en: 'OPS Big Screens',
code: 'ops:可视化大屏管理:ops大屏管理',
description: '大屏分组、权限、轮播、发布和快照管理',
app_id: 2,
parent_id: 13,
menu_path: '/ops/big-screen',
component: 'ops/pages/big-screen',
menu_icon: 'appstore',
type: 1,
sort_key: 1,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
{
id: 14,
identity: '019b591d-00dc-7486-aa93-51e798d3253a',
@@ -67,6 +100,87 @@ export const localMenuItems: MenuItem[] = [
},
],
},
{
id: 12060,
identity: '019ca000-0001-7000-8000-000000000060',
title: '业务系统视图',
title_en: 'Business Systems',
code: 'ops:业务系统视图',
description: '业务健康、拓扑、影响范围和时间线',
app_id: 2,
menu_path: '/business-system',
menu_icon: 'Cluster',
type: 1,
sort_key: 2,
created_at: '2026-06-25T10:00:00+08:00',
children: [
{
id: 12061,
identity: '019ca000-0001-7000-8000-000000000061',
title: '业务系统',
title_en: 'Business System View',
code: 'ops:业务系统视图:业务系统',
app_id: 2,
parent_id: 12060,
menu_path: '/business-system',
component: 'ops/pages/business-system',
menu_icon: 'appstore',
type: 1,
sort_key: 2,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
{
id: 12062,
identity: '019ca000-0001-7000-8000-000000000062',
title: '业务系统详情',
title_en: 'Business System Detail',
code: 'ops:业务系统视图:详情',
app_id: 2,
parent_id: 12060,
menu_path: '/business-system/detail',
component: 'ops/pages/business-system/detail',
menu_icon: 'appstore',
type: 1,
sort_key: 2,
hide_menu: true,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
],
},
{
id: 12080,
identity: '019ca000-0001-7000-8000-000000000080',
title: '运营治理',
title_en: 'Governance',
code: 'ops:运营治理',
description: '告警质量、噪声、建议、容量风险和SLO',
app_id: 2,
menu_path: '/governance',
component: 'ops/pages/governance',
menu_icon: 'Dashboard',
type: 1,
sort_key: 2,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
{
id: 12090,
identity: '019ca000-0001-7000-8000-000000000090',
title: '自动化处置',
title_en: 'Automation',
code: 'ops:自动化处置',
description: '自动化脚本、审批、执行、回滚和审计记录',
app_id: 2,
menu_path: '/automation',
component: 'ops/pages/automation',
menu_icon: 'Thunderbolt',
type: 1,
sort_key: 2,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
{
id: 16,
identity: '019b591d-00f4-73a0-bbdb-aa7da79ed390',
@@ -193,6 +307,23 @@ export const localMenuItems: MenuItem[] = [
sort_key: 4,
created_at: '2025-12-26T13:23:51.77834+08:00',
children: [
{
id: 12022,
identity: '019c7100-0001-7000-8000-000000000022',
title: '采集健康度',
title_en: 'Collection Health',
code: 'ops:综合监控:采集健康度',
description: '综合监控 - 采集任务最近状态与失败原因',
app_id: 2,
parent_id: 23,
menu_path: '/monitor/collection-health',
menu_icon: 'appstore',
component: 'ops/pages/monitor/collection-health',
type: 1,
sort_key: 5,
created_at: '2026-06-24T10:00:00+08:00',
children: [],
},
{
id: 31,
identity: '019b591d-01e3-7adc-b10f-26550a6e3700',
@@ -596,6 +727,40 @@ export const localMenuItems: MenuItem[] = [
created_at: '2025-12-26T13:23:52.126081+08:00',
children: [],
},
{
id: 12050,
identity: '019c9000-0001-7000-8000-000000000050',
title: '原始事件池',
title_en: 'Raw Events',
code: 'ops:告警管理:原始事件池',
description: '告警管理 - 原始事件池',
app_id: 2,
parent_id: 39,
menu_path: '/alert/raw-events',
component: 'ops/pages/alert/raw-events',
menu_icon: 'appstore',
type: 1,
sort_key: 7,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
{
id: 12051,
identity: '019c9000-0001-7000-8000-000000000051',
title: 'Incident 事件',
title_en: 'Incidents',
code: 'ops:告警管理:Incident事件',
description: '告警管理 - Incident 事件归并与状态机',
app_id: 2,
parent_id: 39,
menu_path: '/alert/incidents',
component: 'ops/pages/alert/incidents',
menu_icon: 'appstore',
type: 1,
sort_key: 7,
created_at: '2026-06-25T10:00:00+08:00',
children: [],
},
{
id: 43,
identity: '019b591d-029e-7c52-ac1d-d94263e00f8e',

View File

@@ -12,6 +12,94 @@ const OPS: AppRouteRecordRaw = {
order: 3,
},
children: [
{
path: 'resource-context',
alias: ['/resource-context'],
name: 'OpsResourceContext',
component: () => import('@/views/ops/pages/resource-context/index.vue'),
meta: {
locale: 'menu.ops.resourceContext',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'alert/raw-events',
alias: ['/alert/raw-events'],
name: 'OpsAlertRawEvents',
component: () => import('@/views/ops/pages/alert/raw-events/index.vue'),
meta: {
locale: 'menu.ops.alert.rawEvents',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'alert/incidents',
alias: ['/alert/incidents'],
name: 'OpsAlertIncidents',
component: () => import('@/views/ops/pages/alert/incidents/index.vue'),
meta: {
locale: 'menu.ops.alert.incidents',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'business-system',
alias: ['/business-system'],
name: 'OpsBusinessSystem',
component: () => import('@/views/ops/pages/business-system/index.vue'),
meta: {
locale: 'menu.ops.businessSystem',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'business-system/detail',
alias: ['/business-system/detail'],
name: 'OpsBusinessSystemDetail',
component: () => import('@/views/ops/pages/business-system/detail.vue'),
meta: {
locale: 'menu.ops.businessSystem.detail',
requiresAuth: true,
roles: ['*'],
hideInMenu: true,
},
},
{
path: 'big-screen',
name: 'OpsBigScreen',
component: () => import('@/views/ops/pages/big-screen/index.vue'),
meta: {
locale: 'menu.ops.bigScreen',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'governance',
alias: ['/governance'],
name: 'OpsGovernance',
component: () => import('@/views/ops/pages/governance/index.vue'),
meta: {
locale: 'menu.ops.governance',
requiresAuth: true,
roles: ['*'],
},
},
{
path: 'automation',
alias: ['/automation'],
name: 'OpsAutomation',
component: () => import('@/views/ops/pages/automation/index.vue'),
meta: {
locale: 'menu.ops.automation',
requiresAuth: true,
roles: ['*'],
},
},
// {
// path: 'menu-management',
// name: 'MenuManagement',

View File

@@ -12,6 +12,16 @@ const VISUALIZATION: AppRouteRecordRaw = {
order: 1,
},
children: [
{
path: 'ops-big-screen',
name: 'OpsBigScreenVisualization',
component: () => import('@/views/visualization/ops-big-screen/index.vue'),
meta: {
locale: 'menu.visualization.opsBigScreen',
requiresAuth: true,
roles: ['admin'],
},
},
{
path: 'data-analysis',
name: 'DataAnalysis',