NEZ-1138 style: 修复Module页面样式问题
This commit is contained in:
@@ -115,10 +115,8 @@
|
|||||||
}
|
}
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
.el-input--small.not-fixed-height {
|
.el-input--small.not-fixed-height {
|
||||||
height: 32px;
|
.el-textarea__inner {
|
||||||
.el-input__count {
|
min-height: 32px !important;
|
||||||
line-height: 29px;
|
|
||||||
height: 25px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -284,6 +284,7 @@ const cn = {
|
|||||||
chartName: '图表名称',
|
chartName: '图表名称',
|
||||||
type: '类型',
|
type: '类型',
|
||||||
url: 'URL',
|
url: 'URL',
|
||||||
|
name: '名称',
|
||||||
statistics: '统计数据',
|
statistics: '统计数据',
|
||||||
sync: '同步到设备',
|
sync: '同步到设备',
|
||||||
last: '最后的',
|
last: '最后的',
|
||||||
|
|||||||
@@ -295,6 +295,7 @@ const en = {
|
|||||||
type: 'Type',
|
type: 'Type',
|
||||||
unit: 'Unit',
|
unit: 'Unit',
|
||||||
url: 'URL',
|
url: 'URL',
|
||||||
|
name: 'Name',
|
||||||
legend: 'Legend',
|
legend: 'Legend',
|
||||||
statistics: 'Statistics',
|
statistics: 'Statistics',
|
||||||
legendTip: 'Controls the name of the time series, using name or pattern. For example {{hostname}} will be replaced with label value for the label hostname.',
|
legendTip: 'Controls the name of the time series, using name or pattern. For example {{hostname}} will be replaced with label value for the label hostname.',
|
||||||
|
|||||||
@@ -185,7 +185,7 @@
|
|||||||
<div class="right-box__container">
|
<div class="right-box__container">
|
||||||
<div class="container__form">
|
<div class="container__form">
|
||||||
<el-form ref="chartForm" :model="editChart" :rules="rules" label-position= "top" label-width="120px">
|
<el-form ref="chartForm" :model="editChart" :rules="rules" label-position= "top" label-width="120px">
|
||||||
<el-form-item :label='$t("dashboard.panel.chartForm.chartName")' prop="title">
|
<el-form-item :label='$t("dashboard.panel.chartForm.name")' prop="title">
|
||||||
<el-input maxlength="64" show-word-limit size="small" v-model="editChart.name" id="chart-box-title"></el-input>
|
<el-input maxlength="64" show-word-limit size="small" v-model="editChart.name" id="chart-box-title"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="showPanel.type !== fromRoute.project && showPanel.type !== fromRoute.asset && showPanel.type !== fromRoute.endpoint && showPanel.type !== fromRoute.model && from!=='chartTemp'" :label="$t('dashboard.panel.title')" prop="panelName">
|
<el-form-item v-if="showPanel.type !== fromRoute.project && showPanel.type !== fromRoute.asset && showPanel.type !== fromRoute.endpoint && showPanel.type !== fromRoute.model && from!=='chartTemp'" :label="$t('dashboard.panel.title')" prop="panelName">
|
||||||
|
|||||||
Reference in New Issue
Block a user