docs(design): 删除磁盘监控设计文档并更新前端页面结构规范
- 删除 frontend/src/views/systemMonitor/2026-04-22-disk-monitor-design.md 设计文档 - 删除 frontend/src/views/tools/addLedger/API_DEBUG.md 调试文档 - 在 AGENTS.md 中新增前端页面结构归档章节,规范复杂工具页结构 - 明确 index.vue、components/、utils/ 职责边界和拆分原则 - 规定页面级类型和 contract 脚本管理方式 - 统一复杂页面拆分优先顺序和注意事项
This commit is contained in:
@@ -26,6 +26,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'home',
|
||||
component: () => import('@/views/home/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'HomeWorkbench',
|
||||
title: '首页',
|
||||
icon: 'HomeFilled',
|
||||
isHide: false,
|
||||
@@ -39,6 +40,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'tools',
|
||||
component: () => import('@/views/tools/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'ToolsView',
|
||||
title: '工具中心'
|
||||
}
|
||||
},
|
||||
@@ -47,6 +49,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'toolWaveform',
|
||||
component: () => import('@/views/tools/waveform/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'WaveformView',
|
||||
title: '波形查看'
|
||||
}
|
||||
},
|
||||
@@ -56,6 +59,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
alias: ['/tools/mmsmapping', '/tools/mms-mapping'],
|
||||
component: () => import('@/views/tools/mmsMapping/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'MmsMappingView',
|
||||
title: 'MMS 映射'
|
||||
}
|
||||
},
|
||||
@@ -64,6 +68,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'toolAddData',
|
||||
component: () => import('@/views/tools/addData/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'AddDataView',
|
||||
title: '模拟数据'
|
||||
}
|
||||
},
|
||||
@@ -72,15 +77,25 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'toolAddLedger',
|
||||
component: () => import('@/views/tools/addLedger/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'AddLedgerView',
|
||||
title: '数据台账'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/eventList/index',
|
||||
name: 'eventList',
|
||||
alias: ['/event/eventList'],
|
||||
alias: [
|
||||
'/eventList',
|
||||
'/eventlist',
|
||||
'/eventlist/index',
|
||||
'/event/eventList',
|
||||
'/event/eventList/index',
|
||||
'/event/event-list',
|
||||
'/event/event-list/index'
|
||||
],
|
||||
component: () => import('@/views/event/eventList/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'EventListView',
|
||||
title: '事件列表'
|
||||
}
|
||||
},
|
||||
@@ -113,6 +128,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'systemMonitor',
|
||||
component: () => import('@/views/systemMonitor/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'SystemMonitorPage',
|
||||
title: '系统监控'
|
||||
}
|
||||
},
|
||||
@@ -121,6 +137,7 @@ export const staticRouter: RouteRecordRaw[] = [
|
||||
name: 'diskMonitor',
|
||||
component: () => import('@/views/systemMonitor/diskMonitor/index.vue'),
|
||||
meta: {
|
||||
cacheName: 'DiskMonitorPage',
|
||||
// 磁盘监控页复用系统监控主标签
|
||||
activeMenu: '/systemMonitor',
|
||||
hideTab: true,
|
||||
|
||||
Reference in New Issue
Block a user