petstore-docs/qa-reports/门店后台-PhaseA-冒烟清单.md
2026-08-01 23:47:58 +08:00

87 lines
3.0 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.

# 门店 Web 后台 · Phase A 冒烟清单
> OwnerCore Flow QA+ Report Share QA报告段
> 日期2026-07-10
> 环境:`admin` http://localhost:5174 + backend :8080
> 账号boss / staffdev 验证码默认 `123456`
> 验收报告:`docs/qa-reports/门店后台-PhaseA-验收报告-2026-07-10.md`
## 前置
- [x] 自动化:`admin` build / `mvn test` / ontology drift=02026-07-10
- [x] backend 已起:本机 :8080 + 测试服 MySQL2026-07-10
- [x] `cd admin && npm run dev` → http://127.0.0.1:5174
- [x] API 冒烟脚本 PASS`13800138001` / `123456`
- [ ] `.env.development``VITE_PUBLIC_H5_ORIGIN` 指向宠主 H5本地默认 `http://localhost:5173`)— UI 复制链接时核对
## A0 登录壳
- [x] 静态customer 登录后拒绝进壳LoginView「请使用老板账号登录」
- [x] 联机 APIcustomer 调 `/api/admin/store` → 403
- [ ] 联机 UIboss / staff 可进,默认落点 `/workbench`(请本地打开确认)
- [ ] 联机 UI顶栏显示店名与角色退出后需重新登录
## A1 工作台
- [x] 静态:四指标/行动组下钻、服务端完整计数、最多 3 条低敏预览;不再每日强弹
- [x] 静态:成片失败含 failed + processing 超 30 分钟
- [x] 静态:侧栏无收银/库存/会员
- [ ] 联机:数字与列表一致
## A2 预约
- [x] 静态:状态/日期/技师/待出报告筛选;详情抽屉;开始服务/取消
- [x] 静态:列表 enrichment宠主脱敏、hasReport
- [ ] 联机staff/boss 开始服务 `new→doing`
- [ ] 联机:跨店数据不可见
## A6 排班
- [x] 静态:日视图 + 新增/删除占用
- [ ] 联机:与小程序号源一致
## A3 报告
- [x] 静态:三态/超时文案、详情、复制链接、重新生成
- [ ] 联机:复制链接打开 H5 可用
## A4 线索
- [x] 静态pending/all、到期≤今天、打开报告无完整 openid 字段契约在 API
- [ ] 联机:打开关联报告
## A5 客户
- [x] 静态:聚合 API、搜索、无余额汇总、详情抽屉
- [ ] 联机:列表与汇总数字
## A7 设置
- [x] 静态admin/store 邀请码、boss 保存、服务类型/员工管理
- [ ] 联机:改营业时段后小程序号源变化
## 回归命令
```bash
cd /Users/apple/_src/petstore/admin && npm run build
cd /Users/apple/_src/petstore/backend && mvn -q test
python3 /Users/apple/_src/petstore/docs/graph/validate_ontology.py docs
python3 /Users/apple/_src/petstore/docs/graph/audit_drift.py
# 联机 API需 backend 已启动)
export BOSS_PHONE='老板手机号'
export SMS_CODE=123456
bash /Users/apple/_src/petstore/docs/qa-reports/scripts/admin-phase-a-api-smoke.sh
```
## 证据
| 项 | 链接/备注 |
|----|-----------|
| 构建 | `admin` npm run build PASS2026-07-10 |
| 单测 | backend mvn test PASSfailures=0 |
| 本体 | audit_drift 无漂移 |
| 静态对照 | 16/16 PASS |
| 联机 | **API smoke PASS**(测试服 MySQL + 本地 :8080UI 待人工点检 http://127.0.0.1:5174 |
| 问题单 | 无 |