forked from github/dataease
Merge pull request #7769 from dataease/pr@dev-v2@refactor_batch-opt
refactor: 优化指标卡批量操作逻辑
This commit is contained in:
commit
db45b7c020
@ -276,7 +276,7 @@ watch(
|
||||
title="大小"
|
||||
>
|
||||
<misc-selector
|
||||
:property-inner="propertyInnerAll['size-selector']"
|
||||
:property-inner="propertyInnerAll['misc-selector']"
|
||||
:themes="themes"
|
||||
class="attr-selector"
|
||||
:chart="chart"
|
||||
|
@ -25,6 +25,8 @@
|
||||
@onTableCellChange="onTableCellChange"
|
||||
@onTableTotalChange="onTableTotalChange"
|
||||
@onChangeMiscStyleForm="onChangeMiscStyleForm"
|
||||
@onIndicatorChange="onIndicatorChange"
|
||||
@onIndicatorNameChange="onIndicatorNameChange"
|
||||
/>
|
||||
<common-attr
|
||||
v-else-if="mixProperties && batchOptComponentInfo && batchOptComponentType !== 'UserView'"
|
||||
@ -77,6 +79,14 @@ const onChangeYAxisForm = (val, prop) => {
|
||||
batchOptChange('customStyle', 'yAxis', val, prop)
|
||||
}
|
||||
|
||||
const onIndicatorChange = (val, prop) => {
|
||||
batchOptChange('customAttr', 'indicator', val, prop)
|
||||
}
|
||||
|
||||
const onIndicatorNameChange = (val, prop) => {
|
||||
batchOptChange('customAttr', 'indicatorName', val, prop)
|
||||
}
|
||||
|
||||
const onChangeMiscStyleForm = (val, prop) => {
|
||||
batchOptChange('customStyle', 'misc', val, prop)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user