Merge pull request #3586 from dataease/pr@dev@fix_batch_operation

fix(视图): 修复部分视图属性批量操作无效
This commit is contained in:
dataeaseShu 2022-11-01 17:17:47 +08:00 committed by GitHub
commit 4329f907c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 23 deletions

View File

@ -58,8 +58,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight', 'tableTitleHeight',
'tableItemHeight', 'tableItemHeight',
'tableColumnMode', 'tableColumnMode',
'tableShowIndex', 'showIndex',
'tableIndexLabel' 'indexLabel'
], ],
'title-selector-ant-v': [ 'title-selector-ant-v': [
'show', 'show',
@ -106,8 +106,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight', 'tableTitleHeight',
'tableItemHeight', 'tableItemHeight',
'tableColumnMode', 'tableColumnMode',
'tableShowIndex', 'showIndex',
'tableIndexLabel' 'indexLabel'
], ],
'title-selector-ant-v': [ 'title-selector-ant-v': [
'show', 'show',
@ -1163,8 +1163,8 @@ export const TYPE_CONFIGS = [
'fontSize', 'fontSize',
'color', 'color',
'position-pie', 'position-pie',
'label-content', 'labelContent',
'reserve-decimal-count' 'reserveDecimalCount'
], ],
'tooltip-selector-ant-v': [ 'tooltip-selector-ant-v': [
'show', 'show',
@ -1223,8 +1223,8 @@ export const TYPE_CONFIGS = [
'fontSize', 'fontSize',
'color', 'color',
'position-pie', 'position-pie',
'label-content', 'labelContent',
'reserve-decimal-count' 'reserveDecimalCount'
], ],
'tooltip-selector-ant-v': [ 'tooltip-selector-ant-v': [
'show', 'show',
@ -1400,7 +1400,7 @@ export const TYPE_CONFIGS = [
'fontSize', 'fontSize',
'color', 'color',
'position-v', 'position-v',
'reserve-decimal-count' 'reserveDecimalCount'
], ],
'tooltip-selector-ant-v': [ 'tooltip-selector-ant-v': [
'show', 'show',
@ -1757,8 +1757,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight', 'tableTitleHeight',
'tableItemHeight', 'tableItemHeight',
'tableColumnWidth', 'tableColumnWidth',
'tableShowIndex', 'showIndex',
'tableIndexLabel' 'indexLabel'
], ],
'title-selector': [ 'title-selector': [
'show', 'show',
@ -1798,8 +1798,8 @@ export const TYPE_CONFIGS = [
'tableTitleHeight', 'tableTitleHeight',
'tableItemHeight', 'tableItemHeight',
'tableColumnWidth', 'tableColumnWidth',
'tableShowIndex', 'showIndex',
'tableIndexLabel' 'indexLabel'
], ],
'title-selector': [ 'title-selector': [
'show', 'show',

View File

@ -19,7 +19,7 @@
</el-form-item> </el-form-item>
<div v-show="labelForm.show"> <div v-show="labelForm.show">
<el-form-item <el-form-item
v-show="showProperty('label-content')" v-show="showProperty('labelContent')"
:label="$t('chart.label_content')" :label="$t('chart.label_content')"
class="form-item" class="form-item"
> >
@ -123,7 +123,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="showProperty('reserve-decimal-count') && (chart.type.includes('percentage') || labelForm.labelContent.includes('proportion'))" v-show="showProperty('reserveDecimalCount') && (chart.type.includes('percentage') || labelForm.labelContent.includes('proportion'))"
:label="$t('chart.label_reserve_decimal_count')" :label="$t('chart.label_reserve_decimal_count')"
class="form-item" class="form-item"
> >

View File

@ -370,7 +370,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="showProperty('tableShowIndex')" v-show="showProperty('showIndex')"
label-width="100px" label-width="100px"
:label="$t('chart.table_show_index')" :label="$t('chart.table_show_index')"
class="form-item" class="form-item"
@ -378,14 +378,14 @@
<el-radio-group <el-radio-group
v-model="sizeForm.showIndex" v-model="sizeForm.showIndex"
input-size="mini" input-size="mini"
@change="changeBarSizeCase('tableShowIndex')" @change="changeBarSizeCase('showIndex')"
> >
<el-radio :label="true">{{ $t('panel.yes') }}</el-radio> <el-radio :label="true">{{ $t('panel.yes') }}</el-radio>
<el-radio :label="false">{{ $t('panel.no') }}</el-radio> <el-radio :label="false">{{ $t('panel.no') }}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="showProperty('tableIndexLabel') && sizeForm.showIndex" v-show="showProperty('indexLabel') && sizeForm.showIndex"
label-width="100px" label-width="100px"
:label="$t('chart.table_index_desc')" :label="$t('chart.table_index_desc')"
class="form-item" class="form-item"
@ -393,7 +393,7 @@
<el-input <el-input
v-model="sizeForm.indexLabel" v-model="sizeForm.indexLabel"
type="text" type="text"
@blur="changeBarSizeCase('tableIndexLabel')" @blur="changeBarSizeCase('indexLabel')"
/> />
</el-form-item> </el-form-item>

View File

@ -359,7 +359,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="showProperty('tableShowIndex')" v-show="showProperty('showIndex')"
label-width="100px" label-width="100px"
:label="$t('chart.table_show_index')" :label="$t('chart.table_show_index')"
class="form-item" class="form-item"
@ -367,14 +367,14 @@
<el-radio-group <el-radio-group
v-model="sizeForm.showIndex" v-model="sizeForm.showIndex"
input-size="mini" input-size="mini"
@change="changeBarSizeCase('tableShowIndex')" @change="changeBarSizeCase('showIndex')"
> >
<el-radio :label="true">{{ $t('panel.yes') }}</el-radio> <el-radio :label="true">{{ $t('panel.yes') }}</el-radio>
<el-radio :label="false">{{ $t('panel.no') }}</el-radio> <el-radio :label="false">{{ $t('panel.no') }}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
v-show="showProperty('tableIndexLabel') && sizeForm.showIndex" v-show="showProperty('indexLabel') && sizeForm.showIndex"
label-width="100px" label-width="100px"
:label="$t('chart.table_index_desc')" :label="$t('chart.table_index_desc')"
class="form-item" class="form-item"
@ -382,7 +382,7 @@
<el-input <el-input
v-model="sizeForm.indexLabel" v-model="sizeForm.indexLabel"
type="text" type="text"
@blur="changeBarSizeCase('tableIndexLabel')" @blur="changeBarSizeCase('indexLabel')"
/> />
</el-form-item> </el-form-item>