feat: 支持后台配置动态咨询表单
This commit is contained in:
1 parent
aee1cff5a3
commit
54bf385f68
5 files changed
+118
-7
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# 行业模板表单配置管理
|
||||
|
||||
## 目标
|
||||
|
||||
让不同品牌基于行业模板在后台配置、修改、启停咨询表单和字段;表单仍是品牌级 Runtime Workspace 配置,小程序只渲染,不出现行业分支。
|
||||
|
||||
## 交付边界
|
||||
|
||||
- 表单和字段必须按当前管理员品牌隔离。
|
||||
- 禁用表单不得出现在公开 Runtime,也不得接受新的客户提交。
|
||||
- 已有提交保留历史字段快照,不被表单修改破坏。
|
||||
- DTO 使用运行时校验,状态变更有自动化测试。
|
||||
|
||||
## 验收
|
||||
|
||||
- API 支持表单完整查询、编辑、启用 / 禁用和安全删除约束。
|
||||
- Admin 提供可用的表单配置 UI 和明确失败状态。
|
||||
- Runtime、小程序和历史提交回归通过。
|
||||
@@ -0,0 +1,11 @@
|
||||
# 进度
|
||||
|
||||
- 任务:行业模板表单配置管理
|
||||
- 形态:epic
|
||||
- 进度:0/3
|
||||
- 当前:表单生命周期 API
|
||||
- 真相文件:`SUBTASKS.csv`
|
||||
|
||||
## 恢复说明
|
||||
|
||||
继续前读取 `EPIC.md`、`SUBTASKS.csv` 和本文件,从第一个非 `DONE` 子任务继续。
|
||||
@@ -0,0 +1,4 @@
|
||||
id,title,task_type,depends_on,status,task_dir,acceptance_criteria,validation_command,notes
|
||||
1,表单生命周期 API, single-full,,IN_PROGRESS,tasks/form-api,更新启停和删除约束完成并有授权测试,pnpm --filter @personal-brand/api test:integration,
|
||||
2,后台表单配置界面, single-full,1,TODO,tasks/form-ui,能编辑字段和切换启用状态且保留失败输入,pnpm --filter @personal-brand/admin build,
|
||||
3,跨模板回归收口, single-full,2,TODO,tasks/regression,Runtime 和小程序 fixture 全部通过,pnpm --filter @personal-brand/miniapp test:fixture && pnpm --filter @personal-brand/miniapp test:visual-fixture,
|
||||
|
Reference in new issue
Block a user