Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
anji-plus-report
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
‘superliu’
3 years ago
Commit
86f7d922c93d4d681d47950931b6eb8cbd527688
1 parent
2cf48462
vue 监控 拓扑地址
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
7 deletions
report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/monitorConfigJson/monitor-basic-information-two.js
report-ui/src/views/report/bigscreen/designer/widget/monitor/basicInformationTwo.vue
report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/monitorConfigJson/monitor-basic-information-two.js
View file @
86f7d92
...
...
@@ -62,7 +62,7 @@ export const monitorBasicInformationTwo = {
name
:
'logoAdressBg'
,
required
:
false
,
placeholder
:
''
,
value
:
''
,
value
:
''
},
{
type
:
'el-input-number'
,
...
...
@@ -73,6 +73,22 @@ export const monitorBasicInformationTwo = {
value
:
'14'
},
{
type
:
'el-input-text'
,
label
:
'监控地址'
,
name
:
'jkAddress'
,
required
:
false
,
placeholder
:
''
,
value
:
''
},
{
type
:
'el-input-text'
,
label
:
'拓扑地址'
,
name
:
'topoAddress'
,
required
:
false
,
placeholder
:
''
,
value
:
''
},
{
type
:
'el-input-number'
,
label
:
'图片大小'
,
name
:
'pictureSize'
,
...
...
report-ui/src/views/report/bigscreen/designer/widget/monitor/basicInformationTwo.vue
View file @
86f7d92
...
...
@@ -13,15 +13,15 @@
<!-- <dynamicTableComponents :formData="dtInformationData"></dynamicTableComponents>-->
<div class="basic-ul-right" >
<div @mouseenter="mouseFun" @mouseleave="leaveFun">
<el-row :style="fontStyle">
<el-row
class="backColor"
:style="fontStyle">
<el-col aria-colspan="2">
<a class="link-type" :href="
res
Url" target="_blank">{{informationData[0].name}}</a>
<a class="link-type" :href="
jkAddress.jk
Url" target="_blank">{{informationData[0].name}}</a>
<i class="el-icon-info" v-if="visible" @click="resTopo"/>
</el-col>
</el-row>
</div>
<el-row class="basic-item" :style="fontStyle" v-for="(item,index) in informationData" :key="index">
<el-col
v-if="attrKey.attrKeyVal.indexOf(item.code)>0 && index>0" class="basic-border basic-item-title basic-flex
" :span="10">
<el-col
v-if="attrKey.attrKeyVal.indexOf(item.code)>0 && index>0" class="basic-border basic-item-title basic-flex backColor
" :span="10">
{{ item.name }}
</el-col>
<el-col v-if="attrKey.attrKeyVal.indexOf(item.code)>0 && index>0 " class="basic-border basic-item-content" :span="14"><span>{{ item.value }}</span>
...
...
@@ -132,8 +132,22 @@
imgSizeStyle() {
return {
"width": this.transStyle.pictureSize + "px",
"height" : $(".basic-ul-right").height()
}
},
//监控地址
jkAddress(){
return {
"jkUrl": this.transStyle.jkAddress,
}
},
//拓扑地址
topoAddress(){
return {
"topoUrl": this.transStyle.topoAddress,
}
//https://192.168.0.248:8080/api-web/mxgraph/generateByBusId?busId=35964e90f4cf4a48a0e87f406e6088e2&access_token=dbb1a2d3-8c0d-4a3b-b40b-fdbfd16fa7f8
}
},
watch: {
value: {
...
...
@@ -229,7 +243,7 @@
},
//
resTopo() {
this.topoSrc =
"http://www.baidu.com"
;
this.topoSrc =
this.topoAddress.topoUrl
;
this.topoVisible = true;
},
//弹框关闭确定
...
...
@@ -259,10 +273,12 @@
text-align: left;
padding: 8px 10px;
}
.backColor {
background-color: #f1f6f9;
}
.basic-ul-left {
/*border: 0;*/
width:
10
0%;
width:
5
0%;
height: 100%;
/*padding-left: 10px;*/
/*float: left;*/
...
...
Please
register
or
login
to post a comment