feat: OA 门户首页新增告警监控卡片 (monitor.tlyq.ai)

This commit is contained in:
aiyimickey 2026-07-02 11:25:20 +08:00
parent 69e50905d8
commit 34e685843e
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ function siteUrl(url: string, domain: string): string {
const CORE_SITES = [
{ name: '资产管理', url: 'http://127.0.0.1:6177', desc: 'GPU 服务器、存储服务器等硬件设备信息管理与实时监控', tag: 'CMDB', dot: '#2563eb', domain: 'assets.tlyq.ai' },
{ name: '工单跟踪', url: 'http://127.0.0.1:6176', desc: '故障工单全流程管理SLA 自动计算,月度/周度报告导出', tag: 'ITS', dot: '#7c3aed', domain: 'issue.tlyq.ai' },
{ name: '告警监控', url: 'http://127.0.0.1:6181', desc: '统一告警监控中心,容器/端点健康检查,企业微信告警推送', tag: 'MONITOR', dot: '#4f46e5', domain: 'monitor.tlyq.ai' },
]
const OTHER_SITES = [
@ -25,6 +26,7 @@ const OTHER_SITES = [
const COLORS: Record<string, { light: string; tag: string }> = {
'#2563eb': { light: 'rgba(37,99,235,0.08)', tag: '#2563eb' },
'#7c3aed': { light: 'rgba(124,58,237,0.08)', tag: '#7c3aed' },
'#4f46e5': { light: 'rgba(79,70,229,0.08)', tag: '#4f46e5' },
'#059669': { light: 'rgba(5,150,105,0.08)', tag: '#059669' },
'#d97706': { light: 'rgba(217,119,6,0.08)', tag: '#d97706' },
'#e11d48': { light: 'rgba(225,29,72,0.08)', tag: '#e11d48' },