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
7fad61e5
Commit
7fad61e5
authored
Oct 31, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(LED权限): 新增LED模块权限
parent
a1694747
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
179 additions
and
14 deletions
+179
-14
index.js
config/index.js
+2
-2
monitor_index_bg.png
src/assets/images/Monitor/monitor_index_bg.png
+0
-0
route.js
src/lang/zh/route.js
+8
-5
index.js
src/router/index.js
+6
-3
laboratory.js
src/router/modules/laboratory.js
+4
-4
productionPlan.js
src/router/modules/productionPlan.js
+14
-0
MachineOperatingStatus.vue
...views/CenterControl/components/MachineOperatingStatus.vue
+1
-0
MachineStateTrend.vue
src/views/CenterControl/components/MachineStateTrend.vue
+1
-0
index.vue
src/views/ProductionPlan/index.vue
+143
-0
No files found.
config/index.js
View file @
7fad61e5
...
...
@@ -13,9 +13,9 @@ module.exports = {
// 代理后端服务器
proxyTable
:
{
'/host'
:
{
//
target: 'http://10.100.172.150:9108', //设置你调用的接口域名和端口号 别忘了加http
target
:
'http://10.100.172.150:9108'
,
//设置你调用的接口域名和端口号 别忘了加http
// target: 'http://192.168.43.244:8888', // 东伟服务器地址
target
:
'http://192.168.0.126
:8080'
,
// 训浩服务器
// target: 'http://192.168.0.199
:8080', // 训浩服务器
changeOrigin
:
true
,
pathRewrite
:
{
'^/host'
:
''
//这里理解成用‘/host’代替target里面的地址,后面组件中我们掉接口时直接用api代替 比如我要调用'http://40.00.100.100:3002/user/add',直接写‘/api/user/add’即可
...
...
src/assets/images/Monitor/monitor_index_bg.png
View replaced file @
a1694747
View file @
7fad61e5
367 KB
|
W:
|
H:
372 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/lang/zh/route.js
View file @
7fad61e5
...
...
@@ -16,11 +16,6 @@ export default {
Chassis
:
'底盘车间'
,
Final
:
'总装车间'
,
Trial
:
'试交车间'
,
// 化验室数据
Laboratory
:
'化验室数据'
,
Pickling
:
'酸化-磷化线槽液日常检测报告'
,
ElectrophoresisTank
:
'电泳槽液日常检测报告'
,
Pretreatment
:
'前处理槽液日常检测报告'
,
// 设备运行时间
DeviceRunning
:
'设备运行时间'
,
DeviceRunningTime
:
'设备运行时间'
,
...
...
@@ -30,6 +25,14 @@ export default {
WorkshopBasic
:
'车间基础数据'
,
DeviceBasic
:
'设备基础数据'
,
LaneBasic
:
'车道基础数据'
,
// 化验室报告
Laboratory
:
'化验室报告'
,
Pickling
:
'酸化-磷化线槽液日常检测报告'
,
ElectrophoresisTank
:
'电泳槽液日常检测报告'
,
Pretreatment
:
'前处理槽液日常检测报告'
,
// 涂装生产计划
ProductionPlan
:
'涂装生产计划'
,
ProductionPlanIndex
:
'涂装生产计划'
,
// AVI大屏
Monitor
:
'AVI大屏'
,
MonitorIndex
:
'AVI大屏'
,
...
...
src/router/index.js
View file @
7fad61e5
...
...
@@ -15,12 +15,14 @@ import Router from 'vue-router'
import
welcomeRouter
from
'./modules/welcome'
// 车间(设备数据)
import
workshopRouter
from
'./modules/workshop'
// 化验室数据
import
laboratoryRouter
from
'./modules/laboratory'
// 设备运行时间
import
deviceRunningTimeRouter
from
'./modules/deviceRunning'
// 基础数据
import
basicRouter
from
'./modules/basic'
// 化验室报告
import
laboratoryRouter
from
'./modules/laboratory'
// 涂装生产计划
import
productionPlanRouter
from
'./modules/productionPlan'
// AVI大屏
import
monitorRouter
from
'./modules/monitor'
// 监控大屏
...
...
@@ -103,9 +105,10 @@ export const constantRouterMap = [{
export
const
asyncRouterMap
=
[
welcomeRouter
,
workshopRouter
,
laboratoryRouter
,
deviceRunningTimeRouter
,
basicRouter
,
laboratoryRouter
,
productionPlanRouter
,
monitorRouter
,
centerControl
,
systemRouter
,
...
...
src/router/modules/laboratory.js
View file @
7fad61e5
...
...
@@ -2,26 +2,26 @@ export default {
path
:
'/laboratory'
,
component
:
()
=>
import
(
'@/views/Layout'
),
redirect
:
'/laboratory/pickling'
,
meta
:
{
title
:
'Laboratory'
,
icon
:
'
template
'
},
meta
:
{
title
:
'Laboratory'
,
icon
:
'
deal
'
},
alwaysShow
:
true
,
children
:
[
{
path
:
'pickling'
,
component
:
()
=>
import
(
'@/views/Laboratory/Pickling/list'
),
name
:
'Pickling'
,
meta
:
{
title
:
'Pickling'
,
icon
:
'
template
'
,
noCache
:
false
}
meta
:
{
title
:
'Pickling'
,
icon
:
'
deal
'
,
noCache
:
false
}
},
{
path
:
'electrophoresisTank'
,
component
:
()
=>
import
(
'@/views/Laboratory/ElectrophoresisTank/list'
),
name
:
'ElectrophoresisTank'
,
meta
:
{
title
:
'ElectrophoresisTank'
,
icon
:
'
template
'
,
noCache
:
false
}
meta
:
{
title
:
'ElectrophoresisTank'
,
icon
:
'
deal
'
,
noCache
:
false
}
},
{
path
:
'pretreatment'
,
component
:
()
=>
import
(
'@/views/Laboratory/Pretreatment/list'
),
name
:
'Pretreatment'
,
meta
:
{
title
:
'Pretreatment'
,
icon
:
'
template
'
,
noCache
:
false
}
meta
:
{
title
:
'Pretreatment'
,
icon
:
'
deal
'
,
noCache
:
false
}
}
]
}
src/router/modules/productionPlan.js
0 → 100644
View file @
7fad61e5
export
default
{
path
:
'/productionPlan'
,
component
:
()
=>
import
(
'@/views/Layout'
),
redirect
:
'/productionPlan/index'
,
meta
:
{
title
:
'ProductionPlan'
,
icon
:
'edit'
},
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/ProductionPlan/index'
),
name
:
'ProductionPlanIndex'
,
meta
:
{
title
:
'ProductionPlanIndex'
,
icon
:
'edit'
}
}
]
}
src/views/CenterControl/components/MachineOperatingStatus.vue
View file @
7fad61e5
...
...
@@ -17,6 +17,7 @@
placeholder=
"结束时间"
>
</el-date-picker>
<el-button
class=
"ml-10"
@
click=
"doConfirmClick()"
type=
"primary"
size=
"small"
>
...
...
src/views/CenterControl/components/MachineStateTrend.vue
View file @
7fad61e5
...
...
@@ -17,6 +17,7 @@
placeholder=
"结束时间"
>
</el-date-picker>
<el-button
class=
"ml-10"
@
click=
"doConfirmClick()"
type=
"primary"
size=
"small"
>
...
...
src/views/ProductionPlan/index.vue
0 → 100644
View file @
7fad61e5
<
template
>
<div
class=
"page-pack"
>
<div
class=
"title-pack clear-float pl-15 pr-15"
>
<div
class=
"float-left"
>
<span
class=
"page-title-text"
>
涂装生产计划
</span>
</div>
<div
class=
"float-right page-refresh"
>
<span
@
click=
"doRefreshClick"
class=
"pointer"
>
<svg-icon
icon-class=
"refresh"
></svg-icon>
<span
class=
"ml-10"
>
刷新
</span>
</span>
</div>
</div>
<div
class=
"tool-pack clear-float pl-15 pr-15"
>
<Search
searchCode=
"SCADA_EQUIP_INFO"
@
search=
"doSearchClick"
@
reset=
"doResetClick"
>
</Search>
<div
class=
"float-left"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"doImportClick"
>
导入
</el-button>
</div>
</div>
</div>
</
template
>
<
script
>
import
Table
from
'@/components/Table/index.vue'
import
Search
from
'@/components/Search'
export
default
{
name
:
'ProductionPlanIndex'
,
components
:
{
Table
,
Search
},
data
()
{
return
{
// 精准搜索关键字列表
searchList
:
{}
}
},
methods
:
{
// 点击刷新按钮
doRefreshClick
()
{},
// 点击搜索按钮
doSearchClick
()
{},
// 点击重置按钮
doResetClick
()
{},
// 点击导入按钮
doImportClick
()
{}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.page-pack
{
position
:
relative
;
min-height
:
100%
;
width
:
100%
;
border
:
1px
solid
#d2d3d5
;
background-color
:
#fff
;
overflow-y
:
auto
;
.title-pack
{
height
:
38px
;
line-height
:
38px
;
border-bottom
:
1px
solid
#d2d3d5
;
}
.tool-pack
{
padding-top
:
16px
;
padding-bottom
:
16px
;
.tool-tag
{
height
:
32px
;
line-height
:
32px
;
font-size
:
14px
;
}
}
.edit-button
{
color
:
#538FFD
;
}
.status-circle
{
display
:
inline-block
;
width
:
6px
;
height
:
6px
;
border-radius
:
6px
;
margin-right
:
5px
;
vertical-align
:
middle
;
}
.delete-button
{
color
:
#F47476
;
}
.view-span
{
color
:
#1284fa
;
border-bottom
:
1px
solid
#1284fa
;
&
:hover
{
cursor
:
pointer
;
}
}
.el-dialog__body
{
padding
:
30px
30px
10px
20px
!
important
;
.el-row
{
.el-col
{
line-height
:
35px
;
.el-form-item
{
width
:
100%
;
.el-form-item__content
{
width
:
100%
;
.el-input
{
font-size
:
12px
;
height
:
32px
;
}
.el-input__inner
{
height
:
32px
;
}
.el-select
{
width
:
100%
!
important
;
font-size
:
12px
;
height
:
32px
;
}
.el-date-editor
{
width
:
100%
!
important
;
}
}
}
}
}
}
}
</
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