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:
@@ -15,7 +15,7 @@
|
||||
<template>
|
||||
|
||||
<div class="list-width">
|
||||
<div class="chartBox" v-for="(item, index) in dataList" :key="item.id" :id="item.title+'_'+item.id">
|
||||
<div class="chartBox" v-for="(item, index) in dataList" :key="item.id" :id="item.title+'_'+item.id">
|
||||
|
||||
<line-chart-block v-if="item.type === 'line' || item.type === 'bar' || item.type === 4" :key="'inner' + item.id"
|
||||
ref="editChart"
|
||||
@@ -288,7 +288,7 @@ export default {
|
||||
}
|
||||
*/
|
||||
let t_date = new Date(dpsItem[0] * 1000);
|
||||
let timeTmp = bus.timeFormate(t_date, 'yyyy-MM-dd hh:mm');
|
||||
let timeTmp = bus.timeFormate(t_date, 'yyyy-MM-dd hh:mm:ss');
|
||||
tableData.push({//表格数据
|
||||
label: host.slice(host.indexOf('{') + 1,host.indexOf('}')),//label
|
||||
metric: queryItem.metric.__name__?queryItem.metric.__name__:'',//metric列
|
||||
|
||||
Reference in New Issue
Block a user