feat: 添加防抖指令和任务管理功能

feat(anchor): 新增主播管理模块

feat(account): 完善客服账号管理功能

feat(knowledge): 添加任务列表查看和重新执行功能

feat(router): 增强路由组件动态导入逻辑

refactor: 优化多个视图的按钮防抖处理

style: 统一代码格式和样式

fix: 修复客服账号状态切换逻辑
This commit is contained in:
2026-04-20 10:20:45 +08:00
parent 4f547b5bff
commit c4bdfe2bb3
15 changed files with 1035 additions and 134 deletions

View File

@@ -236,3 +236,20 @@ export function updateDocumentVector(data: any) {
data,
});
}
// 获取任务列表
export function listTasks() {
return request({
url: '/rag/task/get',
method: 'get',
});
}
// 重新执行任务
export function reexecuteTask(id: string) {
return request({
url: '/rag/task/reexecute',
method: 'post',
data: { id },
});
}