From a6fa7ee721b028f5008972f38d96dfa4c80708cf Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期一, 24 八月 2026 16:33:35 +0800
Subject: [PATCH] Merge branch 'dev-0806-wql'
---
tcm-training-admin/config/routes.ts | 147 +++++++++++++++++++++++++++++++++---------------
1 files changed, 101 insertions(+), 46 deletions(-)
diff --git a/tcm-training-admin/config/routes.ts b/tcm-training-admin/config/routes.ts
index 201f113..484ca6e 100644
--- a/tcm-training-admin/config/routes.ts
+++ b/tcm-training-admin/config/routes.ts
@@ -343,52 +343,6 @@
component: './live/health',
},
{
- name: '健康科普',
- path: '/live/course/health-popularization',
- access: 'live:health-popularization:view',
- component: './live/health-popularization',
- },
- {
- name: '新增健康科普',
- path: '/live/course/health-popularization/create',
- hideInMenu: true,
- access: 'live:health-popularization:add',
- component: './live/health-popularization/manage',
- },
- {
- name: '编辑健康科普',
- path: '/live/course/health-popularization/:id/edit',
- hideInMenu: true,
- access: 'live:health-popularization:edit',
- component: './live/health-popularization/manage',
- },
- {
- name: '项目介绍',
- path: '/live/course/project-introduction',
- access: 'live:project-introduction:view',
- component: './live/project-introduction',
- },
- {
- name: '新增项目介绍',
- path: '/live/course/project-introduction/create',
- hideInMenu: true,
- access: 'live:project-introduction:add',
- component: './live/project-introduction/manage',
- },
- {
- name: '编辑项目介绍',
- path: '/live/course/project-introduction/:id/edit',
- hideInMenu: true,
- access: 'live:project-introduction:edit',
- component: './live/project-introduction/manage',
- },
- {
- name: '项目介绍密码',
- path: '/live/course/project-introduction-password',
- access: 'live:project-introduction:view',
- component: './live/project-introduction-password',
- },
- {
name: '视频与课程资源管理',
path: '/live/course/video-resources',
access: 'live:health-course:view',
@@ -463,6 +417,107 @@
access: 'live:expert:view',
component: './live/expert',
},
+ {
+ path: '/live/course/project-introduction/create',
+ hideInMenu: true,
+ redirect: '/live/promotion/project-introduction/create',
+ },
+ {
+ path: '/live/course/project-introduction',
+ hideInMenu: true,
+ redirect: '/live/promotion/project-introduction',
+ },
+ {
+ path: '/live/course/project-introduction-password',
+ hideInMenu: true,
+ redirect: '/live/promotion/project-introduction-password',
+ },
+ {
+ path: '/live/course/health-popularization/create',
+ hideInMenu: true,
+ redirect: '/live/promotion/health-popularization/create',
+ },
+ {
+ path: '/live/course/health-popularization',
+ hideInMenu: true,
+ redirect: '/live/promotion/health-popularization',
+ },
+ ],
+ },
+ {
+ path: '/live/promotion',
+ name: '宣传知识',
+ routes: [
+ {
+ path: '/live/promotion',
+ redirect: '/live/promotion/project-introduction',
+ },
+ {
+ name: '健康知识',
+ path: '/live/promotion/health-popularization',
+ access: 'live:health-popularization:view',
+ component: './live/health-popularization',
+ },
+ {
+ name: '新增健康知识',
+ path: '/live/promotion/health-popularization/create',
+ hideInMenu: true,
+ access: 'live:health-popularization:add',
+ component: './live/health-popularization/manage',
+ },
+ {
+ name: '编辑健康知识',
+ path: '/live/promotion/health-popularization/:id/edit',
+ hideInMenu: true,
+ access: 'live:health-popularization:edit',
+ component: './live/health-popularization/manage',
+ },
+ {
+ name: '养生科普',
+ path: '/live/promotion/health-promotion',
+ access: 'live:health-promotion:view',
+ component: './live/health-promotion',
+ },
+ {
+ name: '新增养生科普',
+ path: '/live/promotion/health-promotion/create',
+ hideInMenu: true,
+ access: 'live:health-promotion:add',
+ component: './live/health-promotion/manage',
+ },
+ {
+ name: '编辑养生科普',
+ path: '/live/promotion/health-promotion/:id/edit',
+ hideInMenu: true,
+ access: 'live:health-promotion:edit',
+ component: './live/health-promotion/manage',
+ },
+ {
+ name: '项目介绍',
+ path: '/live/promotion/project-introduction',
+ access: 'live:project-introduction:view',
+ component: './live/project-introduction',
+ },
+ {
+ name: '新增项目介绍',
+ path: '/live/promotion/project-introduction/create',
+ hideInMenu: true,
+ access: 'live:project-introduction:add',
+ component: './live/project-introduction/manage',
+ },
+ {
+ name: '编辑项目介绍',
+ path: '/live/promotion/project-introduction/:id/edit',
+ hideInMenu: true,
+ access: 'live:project-introduction:edit',
+ component: './live/project-introduction/manage',
+ },
+ {
+ name: '项目介绍密码',
+ path: '/live/promotion/project-introduction-password',
+ access: 'live:project-introduction:view',
+ component: './live/project-introduction-password',
+ },
],
},
],
--
Gitblit v1.7.1