feat:新增功能

1.表格类型图表全屏显示增加时间选择器
fix:修改BUG
1.dashboard图表曲线图tooltip信息显示不全调整
2.dashboard图表图例tooltip信息显示不全调整
3.指标预览多图展示图表名称调整为metric(ip)
This commit is contained in:
hanyuxia
2020-01-16 16:56:28 +08:00
parent 405c9ab66b
commit 0f72442e9c
7 changed files with 234 additions and 16 deletions

View File

@@ -154,6 +154,7 @@
<div class="box-content">
<chart-list
@on-edit-chart="editData"
@on-refresh-time="refreshTime"
@on-remove-chart="removeData" ref="chartList"></chart-list>
</div>
</div>
@@ -377,6 +378,11 @@
panelReload(){
this.getTableData();
},
refreshTime(st,et){
const startTime = bus.timeFormate(st, 'yyyy-MM-dd hh:mm');
const endTime = bus.timeFormate(et, 'yyyy-MM-dd hh:mm');
this.searchTime = [startTime, endTime];
},
panelReloadForDel:function(){
if(this.showPanel.id===this.panel.id){
this.showPanel.id ='';