feat(project): 新增客流统计独立页面
- 新建 /ops/traffic 路由和客流统计页面 - 新建客流 API 模块(全局/设备/区域维度的实时和趋势接口) - 新建 AreaTree 组件(区域树选择、搜索过滤保留祖先节点、递归获取子孙ID) - 支持全局总览和按区域查看客流数据 - 今日/昨日小时客流趋势对比曲线图、近7天客流趋势折线图 - 核心指标卡片 + 客流态势分析面板 - 更新旧 API 路径适配新后端接口 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,16 @@ const routes: RouteRecordRaw[] = [
|
||||
},
|
||||
component: () => import('#/views/ops/area/index.vue'),
|
||||
},
|
||||
// 客流统计
|
||||
{
|
||||
path: 'traffic',
|
||||
name: 'OpsTraffic',
|
||||
meta: {
|
||||
title: '客流统计',
|
||||
activePath: '/ops/traffic',
|
||||
},
|
||||
component: () => import('#/views/ops/traffic/index.vue'),
|
||||
},
|
||||
// 保洁工单详情
|
||||
{
|
||||
path: 'cleaning/work-order/detail/:id',
|
||||
|
||||
Reference in New Issue
Block a user