forked from github/dataease
Merge pull request #4957 from dataease/pr@dev@fix_chart_edit_invalid_attr
fix(视图-编辑): 修复流向地图的属性出现在其他视图中
This commit is contained in:
commit
5bf06630a9
@ -1845,9 +1845,9 @@ export const TYPE_CONFIGS = [
|
||||
'color-selector': [
|
||||
'alpha',
|
||||
'mapStyle',
|
||||
'lineLinear',
|
||||
'lineSourceColor',
|
||||
'lineTargetColor'
|
||||
'mapLineGradient',
|
||||
'mapLineSourceColor',
|
||||
'mapLineTargetColor'
|
||||
],
|
||||
'size-selector-ant-v': [
|
||||
'mapPitch',
|
||||
|
@ -294,16 +294,18 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineGradient')"
|
||||
:label="$t('chart.gradient')"
|
||||
class="form-item"
|
||||
>
|
||||
<el-checkbox
|
||||
v-model="colorForm.mapLineGradient"
|
||||
:disabled="checkMapLineGradient"
|
||||
@change="changeColorCase('lineLinear')"
|
||||
@change="changeColorCase('mapLineGradient')"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineSourceColor')"
|
||||
:label="colorForm.mapLineGradient ? $t('chart.map_line_color_source_color') : $t('chart.color')"
|
||||
class="form-item"
|
||||
>
|
||||
@ -313,11 +315,12 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-if="colorForm.mapLineGradient"
|
||||
v-show="showProperty('mapLineTargetColor')"
|
||||
:label="$t('chart.map_line_color_target_color')"
|
||||
class="form-item"
|
||||
>
|
||||
<el-color-picker
|
||||
v-if="colorForm.mapLineGradient"
|
||||
v-model="colorForm.mapLineTargetColor"
|
||||
@change="changeColorCase('mapLineTargetColor')"
|
||||
/>
|
||||
|
@ -1264,6 +1264,7 @@
|
||||
size="mini"
|
||||
>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapPitch')"
|
||||
:label="$t('chart.map_pitch')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
@ -1275,6 +1276,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineType')"
|
||||
:label="$t('chart.map_line_type')"
|
||||
class="form-item"
|
||||
>
|
||||
@ -1292,6 +1294,7 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineWidth')"
|
||||
:label="$t('chart.map_line_width')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
@ -1299,10 +1302,11 @@
|
||||
v-model="sizeForm.mapLineWidth"
|
||||
:min="1"
|
||||
:max="10"
|
||||
@change="changeBarSizeCase('lineWidth')"
|
||||
@change="changeBarSizeCase('mapLineWidth')"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimate')"
|
||||
:label="$t('chart.map_line_animate')"
|
||||
class="form-item"
|
||||
>
|
||||
@ -1314,6 +1318,7 @@
|
||||
</el-form-item>
|
||||
<div v-if="sizeForm.mapLineAnimate">
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimateDuration')"
|
||||
:label="$t('chart.map_line_animate_duration')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
@ -1325,6 +1330,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimateInterval')"
|
||||
:label="$t('chart.map_line_animate_interval')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
@ -1337,6 +1343,7 @@
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
v-show="showProperty('mapLineAnimateTrailLength')"
|
||||
:label="$t('chart.map_line_animate_trail_length')"
|
||||
class="form-item form-item-slider"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user