Files
one-pipe-system/openspec/changes/update-operations-reports-trend-and-export-scenes/tasks.md
luo 08889d2e42
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Failing after 28m40s
fix: some
2026-09-18 18:11:53 +08:00

25 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Implementation Tasks
## 1. 运营报表页面调整
- [x] 1.1 移除 `activation/index.vue``renewal/index.vue` 表头「汇总数据」标题(保留数据快照与导出操作)
- [x] 1.2 移除报表页趋势图卡片、趋势相关导入/状态/请求及 `granularity` 搜索项
- [x] 1.3 清理报表页趋势相关样式(`.report-toolbar``.report-title``.report-snapshot` 的 margin
## 2. 趋势分析迁入仪表台分析页
- [x] 2.1 新增 `widget/OperationsActivationTrend.vue``widget/OperationsRenewalTrend.vue`(时间范围 + 统计粒度下拉 + 刷新,复用 `OperationsTrendChart`
- [x] 2.2 在 `views/dashboard/analysis/index.vue` 注册两个趋势组件,门禁使用 `isPlatformAccount`
## 3. 导出场景补齐
- [x] 3.1 `ExportTaskScene` 新增 `expiring_asset` / `operations_activation` / `operations_renewal`
- [x] 3.2 `EXPORT_TASK_SCENE_CONFIG` 新增三个场景配置,并修正 `commission_record`→佣金明细、`package_traffic_alert`→套餐真流量达量预警
- [x] 3.3 `routesAlias.ts``asyncRoutes.ts` 新增三个导出任务列表子路由
- [x] 3.4 `zh.json` / `en.json` 新增导出场景菜单标题并同步更新命名
## 4. 验证
- [x] 4.1 `npx eslint --fix``npx stylelint ... --fix``npx vue-tsc --noEmit``npx vite build --mode production`
- [x] 4.2 `npx openspec validate update-operations-reports-trend-and-export-scenes --strict`