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
d7d6de7c
Commit
d7d6de7c
authored
Jul 16, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备监控
parent
fdf5d990
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
105 additions
and
83 deletions
+105
-83
index.vue
pages/dncmnc/mnc/index.vue
+85
-79
mnc.less
pages/dncmnc/mnc/mnc.less
+2
-2
monitoring.vue
pages/dncmnc/mnc/monitoring.vue
+18
-2
No files found.
pages/dncmnc/mnc/index.vue
View file @
d7d6de7c
...
...
@@ -58,10 +58,10 @@
</div>
</
template
>
<
template
slot=
"card"
slot-scope=
"{row}"
>
<div
class=
"body"
v-for=
"i of 2"
:key=
"i"
>
<div
class=
"body"
>
<Row
class=
"title-i"
>
<Col
:span=
"16"
class=
"order-code"
>
<Ellipsis
:text=
"row.productName
+i
"
:lines=
"1"
tooltip
transfer
/>
<Ellipsis
:text=
"row.productName"
:lines=
"1"
tooltip
transfer
/>
</Col>
<Col
:span=
"4"
class=
"order-code"
>
<a>
查看详情
</a>
...
...
@@ -78,7 +78,7 @@
<div
class=
"panel-text"
>
<Row>
<Col
span=
"8"
>
<a
@
click=
"getImagpage()"
>
<a
@
click=
"getImagpage(
row
)"
>
<img
:src=
"getUrl(row.productUrl)"
width=
"120"
title=
"设备监控详情"
...
...
@@ -118,7 +118,9 @@ export default {
}
},
downUrl
:
fileUrlDown
,
columns
:
[],
columns
:
{
count
:
7
,
},
comondata
:[
{
productName
:
"德玛吉235550"
,
...
...
@@ -152,80 +154,79 @@ export default {
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei05.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei06.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei07.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei08.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei09.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei10.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei11.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei12.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},{
productName
:
"德玛吉235537"
,
statu
:
"运行中"
,
productUrl
:
"shebei13.png"
,
MachineType
:
"V1-256-16334"
,
MachineCode
:
"JCBM-06224"
,
MachineIp
:
"1231-111-26012"
,
information
:
"V-5633-12112"
,
},
// {
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei05.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei06.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei07.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei08.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei09.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei10.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei11.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei12.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },{
// productName: "德玛吉235537",
// statu: "运行中",
// productUrl:"shebei13.png",
// MachineType: "V1-256-16334",
// MachineCode: "JCBM-06224",
// MachineIp: "1231-111-26012",
// information: "V-5633-12112",
// },
],
typeInfo
:
"card"
,
iconInfo
:
"md-apps"
,
...
...
@@ -350,8 +351,13 @@ export default {
}
return
tempUrl
;
},
getImagpage
(){
this
.
$router
.
push
(
"/dncmnc/mnc/monitoring"
);
getImagpage
(
rowDta
){
console
.
log
(
rowDta
)
// this.$router.push("/dncmnc/mnc/monitoring");
this
.
$router
.
push
({
path
:
"/dncmnc/mnc/monitoring"
,
query
:
{
imgData
:
rowDta
}
});
},
gotoTable
(){
//跳转到数据分析表页面 获取id:this.$route.query.id
...
...
pages/dncmnc/mnc/mnc.less
View file @
d7d6de7c
...
...
@@ -15,8 +15,8 @@
.set_card_body{
padding: 10px;
.set_img{
min-
width: 150px;
min-
height: 120px;
width: 150px;
height: 120px;
text-align: center;
}
.statu_box{
...
...
pages/dncmnc/mnc/monitoring.vue
View file @
d7d6de7c
...
...
@@ -14,7 +14,8 @@
<div
class=
"set_card_body"
>
<Row>
<Col
span=
"10"
>
<img
class=
"set_img"
src=
"../image/shebei.png"
alt=
""
/>
<img
class=
"set_img"
:src=
"getUrl()"
alt=
""
/>
<!--
<img
class=
"set_img"
src=
"../image/shebei.png"
alt=
""
/>
-->
</Col>
<Col
span=
"14"
>
<div
class=
"set_masage"
>
...
...
@@ -171,16 +172,31 @@ export default {
Echart3
,
Echart5
,
},
created
(){
// this.laode()
},
data
(){
return
{
formData
:
this
.
$router
.
currentRoute
.
query
};
},
methods
:{
// laode(){},
goView
(){
//返回设备监控页面 获取id:this.$route.query.id
this
.
$router
.
push
(
"/dncmnc/mnc"
);
},
getUrl
()
{
let
url
=
this
.
formData
.
imgData
.
productUrl
let
tempUrl
=
""
;
if
(
url
&&
url
.
length
>
0
)
{
// tempUrl = this.downUrl + url;
tempUrl
=
mncImg
+
url
;
}
else
{
tempUrl
=
iconImg
+
"noPic_product.png"
;
}
return
tempUrl
;
},
},
}
</
script
>
\ 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