feat: 增加分类权限控制

- 新增角色分类授权模型与超级管理员配置接口

- 接入助手、插件、工作流、知识库、素材的分类可见性过滤

- 增加角色页分类权限树与插件多分类可见性支持
This commit is contained in:
2026-03-29 17:16:37 +08:00
parent aaf4c61ff8
commit f49d94e2fe
46 changed files with 1963 additions and 128 deletions

View File

@@ -41,7 +41,7 @@ onMounted(async () => {
getUserUsed();
});
function getCategoryList() {
api.get('/userCenter/botCategory/list').then((res) => {
api.get('/userCenter/botCategory/visibleList').then((res) => {
categories.value = [
{
id: '',

View File

@@ -26,7 +26,7 @@ onMounted(async () => {
getCategoryList();
});
function getCategoryList() {
api.get('/userCenter/workflowCategory/list').then((res) => {
api.get('/userCenter/workflowCategory/visibleList').then((res) => {
categories.value = [
{
id: '',