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:
@@ -124,7 +124,7 @@
|
||||
|
||||
<template v-if="tableShow == 2">
|
||||
<el-form-item class="right-box-form-content" prop="expression" :rules="{ required: true, message:$t('validate.required'), trigger: 'blur' }"><!--expression和metric的验证只能有一个,不能同时存在??:rules="{ required: true, type: 'string', message: '', trigger: 'change' }"-->
|
||||
<el-input size="mini" :class="{'right-box-row-with-btn': countTotal > 1, 'full-width': countTotal <= 1}" ref="metricExpression" type="textarea" rows="3" maxlength="512" show-word-limit v-model="elementInfo.expression" :placeholder="this.$t('dashboard.metric.expertTip')" ></el-input>
|
||||
<el-input size="mini" :class="{'right-box-row-with-btn': countTotal > 1, 'full-width': countTotal <= 1}" ref="metricExpression" type="textarea" rows="7" maxlength="1024" show-word-limit v-model="elementInfo.expression" :placeholder="this.$t('dashboard.metric.expertTip')" ></el-input>
|
||||
<div @click="deleteTarget" class="right-box-row-btn" v-if="countTotal > 1" style="vertical-align: top">
|
||||
<i class="el-icon-minus"></i>
|
||||
</div>
|
||||
@@ -132,7 +132,7 @@
|
||||
</template>
|
||||
<template v-if="tableShow == 1">
|
||||
<el-form-item class="right-box-form-content" label-width="80" prop="metric" :rules="{ required: true, message: $t('validate.required'), trigger: 'blur' }"><!--:rules="{ required: true, type: 'string', message: '', trigger: 'change' }"-->
|
||||
<el-cascader ref="metricSelect" :class="{'right-box-row-with-btn': countTotal > 1, 'full-width': countTotal <= 1}" filterable placeholder="" popper-class="chart-box-dropdown" size="small"
|
||||
<el-cascader ref="metricSelect" :class="{'right-box-row-with-btn': countTotal > 1, 'full-width': countTotal <= 1}" filterable placeholder="" popper-class="chart-box-dropdown" size="small"
|
||||
v-model="elementInfo.metric"
|
||||
:options="metricCascaderList"
|
||||
:props="{ expandTrigger: 'hover' }"
|
||||
|
||||
Reference in New Issue
Block a user