refactor(视图): 辅助线、阈值设置界面UI优化

This commit is contained in:
junjun 2022-10-27 15:56:38 +08:00
parent 1d1d55063e
commit f70bc9152a
4 changed files with 6 additions and 3 deletions

View File

@ -51,7 +51,7 @@
:title="$t('chart.assist_line')" :title="$t('chart.assist_line')"
:visible="editLineDialog" :visible="editLineDialog"
:show-close="false" :show-close="false"
width="70%" width="1000px"
class="dialog-css" class="dialog-css"
> >
<assist-line-edit <assist-line-edit

View File

@ -243,7 +243,7 @@
:title="$t('chart.threshold')" :title="$t('chart.threshold')"
:visible="editLabelThresholdDialog" :visible="editLabelThresholdDialog"
:show-close="false" :show-close="false"
width="50%" width="800px"
class="dialog-css" class="dialog-css"
append-to-body append-to-body
> >
@ -274,7 +274,7 @@
:title="$t('chart.threshold')" :title="$t('chart.threshold')"
:visible="editTableThresholdDialog" :visible="editTableThresholdDialog"
:show-close="false" :show-close="false"
width="50%" width="800px"
class="dialog-css" class="dialog-css"
append-to-body append-to-body
> >

View File

@ -17,6 +17,7 @@
<el-input <el-input
v-model="item.name" v-model="item.name"
class="value-item" class="value-item"
style="width: 90% !important;"
:placeholder="$t('chart.name')" :placeholder="$t('chart.name')"
size="mini" size="mini"
clearable clearable
@ -97,6 +98,7 @@
v-model="item.summary" v-model="item.summary"
size="mini" size="mini"
class="select-item" class="select-item"
style="margin-left: 10px;"
:placeholder="$t('chart.aggregation')" :placeholder="$t('chart.aggregation')"
@change="changeAssistLine" @change="changeAssistLine"
> >

View File

@ -100,6 +100,7 @@
v-show="!item.term.includes('null') && !item.term.includes('empty') && item.term !== 'between'" v-show="!item.term.includes('null') && !item.term.includes('empty') && item.term !== 'between'"
v-model="item.value" v-model="item.value"
class="value-item" class="value-item"
style="margin-left: 10px;"
:placeholder="$t('chart.drag_block_label_value')" :placeholder="$t('chart.drag_block_label_value')"
size="mini" size="mini"
clearable clearable