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

@@ -154,6 +154,12 @@ export const useAuthStore = defineStore('auth', () => {
return userInfo;
}
async function fetchAccessCodes() {
const accessCodes = await getAccessCodesApi();
accessStore.setAccessCodes(accessCodes);
return accessCodes;
}
function $reset() {
loginLoading.value = false;
}
@@ -162,6 +168,7 @@ export const useAuthStore = defineStore('auth', () => {
$reset,
authDevLogin,
authLogin,
fetchAccessCodes,
fetchUserInfo,
loginLoading,
logout,