Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中通客车项目
zhongtong-avi-web
Commits
ea104d86
Commit
ea104d86
authored
Nov 09, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(Avi Led版本): 新增Led版本avi大屏路由
parent
70a86e6d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
2 deletions
+55
-2
test.png
src/assets/images/LedCarouselAvi/test.png
+0
-0
route.js
src/lang/zh/route.js
+4
-1
permission.js
src/permission.js
+6
-1
index.js
src/router/index.js
+18
-0
index.vue
src/views/LedCarouselAvi/index.vue
+27
-0
No files found.
src/assets/images/LedCarouselAvi/test.png
0 → 100644
View file @
ea104d86
143 KB
src/lang/zh/route.js
View file @
ea104d86
...
...
@@ -52,5 +52,8 @@ export default {
CenterControlIndex
:
'监控大屏'
,
// 轮播AVI
CarouselAvi
:
'AVI轮播'
,
CarouselAviIndex
:
'AVI轮播'
CarouselAviIndex
:
'AVI轮播'
,
// Led avi 轮播
LedCarouselAvi
:
'Led Avi 轮播'
,
LedCarouselAviIndex
:
'Led Avi 轮播'
}
src/permission.js
View file @
ea104d86
...
...
@@ -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
({
...
...
src/router/index.js
View file @
ea104d86
...
...
@@ -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'
}
}
]
}]
// 业务级路由(后期可能在界面中动态配置)
...
...
src/views/LedCarouselAvi/index.vue
0 → 100644
View file @
ea104d86
<
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment