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

1.4 KiB
Raw Blame History

Implementation Tasks

1. 运营报表页面调整

  • 1.1 移除 activation/index.vuerenewal/index.vue 表头「汇总数据」标题(保留数据快照与导出操作)
  • 1.2 移除报表页趋势图卡片、趋势相关导入/状态/请求及 granularity 搜索项
  • 1.3 清理报表页趋势相关样式(.report-toolbar.report-title.report-snapshot 的 margin

2. 趋势分析迁入仪表台分析页

  • 2.1 新增 widget/OperationsActivationTrend.vuewidget/OperationsRenewalTrend.vue(时间范围 + 统计粒度下拉 + 刷新,复用 OperationsTrendChart
  • 2.2 在 views/dashboard/analysis/index.vue 注册两个趋势组件,门禁使用 isPlatformAccount

3. 导出场景补齐

  • 3.1 ExportTaskScene 新增 expiring_asset / operations_activation / operations_renewal
  • 3.2 EXPORT_TASK_SCENE_CONFIG 新增三个场景配置,并修正 commission_record→佣金明细、package_traffic_alert→套餐真流量达量预警
  • 3.3 routesAlias.tsasyncRoutes.ts 新增三个导出任务列表子路由
  • 3.4 zh.json / en.json 新增导出场景菜单标题并同步更新命名

4. 验证

  • 4.1 npx eslint --fixnpx stylelint ... --fixnpx vue-tsc --noEmitnpx vite build --mode production
  • 4.2 npx openspec validate update-operations-reports-trend-and-export-scenes --strict