feat: 删除旧版路由配置,内容稿件审核旧版文件

This commit is contained in:
rd
2025-09-01 17:13:04 +08:00
parent 3748d0b30b
commit dc358fb0e4
111 changed files with 1 additions and 12966 deletions

View File

@ -1,142 +0,0 @@
// import type { AppRouteRecordRaw } from '../types';
// import { MENU_GROUP_IDS } from '@/router/constants';
// import IconContentManuscript from '@/assets/svg/svg-contentManuscript.svg';
// const COMPONENTS: AppRouteRecordRaw[] = [
// {
// path: '/manuscript',
// name: 'Manuscript',
// redirect: 'manuscript/list',
// meta: {
// locale: '内容稿件',
// icon: IconContentManuscript,
// requiresAuth: true,
// requireLogin: true,
// roles: ['*'],
// id: MENU_GROUP_IDS.CREATIVE_GENERATION_WORKSHOP_ID,
// },
// children: [
// // {
// // path: 'list',
// // name: 'ManuscriptList',
// // meta: {
// // locale: '内容稿件列表',
// // requiresAuth: true,
// // requireLogin: true,
// // roles: ['*'],
// // },
// // component: () => import('@/views/material-center/components/finished-products/manuscript/list/index.vue'),
// // },
// {
// path: 'upload',
// name: 'ManuscriptUpload',
// meta: {
// locale: '稿件上传',
// requiresAuth: true,
// requireLogin: true,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'ManuscriptList',
// },
// component: () => import('@/views/material-center/components/finished-products/manuscript/upload/index.vue'),
// },
// {
// path: 'edit/:id',
// name: 'ManuscriptEdit',
// meta: {
// locale: '账号详情',
// requiresAuth: true,
// requireLogin: true,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'ManuscriptList',
// },
// component: () => import('@/views/material-center/components/finished-products/manuscript/edit/index.vue'),
// },
// {
// path: 'detail/:id',
// name: 'ManuscriptDetail',
// meta: {
// locale: '稿件详情',
// requiresAuth: true,
// requireLogin: true,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'ManuscriptList',
// },
// component: () => import('@/views/material-center/components/finished-products/manuscript/detail/index.vue'),
// },
// // {
// // path: 'check-list',
// // name: 'ManuscriptCheckList',
// // meta: {
// // locale: '内容稿件审核',
// // requiresAuth: true,
// // requireLogin: true,
// // roles: ['*'],
// // },
// // component: () => import('@/views/material-center/components/finished-products/manuscript/check-list/index.vue'),
// // },
// {
// path: 'check-list/detail/:id',
// name: 'ManuscriptCheckListDetail',
// meta: {
// locale: '内容稿件审核详情',
// requiresAuth: true,
// requireLogin: true,
// hideFooter: true,
// hideInMenu: true,
// roles: ['*'],
// activeMenu: 'ManuscriptCheckList',
// },
// component: () => import('@/views/material-center/components/finished-products/manuscript/detail/index.vue'),
// },
// {
// path: 'check',
// name: 'ManuscriptCheck',
// meta: {
// locale: '稿件审核',
// requiresAuth: true,
// requireLogin: true,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'ManuscriptCheckList',
// },
// component: () => import('@/views/material-center/components/finished-products/manuscript/check/index.vue'),
// },
// ],
// },
// {
// path: '/explore/list/:shareCode',
// name: 'ExploreList',
// meta: {
// locale: '分享链接列表',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// hideSidebar: true,
// roles: ['*'],
// },
// component: () => import('@/views/creative-generation-workshop/explore/list/index.vue'),
// },
// {
// path: '/explore/detail/:shareCode/:id',
// name: 'ExploreDetail',
// meta: {
// locale: '分享链接详情',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// hideSidebar: true,
// roles: ['*'],
// },
// component: () => import('@/views/creative-generation-workshop/explore/detail/index.vue'),
// },
// ];
// export default COMPONENTS;

View File

@ -1,115 +0,0 @@
// import type { AppRouteRecordRaw } from '../types';
// import IconContentManuscript from '@/assets/svg/svg-contentManuscript.svg';
// import { MENU_GROUP_IDS } from '@/router/constants';
// // 内容稿件-写手端
// const COMPONENTS: AppRouteRecordRaw[] = [
// {
// path: '/writer/manuscript',
// name: 'WriterManuscript',
// redirect: 'writer/manuscript/list',
// meta: {
// locale: '内容稿件',
// icon: IconContentManuscript,
// requiresAuth: false,
// requireLogin: false,
// roles: ['*'],
// id: MENU_GROUP_IDS.WRITER_CREATIVE_GENERATION_WORKSHOP_ID,
// },
// children: [
// {
// path: 'list/:writerCode',
// name: 'WriterManuscriptList',
// meta: {
// locale: '内容稿件列表',
// requiresAuth: false,
// requireLogin: false,
// roles: ['*'],
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/list/index.vue'),
// },
// {
// path: 'upload/:writerCode',
// name: 'WriterManuscriptUpload',
// meta: {
// locale: '稿件上传',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'WriterManuscriptList',
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/upload/index.vue'),
// },
// {
// path: 'edit/:writerCode/:id',
// name: 'WriterManuscriptEdit',
// meta: {
// locale: '账号详情',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'WriterManuscriptList',
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/edit/index.vue'),
// },
// {
// path: 'detail/:writerCode/:id',
// name: 'WriterManuscriptDetail',
// meta: {
// locale: '稿件详情',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'ManuscriptList',
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/detail/index.vue'),
// },
// {
// path: 'check-list/:writerCode',
// name: 'WriterManuscriptCheckList',
// meta: {
// locale: '内容稿件审核',
// requiresAuth: false,
// requireLogin: false,
// roles: ['*'],
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/check-list/index.vue'),
// },
// {
// path: 'check-list/detail/:id/:writerCode',
// name: 'WriterManuscriptCheckListDetail',
// meta: {
// locale: '内容稿件审核详情',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// hideInMenu: true,
// roles: ['*'],
// activeMenu: 'WriterManuscriptCheckList',
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/detail/index.vue'),
// },
// {
// path: 'check/:writerCode',
// name: 'WriterManuscriptCheck',
// meta: {
// locale: '稿件审核',
// requiresAuth: false,
// requireLogin: false,
// hideFooter: true,
// roles: ['*'],
// hideInMenu: true,
// activeMenu: 'WriterManuscriptCheckList',
// },
// component: () => import('@/views/creative-generation-workshop/manuscript-writer/check/index.vue'),
// },
// ],
// },
// ];
// export default COMPONENTS;