fix:修改BUG

dashboard模块
1.登陆进入页面 header菜单没有默认选中(NEZ-121)
2.表格类型图表,修改height无效(NEZ-121)
3.折线图图表,修改高度为 200px,显示不正常,height应该是整个图表的高度,而不是只是echarts图的高度(NEZ-121)
4.表格 time格式化 包含秒(NEZ-121)
5.预览模块专家模式,表达式输入错误没有提示信息((NEZ-56))
6.panel列表选择专家模式表达式错误的panel,没有错误提示信息(NEZ-63)
This commit is contained in:
hanyuxia
2020-02-17 19:37:06 +08:00
parent a2267c626d
commit 7e118b0601
8 changed files with 27 additions and 58 deletions

View File

@@ -645,7 +645,7 @@
option.title = title;
this.echartStore.setOption(option);//创建图表
this.echartStore.hideLoading();
this.echartStore.resize({height:chartInfo.height});//,width:`${ele.clientWidth-100}`}
//this.echartStore.resize({height:chartInfo.height});//,width:`${ele.clientWidth-100}`}
if(legend && legend.length>0){
this.legendList = [];
legend.forEach((item, i) => {
@@ -662,7 +662,7 @@
if(!chartInfo.height){
this.echartStore.resize({height:(400-divHeight)});
}else {
this.echartStore.resize({height:(chartInfo.height-divHeight)});
this.echartStore.resize({height:(chartInfo.height-divHeight-25)});
}
});
} else if (chartSite === 'screen') { // 全屏显示
@@ -716,7 +716,7 @@
option.title = {};
this.echartModalStore.setOption(option);//显示全屏界面
this.echartModalStore.hideLoading();
this.echartModalStore.resize({height:chartInfo.height});
//this.echartModalStore.resize({height:chartInfo.height});
if(legend && legend.length>0){
this.screenLegendList = [];
legend.forEach((item, i) => {
@@ -733,7 +733,7 @@
if(!chartInfo.height){
this.echartModalStore.resize({height:(400-divHeight)});
}else {
this.echartModalStore.resize({height:(chartInfo.height-divHeight)});
this.echartModalStore.resize({height:(chartInfo.height-divHeight-25)});
}
});
}