feat: 收敛AI资源发布审批生命周期

- 统一工作流、知识库、聊天助手的发布、重新发布、下线与删除链路

- 收敛审批编排、生命周期状态机与展示态,补齐审批管理和快照预览

- 调整审批管理权限模型为单入口页面加内部按钮权限
This commit is contained in:
2026-04-09 17:13:54 +08:00
parent 81125ce55c
commit 4e565aef99
68 changed files with 3859 additions and 817 deletions

View File

@@ -611,6 +611,9 @@ function getTabKey(tab: RouteLocationNormalized | RouteRecordNormalized) {
meta: { fullPathKey } = {},
query = {},
} = tab as RouteLocationNormalized;
if (path === '/sys/approval') {
return path;
}
// pageKey可能是数组查询参数重复时可能出现
const pageKey = Array.isArray(query.pageKey)
? query.pageKey[0]

View File

@@ -1,7 +1,10 @@
interface BotInfo {
alias: string;
anonymousEnabled: boolean;
approvalPending?: boolean;
currentApprovalInstanceId?: number | string;
currentApprovalActionType?: string;
displayPublishStatus?: string;
created: string;
createdBy: number;
deptId: number;