|
|
@@ -62,33 +62,33 @@ export const asyncRoutes = [
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: '/cm',
|
|
|
+ path: '/am',
|
|
|
component: Layout,
|
|
|
- meta: { title: '智能信发', icon: 'cm' },
|
|
|
+ meta: { title: '素材管理', icon: 'am' },
|
|
|
children: [
|
|
|
{
|
|
|
- name: 'asset-list',
|
|
|
- path: 'asset',
|
|
|
- component: () => import('@/views/platform/media/index'),
|
|
|
+ name: 'media-list',
|
|
|
+ path: 'media',
|
|
|
+ component: () => import('@/views/screen/material/media/index'),
|
|
|
access: [Access.MANAGE_CALENDAR, Access.MANAGE_GROUP],
|
|
|
- meta: { title: '媒资管理' }
|
|
|
+ meta: { title: '媒资' }
|
|
|
},
|
|
|
{
|
|
|
name: 'program-list',
|
|
|
path: 'program',
|
|
|
- component: () => import('@/views/bigscreen/index'),
|
|
|
+ component: () => import('@/views/screen/material/program/index'),
|
|
|
access: [Access.MANAGE_CALENDAR, Access.MANAGE_GROUP],
|
|
|
- meta: { title: '节目管理' }
|
|
|
+ meta: { title: '节目' }
|
|
|
},
|
|
|
{
|
|
|
path: 'recur',
|
|
|
component: Solo,
|
|
|
- meta: { title: '轮播管理' },
|
|
|
+ meta: { title: '轮播' },
|
|
|
children: [
|
|
|
{
|
|
|
name: 'recur-list',
|
|
|
path: '',
|
|
|
- component: () => import('@/views/schedule/index'),
|
|
|
+ component: () => import('@/views/screen/material/schedule/index'),
|
|
|
access: [Access.MANAGE_CALENDAR, Access.MANAGE_GROUP],
|
|
|
meta: { cache: 'ScheduleList' },
|
|
|
props: { type: ScheduleType.RECUR, redirect: 'recur-design' }
|
|
|
@@ -97,7 +97,7 @@ export const asyncRoutes = [
|
|
|
hidden: true,
|
|
|
name: 'recur-design',
|
|
|
path: ':id',
|
|
|
- component: () => import('@/views/schedule/designer/index'),
|
|
|
+ component: () => import('@/views/screen/material/schedule/designer/index'),
|
|
|
access: Access.MANAGE_CALENDAR,
|
|
|
meta: { title: '编辑', cache: 'ScheduleList' },
|
|
|
props: { redirect: 'recur-list' }
|
|
|
@@ -107,12 +107,12 @@ export const asyncRoutes = [
|
|
|
{
|
|
|
path: 'schedule',
|
|
|
component: Solo,
|
|
|
- meta: { title: '排期管理' },
|
|
|
+ meta: { title: '排期' },
|
|
|
children: [
|
|
|
{
|
|
|
name: 'schedule-list',
|
|
|
path: '',
|
|
|
- component: () => import('@/views/schedule/index'),
|
|
|
+ component: () => import('@/views/screen/material/schedule/index'),
|
|
|
access: [Access.MANAGE_CALENDAR, Access.MANAGE_GROUP],
|
|
|
meta: { cache: 'ScheduleList' },
|
|
|
props: { type: ScheduleType.COMPLEX, redirect: 'schedule-design' }
|
|
|
@@ -121,7 +121,7 @@ export const asyncRoutes = [
|
|
|
hidden: true,
|
|
|
name: 'schedule-design',
|
|
|
path: ':id',
|
|
|
- component: () => import('@/views/schedule/designer/index'),
|
|
|
+ component: () => import('@/views/screen/material/schedule/designer/index'),
|
|
|
access: Access.MANAGE_CALENDAR,
|
|
|
meta: { title: '编辑', cache: 'ScheduleList' },
|
|
|
props: { redirect: 'schedule-list' }
|
|
|
@@ -129,17 +129,30 @@ export const asyncRoutes = [
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- name: 'schedule-deploy',
|
|
|
+ path: 'review',
|
|
|
+ component: () => import('@/views/screen/review/single/index'),
|
|
|
+ access: Access.MANAGE_GROUP,
|
|
|
+ meta: { title: '审核' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/cm',
|
|
|
+ component: Layout,
|
|
|
+ meta: { title: '智能信发', icon: 'cm' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ name: 'deploy',
|
|
|
path: 'deploy',
|
|
|
- component: () => import('@/views/schedule/deploy/index'),
|
|
|
+ component: () => import('@/views/screen/deploy/index'),
|
|
|
access: Access.MANAGE_CALENDAR,
|
|
|
- meta: { title: '排期发布' }
|
|
|
+ meta: { title: '发布' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'review',
|
|
|
- component: () => import('@/views/review/index'),
|
|
|
- access: Access.MANAGE_GROUP,
|
|
|
- meta: { title: '审核管理' }
|
|
|
+ path: 'mine',
|
|
|
+ component: () => import('@/views/screen/review/workflow/mine/index'),
|
|
|
+ access: Access.MANAGE_CALENDAR,
|
|
|
+ meta: { title: '我的流程' }
|
|
|
},
|
|
|
{
|
|
|
path: 'workflow',
|
|
|
@@ -150,28 +163,22 @@ export const asyncRoutes = [
|
|
|
{
|
|
|
name: 'workflow-list',
|
|
|
path: '',
|
|
|
- component: () => import('@/views/review/workflow/index'),
|
|
|
+ component: () => import('@/views/screen/review/workflow/index'),
|
|
|
meta: { cache: 'WorkflowList' }
|
|
|
},
|
|
|
{
|
|
|
hidden: true,
|
|
|
name: 'workflow-detail',
|
|
|
path: ':id',
|
|
|
- component: () => import('@/views/review/workflow/detail/index'),
|
|
|
+ component: () => import('@/views/screen/review/workflow/detail/index'),
|
|
|
meta: { title: '审核', cache: 'WorkflowList' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: 'mine',
|
|
|
- component: () => import('@/views/review/workflow/mine/index'),
|
|
|
- access: Access.MANAGE_CALENDAR,
|
|
|
- meta: { title: '我的流程' }
|
|
|
- },
|
|
|
{
|
|
|
name: 'deploy-history',
|
|
|
path: 'history',
|
|
|
- component: () => import('@/views/review/history/index'),
|
|
|
+ component: () => import('@/views/screen/review/history/index'),
|
|
|
access: [Access.MANAGE_CALENDAR, Access.MANAGE_GROUP],
|
|
|
meta: { title: '发布历史' }
|
|
|
}
|
|
|
@@ -182,12 +189,6 @@ export const asyncRoutes = [
|
|
|
component: Layout,
|
|
|
meta: { title: '大屏设备', icon: 'dm' },
|
|
|
children: [
|
|
|
- {
|
|
|
- name: 'device-timeline',
|
|
|
- path: 'timeline',
|
|
|
- component: () => import('@/views/device/timeline/index'),
|
|
|
- meta: { title: '排期预览' }
|
|
|
- },
|
|
|
{
|
|
|
path: 'device',
|
|
|
component: Solo,
|
|
|
@@ -209,36 +210,22 @@ export const asyncRoutes = [
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- name: 'group',
|
|
|
- path: 'group',
|
|
|
- component: () => import('@/views/device/group/index'),
|
|
|
- meta: { title: '分组管理' }
|
|
|
+ name: 'device-timeline',
|
|
|
+ path: 'timeline',
|
|
|
+ component: () => import('@/views/device/timeline/index'),
|
|
|
+ meta: { title: '排期预览' }
|
|
|
},
|
|
|
{
|
|
|
name: 'record',
|
|
|
path: 'record',
|
|
|
component: () => import('@/views/device/record/index'),
|
|
|
meta: { title: '视频回采' }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/dashboard',
|
|
|
- component: Solo,
|
|
|
- meta: { title: '大数据', icon: 'dm' },
|
|
|
- access: [Access.MANAGE_TENANTS, Access.MANAGE_TENANT],
|
|
|
- children: [
|
|
|
- {
|
|
|
- name: 'dashboard-v0',
|
|
|
- path: 'v0',
|
|
|
- component: () => import('@/views/dashboard/v0/index'),
|
|
|
- meta: { title: 'V0' }
|
|
|
},
|
|
|
{
|
|
|
- name: 'dashboard-v1',
|
|
|
- path: 'v1',
|
|
|
- component: () => import('@/views/dashboard/v1/index'),
|
|
|
- meta: { title: 'V1' }
|
|
|
+ name: 'group',
|
|
|
+ path: 'group',
|
|
|
+ component: () => import('@/views/device/group/index'),
|
|
|
+ meta: { title: '分组管理' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
@@ -395,35 +382,43 @@ export const asyncRoutes = [
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: '/l',
|
|
|
+ path: '/d',
|
|
|
component: Layout,
|
|
|
- access: Access.VIEW_LOGS,
|
|
|
- meta: { icon: 'logger' },
|
|
|
+ meta: { icon: 'logger', title: '调试' },
|
|
|
children: [
|
|
|
{
|
|
|
- path: '',
|
|
|
+ path: 'logger',
|
|
|
name: 'logger',
|
|
|
component: () => import('@/views/platform/logger/index'),
|
|
|
+ access: Access.VIEW_LOGS,
|
|
|
meta: { title: '操作日志' }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/d',
|
|
|
- component: Layout,
|
|
|
- access: Access.MANAGE_TENANTS,
|
|
|
- meta: { icon: 'bug', title: '调试' },
|
|
|
- children: [
|
|
|
+ },
|
|
|
{
|
|
|
- path: 'logger',
|
|
|
- name: 'debug',
|
|
|
- component: () => import('@/views/realm/debug/index'),
|
|
|
- meta: { title: '日志' }
|
|
|
+ name: 'dashboard-v0',
|
|
|
+ path: 'v0',
|
|
|
+ component: () => import('@/views/dashboard/v0/index'),
|
|
|
+ access: [Access.MANAGE_TENANTS, Access.MANAGE_TENANT],
|
|
|
+ meta: { title: '大数据V0' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'dashboard-v1',
|
|
|
+ path: 'v1',
|
|
|
+ component: () => import('@/views/dashboard/v1/index'),
|
|
|
+ access: [Access.MANAGE_TENANTS, Access.MANAGE_TENANT],
|
|
|
+ meta: { title: '大数据V1' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'mqtt',
|
|
|
+ name: 'mqtt',
|
|
|
+ component: () => import('@/views/platform/debug/index'),
|
|
|
+ access: Access.MANAGE_TENANTS,
|
|
|
+ meta: { title: 'MQTT' }
|
|
|
},
|
|
|
{
|
|
|
path: 'simulator',
|
|
|
name: 'simulator',
|
|
|
- component: () => import('@/views/realm/debug/simulator/index'),
|
|
|
+ component: () => import('@/views/platform/simulator/index'),
|
|
|
+ access: Access.MANAGE_TENANTS,
|
|
|
meta: { title: '模拟器' }
|
|
|
}
|
|
|
]
|
|
|
@@ -437,13 +432,13 @@ export const asyncRoutes = [
|
|
|
{
|
|
|
path: 'apk',
|
|
|
name: 'upgrade-apk',
|
|
|
- component: () => import('@/views/realm/upgrade/index'),
|
|
|
+ component: () => import('@/views/platform/upgrade/index'),
|
|
|
meta: { title: '版本管理' }
|
|
|
},
|
|
|
{
|
|
|
path: 'deploy',
|
|
|
name: 'upgrade-deploy',
|
|
|
- component: () => import('@/views/realm/upgrade/deploy/index'),
|
|
|
+ component: () => import('@/views/platform/upgrade/deploy/index'),
|
|
|
meta: { title: '发布升级' }
|
|
|
}
|
|
|
]
|
|
|
@@ -452,7 +447,7 @@ export const asyncRoutes = [
|
|
|
hidden: true,
|
|
|
name: 'program',
|
|
|
path: '/cm/program/:id',
|
|
|
- component: () => import('@/views/bigscreen/ast/index'),
|
|
|
+ component: () => import('@/views/screen/material/program/ast/index'),
|
|
|
props: true
|
|
|
},
|
|
|
{
|