From 3eb703b4ac83647e82f55383bf6290519e3cfe07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Tue, 15 Sep 2026 18:48:32 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20Task20=20=E6=89=A7=E8=A1=8C=E7=BA=A6?= =?UTF-8?q?=E5=AE=9A=EF=BC=88keepAlive=20=E5=93=8D=E5=BA=94/=E8=AF=AD?= =?UTF-8?q?=E4=B9=89=E5=88=B7=E6=96=B0/=E5=85=B1=E4=BA=AB=E5=B7=A5?= =?UTF-8?q?=E5=85=B7/=E6=97=B6=E5=8C=BA/=E7=AB=9E=E6=80=81=E5=AE=88?= =?UTF-8?q?=E5=8D=AB=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Code --- .../plans/2026-09-15-m1-data-collection-foundation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/superpowers/plans/2026-09-15-m1-data-collection-foundation.md b/docs/superpowers/plans/2026-09-15-m1-data-collection-foundation.md index 73fa894..303fea5 100644 --- a/docs/superpowers/plans/2026-09-15-m1-data-collection-foundation.md +++ b/docs/superpowers/plans/2026-09-15-m1-data-collection-foundation.md @@ -1458,6 +1458,8 @@ export const getSession = (vid: string, sid: string) => ### Task 20: 访客列表页 +**执行约定(Task 18/19 审查沉淀)**:① 详情路由 keepAlive=true——detail.vue 必须在 `onActivated` 或 watch `$route.query.visitor_id` 里响应访客切换,不能只在 setup 读一次;② 访客列表是分页表——useTable 用语义化方法(`refreshCreate`/`refreshUpdate`)而非裸 `refreshData`;③ `formatDateTime` 从 site/index.vue 提取到共享 util(`admin/src/utils/` 下 tracker 模块)供列表/详情复用;④ 后端时间戳已统一 `timezone.localtime().isoformat()`(上海时间),前端直接展示;⑤ 筛选请求带竞态守卫(reqSeq 令牌,参照 dashboard 修法)。 + **Files:** - Create: `admin/src/views/tracker/visitor/index.vue`