| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- [
- {
- "id": "A1-entry",
- "desc": "/cockpit 可打开并渲染外壳",
- "pass": true,
- "evidence": "entry=http://localhost:8000/#/cockpit"
- },
- {
- "id": "A2-structure",
- "desc": "顶栏、左栏、右栏、中央地图占位同时出现且各一份",
- "pass": true,
- "evidence": "{\"brand\":\"城市生命线驾驶舱\",\"topbar\":true,\"shells\":1,\"left\":1,\"right\":1,\"maps\":1,\"mapTitle\":\"中央一张图占位\",\"panels\":4}"
- },
- {
- "id": "A3-mode-buttons",
- "desc": "顶栏四个一级模式可切且文案正确",
- "pass": true,
- "evidence": "[\"总体概览\",\"基础设施\",\"运行监测\",\"预警处置\"]"
- },
- {
- "id": "A4-default-mode",
- "desc": "默认模式为 overview,高亮与 aria-pressed 同步",
- "pass": true,
- "evidence": "{\"count\":1,\"text\":\"总体概览\",\"hasClass\":true,\"meta\":\"只读视图 · 当前模式 overview\",\"href\":\"http://localhost:8000/#/cockpit\",\"historyLength\":2}"
- },
- {
- "id": "A5-overview",
- "desc": "总体概览:左右各 2 块,panelId 与中文标题按 ADR 0003",
- "pass": true,
- "evidence": "left=[{\"id\":\"situationSummary\",\"label\":\"态势总览\"},{\"id\":\"infrastructureSummary\",\"label\":\"基础设施\"}] right=[{\"id\":\"monitoringSummary\",\"label\":\"运行监测\"},{\"id\":\"alertSettings\",\"label\":\"预警设置\"}]"
- },
- {
- "id": "A5-infrastructure",
- "desc": "基础设施:左右各 2 块,panelId 与中文标题按 ADR 0003",
- "pass": true,
- "evidence": "left=[{\"id\":\"archive\",\"label\":\"基础档案\"},{\"id\":\"operation\",\"label\":\"运行信息\"}] right=[{\"id\":\"management\",\"label\":\"管理信息\"},{\"id\":\"emergency\",\"label\":\"应急保障\"}]"
- },
- {
- "id": "A5-monitoring",
- "desc": "运行监测:左右各 2 块,panelId 与中文标题按 ADR 0003",
- "pass": true,
- "evidence": "left=[{\"id\":\"monitoringOverview\",\"label\":\"监测概览\"},{\"id\":\"monitoringDistribution\",\"label\":\"监测分布\"}] right=[{\"id\":\"operationOverview\",\"label\":\"运行概况\"},{\"id\":\"monitoringPointLedger\",\"label\":\"监测点台账\"}]"
- },
- {
- "id": "A5-warningResponse",
- "desc": "预警处置:左右各 2 块,panelId 与中文标题按 ADR 0003",
- "pass": true,
- "evidence": "left=[{\"id\":\"currentEvents\",\"label\":\"当前预警\"},{\"id\":\"historyAnalysis\",\"label\":\"历史分析\"}] right=[{\"id\":\"responseEfficiency\",\"label\":\"预警效率\"},{\"id\":\"eventAnalysis\",\"label\":\"预警分析\"}]"
- },
- {
- "id": "A6-no-route-change",
- "desc": "切换四个一级模式不新增路由(URL 与 history 长度不变)",
- "pass": true,
- "evidence": "href=http://localhost:8000/#/cockpit history=2 (初始 2)"
- },
- {
- "id": "A7-persistent-nodes",
- "desc": "外壳与中央地图占位未被重建(DOM 实例标记存活)",
- "pass": true,
- "evidence": "shell=shell-instance map=map-instance inner=map-inner mapCount=1"
- },
- {
- "id": "A8-toggle",
- "desc": "点面板标题栏可收起并再展开(aria-expanded / 符号 / 正文显隐同步)",
- "pass": true,
- "evidence": "before={\"expanded\":\"true\",\"mark\":\"−\",\"bodyHidden\":false} collapsed={\"expanded\":\"false\",\"mark\":\"+\",\"bodyHidden\":true,\"isCollapsedClass\":true} re={\"expanded\":\"true\",\"mark\":\"−\",\"bodyHidden\":false}"
- },
- {
- "id": "A9-reset-on-mode-switch",
- "desc": "切换一级模式后全部面板恢复默认展开",
- "pass": true,
- "evidence": "[\"true\",\"true\",\"true\",\"true\"]"
- },
- {
- "id": "A10-no-filter-reset",
- "desc": "切换一级模式不重置全局筛选(机制核实:uiStore 只持 mode/expandedPanelIds,仓库尚无 filterStore)",
- "pass": true,
- "evidence": "uiStore.js:24-30 只写 mode 与 expandedPanelIds;无筛选状态可被重置"
- },
- {
- "id": "A11-no-page-errors",
- "desc": "走查期间无页面级报错",
- "pass": true,
- "evidence": "[]"
- }
- ]
|