feat: 完成代码逻辑错误修复和任务清理系统实现

主要更新:
- 修复了所有主要的代码逻辑错误
- 实现了完整的任务清理系统
- 添加了系统设置页面的任务清理管理功能
- 修复了API调用认证问题
- 优化了密码加密和验证机制
- 统一了错误处理模式
- 添加了详细的文档和测试工具

新增功能:
- 任务清理管理界面
- 任务归档和清理日志
- API监控和诊断工具
- 完整的测试套件

技术改进:
- 修复了Repository方法调用错误
- 统一了模型方法调用
- 改进了类型安全性
- 优化了代码结构和可维护性
This commit is contained in:
AIGC Developer
2025-10-27 10:46:49 +08:00
parent 473e0f6a7e
commit 8c55f9f376
161 changed files with 22720 additions and 327 deletions

View File

@@ -30,6 +30,7 @@ const MemberManagement = () => import('@/views/MemberManagement.vue')
const SystemSettings = () => import('@/views/SystemSettings.vue')
const GenerateTaskRecord = () => import('@/views/GenerateTaskRecord.vue')
const HelloWorld = () => import('@/views/HelloWorld.vue')
const TaskStatusPage = () => import('@/views/TaskStatusPage.vue')
const routes = [
{
@@ -38,6 +39,12 @@ const routes = [
component: MyWorks,
meta: { title: '我的作品', requiresAuth: true, keepAlive: true }
},
{
path: '/task-status',
name: 'TaskStatus',
component: TaskStatusPage,
meta: { title: '任务状态', requiresAuth: true }
},
{
path: '/video/:id',
name: 'VideoDetail',
@@ -82,7 +89,7 @@ const routes = [
},
{
path: '/',
redirect: '/welcome' // 重定向到欢迎页面
redirect: '/profile' // 重定向到个人主页
},
{
path: '/welcome',
@@ -243,9 +250,9 @@ router.beforeEach(async (to, from, next) => {
}
}
// 已登录用户访问登录页,重定向到
// 已登录用户访问登录页,重定向到个人主
if (to.meta.guest && userStore.isAuthenticated) {
next('/home')
next('/profile')
return
}