feat: 业务链条发布审核流程 + 编辑器去除岗位职责输入框

- 发布改为可选「确认审核 / 直接发布」:链条编辑页与圆桌「业务链条」弹窗行为一致;审核中可撤回
- 管理员在业务链条列表新增「待审核」筛选,审核发布后进入公共库
- 后端 roundtable_chains 新增 pending_review 字段(启动期自动补列)与 scope=pending 筛选;新增审核流程测试
- 编辑器席位去掉「岗位职责」输入框(保存时存量值原样保留)
This commit is contained in:
董宏凯 committed 2026-08-25 17:30:29 +08:00
1 parent 40d06b781a
commit 8c3d6a02fc
9 files changed
+462 -81

No files matched your search

@@ -100,6 +100,12 @@ export interface BusinessChain {
gatherFirst?: boolean;
/** 是否已发布为公共(所有账号可在「公共」筛选查看 / 选入研讨)。 */
isPublic?: boolean;
/**
* 「待审核」标记:true = 已在编辑器点「发布 → 确认审核」提交审核,等待管理员在
* 业务链条列表「待审核」筛选里发布;管理员发布时清回 false 并置 isPublic=true。
* 缺省 / false = 未在审核中(草稿或已发布)。
*/
pendingReview?: boolean;
/**
* 启停状态。缺省 / undefined = 启用(存量链条无该字段时按启用处理)。
* 停用后管理弹窗仍可见,选链弹窗 / 公共入口不再选用。