forked from github/dataease
feat(数据大屏): 数据大屏支持隐藏组件,样式调整
This commit is contained in:
parent
331374640c
commit
182cce161c
@ -155,6 +155,7 @@ const backHandler = (url: string) => {
|
||||
openHandler.value.invokeMethod(pm)
|
||||
return
|
||||
}
|
||||
dvMainStore.canvasStateChange({ key: 'curPointArea', value: 'base' })
|
||||
wsCache.delete('DE-DV-CATCH-' + dvInfo.value.id)
|
||||
window.open(url, '_self')
|
||||
}
|
||||
@ -191,6 +192,11 @@ const openOuterParamsSet = () => {
|
||||
const multiplexingCanvasOpen = () => {
|
||||
multiplexingRef.value.dialogInit('dataV')
|
||||
}
|
||||
|
||||
const fullScreenPreview = () => {
|
||||
dvMainStore.canvasStateChange({ key: 'curPointArea', value: 'base' })
|
||||
fullScreeRef.value.toggleFullscreen()
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@ -305,12 +311,7 @@ const multiplexingCanvasOpen = () => {
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button
|
||||
v-else
|
||||
class="preview-button"
|
||||
@click="() => fullScreeRef.toggleFullscreen()"
|
||||
style="float: right"
|
||||
>
|
||||
<el-button v-else class="preview-button" @click="fullScreenPreview" style="float: right">
|
||||
预览
|
||||
</el-button>
|
||||
<el-button
|
||||
|
@ -214,6 +214,7 @@ if (!chart.value.customStyle.component.hasOwnProperty('labelShow')) {
|
||||
<el-input-number
|
||||
v-model="chart.customStyle.component.queryConditionWidth"
|
||||
:min="0"
|
||||
:effect="themes"
|
||||
controls-position="right"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -226,6 +227,7 @@ if (!chart.value.customStyle.component.hasOwnProperty('labelShow')) {
|
||||
<el-input-number
|
||||
v-model="chart.customStyle.component.queryConditionSpacing"
|
||||
:min="0"
|
||||
:effect="themes"
|
||||
controls-position="right"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -249,8 +251,8 @@ if (!chart.value.customStyle.component.hasOwnProperty('labelShow')) {
|
||||
:class="'form-item-' + themes"
|
||||
>
|
||||
<el-radio-group :effect="themes" v-model="chart.customStyle.component.layout">
|
||||
<el-radio label="vertical"> 上侧 </el-radio>
|
||||
<el-radio label="horizontal"> 左侧 </el-radio>
|
||||
<el-radio label="vertical" :effect="themes"> 上侧 </el-radio>
|
||||
<el-radio label="horizontal" :effect="themes"> 左侧 </el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
|
Loading…
Reference in New Issue
Block a user