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
b04cbcb9
Commit
b04cbcb9
authored
Oct 16, 2019
by
车宾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into feature-electrophoresis
parents
6fe1ecfd
1c2cf687
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
146 additions
and
2 deletions
+146
-2
route.js
src/lang/zh/route.js
+4
-1
permission.js
src/permission.js
+1
-1
index.js
src/router/index.js
+15
-0
led.js
src/router/modules/led.js
+17
-0
electrophoresis.vue
src/views/Led/Station/electrophoresis.vue
+109
-0
No files found.
src/lang/zh/route.js
View file @
b04cbcb9
...
...
@@ -27,5 +27,8 @@ export default {
LaneBasic
:
'车道基础数据'
,
// AVI大屏
Monitor
:
'AVI大屏'
,
MonitorIndex
:
'AVI大屏'
MonitorIndex
:
'AVI大屏'
,
// Led
Led
:
'Led大屏'
,
StationElectrophoresis
:
'Led大屏'
}
src/permission.js
View file @
b04cbcb9
...
...
@@ -9,7 +9,7 @@ import router from './router'
import
store
from
'./store'
// 免登陆白名单
const
whiteList
=
[
'/'
,
'/
monitoring'
,
'/monitoring/ovenIcebox'
,
'/monitoring/dataBoard
'
]
const
whiteList
=
[
'/'
,
'/
led'
,
'/led/stationElectrophoresis
'
]
NProgress
.
configure
({
showSpinner
:
false
...
...
src/router/index.js
View file @
b04cbcb9
...
...
@@ -42,6 +42,21 @@ export const constantRouterMap = [{
path
:
'/401'
,
component
:
()
=>
import
(
'@/views/ErrorPage/401'
),
hidden
:
true
},
{
path
:
'/led'
,
component
:
()
=>
import
(
'@/views/Layout/lsd'
),
redirect
:
'/led/stationElectrophoresis'
,
meta
:
{
title
:
'Led'
,
icon
:
'template'
,
openNewWindow
:
true
},
hidden
:
true
,
children
:
[
{
path
:
'stationElectrophoresis'
,
component
:
()
=>
import
(
'@/views/Led/Station/electrophoresis'
),
name
:
'StationElectrophoresis'
,
meta
:
{
title
:
'StationElectrophoresis'
,
icon
:
'template'
}
}
]
}]
// 业务级路由(后期可能在界面中动态配置)
...
...
src/router/modules/led.js
0 → 100644
View file @
b04cbcb9
/**
* Led
*/
export
default
{
path
:
'/led'
,
component
:
()
=>
import
(
'@/views/Layout/lsd'
),
redirect
:
'/led/stationElectrophoresis'
,
meta
:
{
title
:
'Led'
,
icon
:
'template'
,
openNewWindow
:
true
},
children
:
[
{
path
:
'stationElectrophoresis'
,
component
:
()
=>
import
(
'@/views/Led/Station/electrophoresis'
),
name
:
'StationElectrophoresis'
,
meta
:
{
title
:
'StationElectrophoresis'
,
icon
:
'template'
}
}
]
}
src/views/Led/Station/electrophoresis.vue
0 → 100644
View file @
b04cbcb9
<
template
>
<div
class=
"page-pack"
>
<div
class=
"title-pack"
>
电泳
</div>
<div
class=
"table-pack"
>
<div
class=
"tr"
>
<div
class=
"th-l"
>
钣金车进车数
</div>
<div
class=
"th-r"
>
{{
width
}}
</div>
</div>
<div
class=
"tr"
>
<div
class=
"th-l"
>
电泳完工挂数
</div>
<div
class=
"th-r"
>
{{
height
}}
</div>
</div>
<div
class=
"info"
>
设备报警信息:
</div>
<div
class=
"time"
>
时间:2019-08-29 09:00:00
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
width
:
0
,
height
:
0
}
},
methods
:
{},
mounted
()
{
setTimeout
(()
=>
{
this
.
width
=
document
.
body
.
offsetWidth
this
.
height
=
document
.
body
.
offsetHeight
},
3000
)
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.page-pack
{
width
:
1710px
;
height
:
860px
;
background-color
:
#111
;
.title-pack
{
width
:
1710px
;
height
:
100px
;
text-align
:
center
;
color
:
yellow
;
line-height
:
100px
;
font-weight
:
bold
;
font-size
:
60px
;
}
.table-pack
{
overflow
:
hidden
;
.tr
{
width
:
1710px
;
height
:
102px
;
.th-l
{
width
:
853px
;
height
:
100px
;
border-top
:
2px
solid
yellow
;
border-right
:
2px
solid
yellow
;
float
:
left
;
text-align
:
center
;
color
:
yellow
;
line-height
:
100px
;
font-weight
:
bold
;
font-size
:
60px
;
}
.th-r
{
width
:
855px
;
height
:
100px
;
border-top
:
2px
solid
yellow
;
float
:
left
;
text-align
:
center
;
color
:
yellow
;
line-height
:
100px
;
font-weight
:
bold
;
font-size
:
60px
;
}
}
.info
{
width
:
1710px
;
height
:
454px
;
border-top
:
2px
solid
yellow
;
color
:
yellow
;
font-weight
:
bold
;
font-size
:
60px
;
}
.time
{
width
:
1710px
;
height
:
100px
;
border-top
:
2px
solid
yellow
;
color
:
yellow
;
font-weight
:
bold
;
line-height
:
100px
;
font-size
:
60px
;
}
}
}
</
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