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
鲁尚清
3 years ago
Commit
49d710a5b5f956878e883f76e7ae3c9d9b864889
1 parent
9e5e0538
master-mj-joke
...
master-500-dev
master-500-dev-lushangqing
master-500-dev-lzc
master-mj
背景组件也根据是否有asm数据显示/隐藏
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
4 deletions
report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/monitorConfigJson/monitor-bg-border.js
report-ui/src/views/report/bigscreen/designer/widget/monitor/bgBorder.vue
report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/monitorConfigJson/monitor-bg-border.js
View file @
49d710a
...
...
@@ -26,6 +26,14 @@ export const monitorBgBorder = {
placeholder
:
''
,
value
:
require
(
"../../../../../../../assets/images/monitor/capacityAnalysis/icon-plat-info.png"
),
},
{
type
:
'el-input-text'
,
label
:
'kpiId'
,
name
:
'vuexFlagKpiId'
,
required
:
false
,
placeholder
:
''
,
value
:
''
,
},
[{
name
:
'标题设置'
,
list
:
[
...
...
report-ui/src/views/report/bigscreen/designer/widget/monitor/bgBorder.vue
View file @
49d710a
<template>
<div class="basicInformation-container" :style="styleObj">
<div class="basicInformation-container" :style="styleObj"
v-if="display"
>
<div class="info-title" :style="titleStyle">
<img :src="imgStyle.titleIcon" alt="" class="icon-title">
{{optionsSetUp.titleName}}
...
...
@@ -14,6 +14,7 @@ export default {
data() {
return {
options: {},
display:true,
optionsSetUp: {},
optionsPosition:{},
optionsData:{},
...
...
@@ -33,7 +34,7 @@ export default {
return {
position: this.ispreview ? "absolute" : "static",
width: allStyle.width + "px",
height:
allStyle.height + "px"
,
height:
this.display?allStyle.height + "px":'0'
,
left: allStyle.left + "px",
top: allStyle.top + "px",
'background':this.transStyle.bgColor,
...
...
@@ -72,7 +73,7 @@ export default {
this.optionsSetUp = val.setup;
this.optionsPosition = val.position;
// this.handlerData();
this.setIsDisplay();
},
deep: true
}
...
...
@@ -83,10 +84,27 @@ export default {
this.optionsSetUp = this.value.setup;
this.optionsPosition = this.value.position;
// this.handlerData();
this.setIsDisplay();
},
methods: {
setIsDisplay(){
let propType=this.$route.query.propType;
if(propType=='res'){
let kpiId='';
let kpiIdFla=this.transStyle.vuexFlagKpiId;
if(kpiIdFla){
kpiId=this.transStyle.vuexFlagKpiId
}
if(kpiId=='KPI922F8FF7'){
this.display=this.$route.query.display=='true'?true:false;
}else{
this.display=true;
}
}else{
this.display=true;
}
},
handlerData() {
const resData = this.optionsData;
resData.dataType == "staticData"
...
...
Please
register
or
login
to post a comment