init: 初始化 hgmj 后台管理项目

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 17:48:09 +08:00
co-authored by Claude Opus 4.7
commit 397398b746
645 changed files with 179153 additions and 0 deletions
@@ -0,0 +1,30 @@
# Checklist
## 接口定义检查
- [ ] 接口方法统一定义在 `src/api/*.js`
- [ ] GET 使用 `params`,POST/PUT 使用 `data`
- [ ] 方法名与业务动作匹配(get/create/update/delete)
- [ ] 请求路径、method、参数字段与后端约定一致
## 页面联调检查
- [ ] 查询参数已整形(时间范围、布尔、数字、空值)
- [ ] 列表响应有默认值(`list`、`total`)
- [ ] 提交按钮有防重复(`submitLoading`/禁用)
- [ ] 删除/危险动作有二次确认
- [ ] 异常场景会关闭 loading 并提示用户
## 错误与权限检查
- [ ] 业务错误提示清晰,不吞异常
- [ ] 网络异常提示可理解(可重试)
- [ ] 401 有登录失效处理
- [ ] 403 有无权限处理与回退路径
## 交付前检查
- [ ] 成功路径通过(查询/提交/删除)
- [ ] 失败路径通过(业务失败/网络异常/权限失败)
- [ ] 执行 `npm run lint` 或 `npm run test-build`
- [ ] 不提交无关改动