NEZ-2802 feat: alertMessaheInfo dashborad 样式优化
This commit is contained in:
@@ -427,6 +427,9 @@
|
||||
.integration-dashboard{
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
.nz-chart__component.nz-chart__component--bottom .legend-container {
|
||||
max-height: 60px;
|
||||
}
|
||||
.dashboard-container{
|
||||
height: 100%;
|
||||
.table-list{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
.legend-container{
|
||||
overflow: auto;
|
||||
width: calc(100% - 30px);
|
||||
max-height:80px;
|
||||
max-height:80px !important;
|
||||
min-height:25px;
|
||||
/*height: 80px;*/
|
||||
font-size:12px;
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<i class="nz-icon nz-icon-maxview tool__icon"></i>
|
||||
</div>
|
||||
</span>
|
||||
<span class="chart-header__tool" v-if="!chartInfo.repeatIndex&&from!=='integration'">
|
||||
<span class="chart-header__tool" v-if="!chartInfo.repeatIndex && from!=='integration' && showTool">
|
||||
<el-dropdown v-clickoutside="clickos" v-has="['main_edit','main_delete','main_add']" trigger="click">
|
||||
<i class="el-icon-more tool__icon" @click.stop="dropdownMenuShow = !dropdownMenuShow" :title="$t('overall.more')"></i>
|
||||
<el-dropdown-menu style="display: none" class="temp-dropdown"></el-dropdown-menu>
|
||||
|
||||
@@ -27,6 +27,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
showTool: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
hiddenText: { // 隐藏图表的悬浮文字
|
||||
type: String
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
@groupShow="groupShow"
|
||||
:isExportHtml="isExportHtml"
|
||||
:dataJson="dataJson"
|
||||
:showTool="showTool"
|
||||
:chart-detail-info="chartDetailInfo"
|
||||
:hiddenText="showHidden[item.id]&&showHidden[item.id].hiddenText"
|
||||
@refreshPanel="refreshPanel"
|
||||
@@ -129,6 +130,10 @@ export default {
|
||||
variablesInit: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
showTool: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
@edit-chart="$emit('edit-chart', chartInfo)"
|
||||
@refresh="refresh"
|
||||
@sync="chartSync"
|
||||
:showTool="showTool"
|
||||
@groupShow="groupShow"
|
||||
@showFullscreen="showFullscreen"
|
||||
></chart-header>
|
||||
@@ -106,6 +107,10 @@ export default {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
showTool: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
hiddenText: { // 隐藏图表的悬浮文字
|
||||
type: String
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
:nowTimeType="nowTimeType"
|
||||
:from="from"
|
||||
:time-range="searchTime"
|
||||
:show-tool="false"
|
||||
:showTool="false"
|
||||
:loading="chartListLoading"
|
||||
></chart-list>
|
||||
</div>
|
||||
@@ -152,13 +152,13 @@ export default {
|
||||
this.chartListLoading = true
|
||||
this.$get('visual/dashboard/chart?dashboardId=' + params.dashboardId + '&groupId=0' + '&pageSize=-1').then(response => {
|
||||
if (response.code === 200) {
|
||||
this.chartListLoading = false
|
||||
this.dataList = response.data.list.map(item => {
|
||||
return {
|
||||
...item,
|
||||
loaded: false
|
||||
}
|
||||
})
|
||||
this.chartListLoading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user