|
|
@@ -1,7 +1,7 @@
|
|
|
import Vue from 'vue'
|
|
|
import Router from 'vue-router'
|
|
|
import {
|
|
|
- ScheduleType,
|
|
|
+ // ScheduleType,
|
|
|
Access,
|
|
|
Camera,
|
|
|
CameraInfo,
|
|
|
@@ -85,63 +85,63 @@ export const asyncRoutes = [
|
|
|
component: () => import('@/views/screen/material/program/index'),
|
|
|
meta: { title: '节目' }
|
|
|
},
|
|
|
- {
|
|
|
- path: 'recur',
|
|
|
- component: Solo,
|
|
|
- meta: { title: '轮播' },
|
|
|
- children: [
|
|
|
- {
|
|
|
- name: 'recur-list',
|
|
|
- path: '',
|
|
|
- component: () => import('@/views/screen/material/schedule/index'),
|
|
|
- meta: { cache: 'ScheduleList' },
|
|
|
- props: { type: ScheduleType.RECUR, redirect: 'recur-design' }
|
|
|
- },
|
|
|
- {
|
|
|
- hidden: true,
|
|
|
- name: 'recur-design',
|
|
|
- path: ':id',
|
|
|
- component: () => import('@/views/screen/material/schedule/designer/index'),
|
|
|
- access: Access.MANAGE_CALENDAR,
|
|
|
- meta: { title: '编辑', cache: 'ScheduleList' },
|
|
|
- props: { redirect: 'recur-list' }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'schedule',
|
|
|
- component: Solo,
|
|
|
- meta: { title: '排期' },
|
|
|
- children: [
|
|
|
- {
|
|
|
- name: 'schedule-list',
|
|
|
- path: '',
|
|
|
- component: () => import('@/views/screen/material/schedule/index'),
|
|
|
- meta: { cache: 'ScheduleList' },
|
|
|
- props: { type: ScheduleType.COMPLEX, redirect: 'schedule-design' }
|
|
|
- },
|
|
|
- {
|
|
|
- hidden: true,
|
|
|
- name: 'schedule-design',
|
|
|
- path: ':id',
|
|
|
- component: () => import('@/views/screen/material/schedule/designer/index'),
|
|
|
- access: Access.MANAGE_CALENDAR,
|
|
|
- meta: { title: '编辑', cache: 'ScheduleList' },
|
|
|
- props: { redirect: 'schedule-list' }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: 'recur',
|
|
|
+ // component: Solo,
|
|
|
+ // meta: { title: '轮播' },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // name: 'recur-list',
|
|
|
+ // path: '',
|
|
|
+ // component: () => import('@/views/screen/material/schedule/index'),
|
|
|
+ // meta: { cache: 'ScheduleList' },
|
|
|
+ // props: { type: ScheduleType.RECUR, redirect: 'recur-design' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // hidden: true,
|
|
|
+ // name: 'recur-design',
|
|
|
+ // path: ':id',
|
|
|
+ // component: () => import('@/views/screen/material/schedule/designer/index'),
|
|
|
+ // access: Access.MANAGE_CALENDAR,
|
|
|
+ // meta: { title: '编辑', cache: 'ScheduleList' },
|
|
|
+ // props: { redirect: 'recur-list' }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'schedule',
|
|
|
+ // component: Solo,
|
|
|
+ // meta: { title: '排期' },
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // name: 'schedule-list',
|
|
|
+ // path: '',
|
|
|
+ // component: () => import('@/views/screen/material/schedule/index'),
|
|
|
+ // meta: { cache: 'ScheduleList' },
|
|
|
+ // props: { type: ScheduleType.COMPLEX, redirect: 'schedule-design' }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // hidden: true,
|
|
|
+ // name: 'schedule-design',
|
|
|
+ // path: ':id',
|
|
|
+ // component: () => import('@/views/screen/material/schedule/designer/index'),
|
|
|
+ // access: Access.MANAGE_CALENDAR,
|
|
|
+ // meta: { title: '编辑', cache: 'ScheduleList' },
|
|
|
+ // props: { redirect: 'schedule-list' }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
path: 'tag',
|
|
|
component: () => import('@/views/screen/material/tag/index'),
|
|
|
meta: { title: '资源标签' }
|
|
|
- },
|
|
|
+ }/* ,
|
|
|
{
|
|
|
path: 'review',
|
|
|
component: () => import('@/views/screen/review/single/index'),
|
|
|
access: Access.MANAGE_GROUP,
|
|
|
meta: { title: '审核' }
|
|
|
- }
|
|
|
+ } */
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
@@ -398,15 +398,15 @@ export const asyncRoutes = [
|
|
|
],
|
|
|
meta: { title: '报表导出' }
|
|
|
},
|
|
|
- {
|
|
|
- path: 'internal:dashboard/v0',
|
|
|
- access: Access.MANAGE_TENANT,
|
|
|
- meta: { title: '大数据V0', internal: true }
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // path: 'internal:dashboard/v0',
|
|
|
+ // access: Access.MANAGE_TENANT,
|
|
|
+ // meta: { title: '大数据V0', internal: true }
|
|
|
+ // },
|
|
|
{
|
|
|
path: 'internal:dashboard/v1',
|
|
|
access: Access.MANAGE_TENANT,
|
|
|
- meta: { title: '大数据V1', internal: true }
|
|
|
+ meta: { title: '大数据', internal: true }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -601,11 +601,11 @@ export const asyncRoutes = [
|
|
|
component: () => import('@/views/screen/material/program/ast/index'),
|
|
|
props: true
|
|
|
},
|
|
|
- {
|
|
|
- hidden: true,
|
|
|
- path: '/d/dashboard/v0',
|
|
|
- component: () => import('@/views/dashboard/v0/index')
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // hidden: true,
|
|
|
+ // path: '/d/dashboard/v0',
|
|
|
+ // component: () => import('@/views/dashboard/v0/index')
|
|
|
+ // },
|
|
|
{
|
|
|
hidden: true,
|
|
|
path: '/d/dashboard/v1',
|