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