Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
af3acc59
Commit
af3acc59
authored
Jul 16, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备名称故障状态及信息
parent
b661705b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
28 deletions
+30
-28
index.vue
pages/dncmnc/mnc/index.vue
+17
-18
monitoring.vue
pages/dncmnc/mnc/monitoring.vue
+13
-10
No files found.
pages/dncmnc/mnc/index.vue
View file @
af3acc59
...
...
@@ -19,28 +19,28 @@
<img
src=
"../image/guan.png"
alt=
""
>
<div
class=
"top_text"
>
<p>
关机状态
</p>
<p><b>
1
23
</b></p>
<p><b>
1
</b></p>
</div>
</div>
<div
class=
"search_item search_item02"
@
click=
"filterData()"
>
<img
src=
"../image/kong.png"
alt=
""
>
<div
class=
"top_text"
>
<p>
空闲状态
</p>
<p><b>
1
23
</b></p>
<p><b>
1
</b></p>
</div>
</div>
<div
class=
"search_item search_item03"
@
click=
"filterData()"
>
<img
src=
"../image/guz.png"
alt=
""
>
<div
class=
"top_text"
>
<p>
故障状态
</p>
<p><b>
1
23
</b></p>
<p><b>
1
</b></p>
</div>
</div>
<div
class=
"search_item search_item04"
@
click=
"filterData()"
>
<img
src=
"../image/stay.png"
alt=
""
>
<div
class=
"top_text"
>
<p>
运行状态
</p>
<p><b>
1
23
</b></p>
<p><b>
1
0
</b></p>
</div>
</div>
</div>
...
...
@@ -123,7 +123,7 @@ export default {
},
comondata
:[
{
productName
:
"
德玛吉235550
"
,
productName
:
"
受电弓
"
,
statu
:
"空闲"
,
productUrl
:
"shebei01.png"
,
MachineType
:
"V1-256-16331"
,
...
...
@@ -131,7 +131,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235536
"
,
productName
:
"
列车轮对设备
"
,
statu
:
"关机"
,
productUrl
:
"shebei02.png"
,
MachineType
:
"V1-256-16332"
,
...
...
@@ -139,7 +139,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
走行部
"
,
statu
:
"故障"
,
productUrl
:
"shebei03.png"
,
MachineType
:
"V1-256-16333"
,
...
...
@@ -147,7 +147,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
物流系统
"
,
statu
:
"运行中"
,
productUrl
:
"shebei04.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -155,7 +155,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
安全联锁
"
,
statu
:
"运行中"
,
productUrl
:
"shebei05.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -163,7 +163,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
智能加注设备
"
,
statu
:
"运行中"
,
productUrl
:
"shebei06.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -171,7 +171,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
列车自动清洗机
"
,
statu
:
"运行中"
,
productUrl
:
"shebei07.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -179,7 +179,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
架车机
"
,
statu
:
"运行中"
,
productUrl
:
"shebei08.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -187,7 +187,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
不轮落旋床
"
,
statu
:
"运行中"
,
productUrl
:
"shebei09.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -195,7 +195,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
牵引电机试验台
"
,
statu
:
"运行中"
,
productUrl
:
"shebei10.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -203,7 +203,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
车辆阀类试验台
"
,
statu
:
"运行中"
,
productUrl
:
"shebei11.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -211,7 +211,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
辅助逆变向试验台
"
,
statu
:
"运行中"
,
productUrl
:
"shebei12.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -219,7 +219,7 @@ export default {
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"
德玛吉235537
"
,
productName
:
"
空调负载试验台
"
,
statu
:
"运行中"
,
productUrl
:
"shebei13.png"
,
MachineType
:
"V1-256-16334"
,
...
...
@@ -353,7 +353,6 @@ export default {
},
getImagpage
(
rowDta
){
console
.
log
(
rowDta
)
// this.$router.push("/dncmnc/mnc/monitoring");
this
.
$router
.
push
({
path
:
"/dncmnc/mnc/monitoring"
,
query
:
{
imgData
:
rowDta
}
...
...
pages/dncmnc/mnc/monitoring.vue
View file @
af3acc59
...
...
@@ -19,11 +19,11 @@
</Col>
<Col
span=
"14"
>
<div
class=
"set_masage"
>
<p>
设备名称:
德玛吉235537
</p>
<p>
设备类型:
V1-256-16334
</p>
<p>
设备编码:
JCBM-06224
</p>
<p>
设备IP:
1231-111-26012
</p>
<p>
系统信息:
V-5633-12112
</p>
<p>
设备名称:
{{
formData
.
productName
}}
</p>
<p>
设备类型:
{{
formData
.
MachineType
}}
</p>
<p>
设备编码:
{{
formData
.
MachineCode
}}
</p>
<p>
设备IP:
{{
formData
.
MachineIp
}}
</p>
<p>
系统信息:
{{
formData
.
information
}}
</p>
</div>
</Col>
</Row>
...
...
@@ -35,7 +35,7 @@
<p
class=
"set_top"
>
当前任务信息
</p>
<div
class=
"set_card_body"
>
<div
class=
"set_masage"
>
<p>
当前程序号:德玛吉235537
</p>
<p>
当前程序号:德玛吉
程序
235537
</p>
<p>
零件号:V1-256-16334
</p>
<p>
加工工序号:JCBM-06224
</p>
<p>
当前任务号:RWBH-0617-001
</p>
...
...
@@ -76,8 +76,11 @@
<Row>
<Col
span=
"9"
>
<div
class=
"set_img statu_box"
>
<img
src=
"../image/guz.png"
alt=
""
>
<p>
故障
</p>
<img
v-if=
"formData.statu=='关机'"
src=
"../image/guan.png"
alt=
""
>
<img
v-else-if=
"formData.statu=='空闲'"
src=
"../image/kong.png"
alt=
""
>
<img
v-else-if=
"formData.statu=='故障'"
src=
"../image/guz.png"
alt=
""
>
<img
v-else
src=
"../image/stay.png"
alt=
""
>
<p>
{{
formData
.
statu
}}
</p>
</div>
</Col>
<Col
span=
"15"
>
...
...
@@ -177,7 +180,7 @@ export default {
},
data
(){
return
{
formData
:
this
.
$router
.
currentRoute
.
query
formData
:
this
.
$router
.
currentRoute
.
query
.
imgData
};
},
methods
:{
...
...
@@ -187,7 +190,7 @@ export default {
this
.
$router
.
push
(
"/dncmnc/mnc"
);
},
getUrl
()
{
let
url
=
this
.
formData
.
imgData
.
productUrl
let
url
=
this
.
formData
.
productUrl
let
tempUrl
=
""
;
if
(
url
&&
url
.
length
>
0
)
{
// tempUrl = this.downUrl + url;
...
...
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