forked from github/dataease
Merge pull request #2552 from dataease/pr@dev@refactor_tab-enlarge
refactor(仪表板): 卡片组件内部视图增加放大功能
This commit is contained in:
commit
ac6b43ed3e
@ -7,6 +7,9 @@
|
|||||||
<span :title="$t('panel.details')">
|
<span :title="$t('panel.details')">
|
||||||
<i class="icon iconfont icon-chakan" @click.stop="showViewDetails('details')" />
|
<i class="icon iconfont icon-chakan" @click.stop="showViewDetails('details')" />
|
||||||
</span>
|
</span>
|
||||||
|
<span :title="$t('panel.enlarge')">
|
||||||
|
<i class="icon iconfont icon-fangda" @click.stop="showViewDetails('enlarge')" />
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="positionCheck('multiplexing')" style="margin-right: -1px;width: 18px;z-index: 5">
|
<div v-if="positionCheck('multiplexing')" style="margin-right: -1px;width: 18px;z-index: 5">
|
||||||
<el-checkbox v-model="multiplexingCheckModel" size="medium" @change="multiplexingCheck" />
|
<el-checkbox v-model="multiplexingCheckModel" size="medium" @change="multiplexingCheck" />
|
||||||
@ -88,7 +91,7 @@ export default {
|
|||||||
this.$emit('amRemoveItem')
|
this.$emit('amRemoveItem')
|
||||||
},
|
},
|
||||||
showViewDetails(params) {
|
showViewDetails(params) {
|
||||||
this.$emit('showViewDetails', params)
|
this.$emit('showViewDetails', { openType: params })
|
||||||
},
|
},
|
||||||
positionCheck(position) {
|
positionCheck(position) {
|
||||||
return this.showPosition.includes(position)
|
return this.showPosition.includes(position)
|
||||||
|
Loading…
Reference in New Issue
Block a user