Commit ea104d86 authored by 李志鸣's avatar 李志鸣

fea(Avi Led版本): 新增Led版本avi大屏路由

parent 70a86e6d
......@@ -52,5 +52,8 @@ export default {
CenterControlIndex: '监控大屏',
// 轮播AVI
CarouselAvi: 'AVI轮播',
CarouselAviIndex: 'AVI轮播'
CarouselAviIndex: 'AVI轮播',
// Led avi 轮播
LedCarouselAvi: 'Led Avi 轮播',
LedCarouselAviIndex: 'Led Avi 轮播'
}
......@@ -11,6 +11,7 @@ import store from './store'
// 免登陆白名单
const whiteList = [
'/',
// led
'/led',
'/led/stationElectrophoresis',
'/led/stationInsulatingAnticorrosive',
......@@ -21,6 +22,7 @@ const whiteList = [
'/led/stationSprayDryingRoom',
'/led/workShopPaintingWorkShop',
'/led/stationVoc',
// avi
'/monitor/monitorIndex',
'/monitor/monitorElectrophoresis',
'/monitor/monitorSheetMetalCar',
......@@ -29,7 +31,10 @@ const whiteList = [
'/monitor/monitorMiddleCoat',
'/monitor/monitorComplexionPaint',
'/monitor/monitorFinishedCar',
'/carouselAvi/index'
// pc avi 轮播
'/carouselAvi/index',
// Led avi 轮播
'/ledCarouselAvi/index'
]
NProgress.configure({
......
......@@ -49,6 +49,7 @@ export const constantRouterMap = [{
component: () => import('@/views/ErrorPage/401'),
hidden: true
},
// pc avi 轮播
{
path: '/carouselAvi',
component: () => import('@/views/Layout/lsd'),
......@@ -64,6 +65,7 @@ export const constantRouterMap = [{
}
]
},
// led
{
path: '/led',
component: () => import('@/views/Layout/lsd'),
......@@ -135,6 +137,22 @@ export const constantRouterMap = [{
meta: { title: 'StationVoc', icon: 'template' }
}
]
},
// led avi 轮播
{
path: '/ledCarouselAvi',
component: () => import('@/views/Layout/lsd'),
redirect: '/ledCarouselAvi/index',
meta: { title: 'LedCarouselAvi', icon: 'kanban', openNewWindow: true },
hidden: true,
children: [
{
path: 'index',
component: () => import('@/views/LedCarouselAvi/index'),
name: 'LedCarouselAviIndex',
meta: { title: 'LedCarouselAviIndex', icon: 'kanban' }
}
]
}]
// 业务级路由(后期可能在界面中动态配置)
......
<template>
<div class="page-pack">
<div class="container"></div>
</div>
</template>
<script>
export default {
data () {
return {}
}
}
</script>
<style lang="scss" scoped>
.page-pack {
width: 100%;
height: 100%;
.container {
width: 1556px;
height: 1037px;
margin: 0 auto;
background: url("../../assets/images/LedCarouselAvi/test.png") no-repeat;
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment