Merge branch 'master' of github.com:gcpaas/DataRoom

main
liu.tao3 2 years ago
commit 443cd017c4

@ -6,7 +6,7 @@
<parent>
<groupId>com.gccloud</groupId>
<artifactId>dataroom</artifactId>
<version>1.0.1.2023081101.Alpha</version>
<version>1.0.1.2023083001.Alpha</version>
</parent>
<artifactId>dataroom-core</artifactId>

@ -6,7 +6,7 @@
<parent>
<groupId>com.gccloud</groupId>
<artifactId>dataroom</artifactId>
<version>1.0.1.2023081101.Alpha</version>
<version>1.0.1.2023083001.Alpha</version>
</parent>
<artifactId>dataroom-server</artifactId>
@ -29,7 +29,7 @@
<dependency>
<groupId>com.gccloud</groupId>
<artifactId>dataroom-core</artifactId>
<version>1.0.1.2023081101.Alpha</version>
<version>1.0.1.2023083001.Alpha</version>
</dependency>
<dependency>

@ -12,7 +12,7 @@
<groupId>com.gccloud</groupId>
<artifactId>dataroom</artifactId>
<version>1.0.1.2023081101.Alpha</version>
<version>1.0.1.2023083001.Alpha</version>
<packaging>pom</packaging>
<description>基于G2Plot、Echarts的大屏设计服务端具备设计、预览能力支持MySQL、Oracle、PostgreSQL、Groovy等数据集接入
@ -60,7 +60,7 @@
<clickhouse.version>0.3.2</clickhouse.version>
<commons-io.version>2.2</commons-io.version>
<okhttp3.version>4.9.1</okhttp3.version>
<dataset.core.version>1.0.1.2023082801.Alpha</dataset.core.version>
<dataset.core.version>1.0.1.2023083001.Alpha</dataset.core.version>
</properties>
<dependencies>

@ -12,7 +12,7 @@
<img alt="Company" src="https://img.shields.io/badge/Author-科大国创云网科技有限公司-blue.svg">
</p>
🔥DataRoom是一款基于SpringBoot、MyBatisPlus、ElementUI、G2Plot、Echarts等技术栈的大屏设计器具备大屏设计、预览能力支持MySQL、Oracle、PostgreSQL、JSON、JS、HTTP、Groovy等数据集接入使用简单完全免费代码开源。
🔥DataRoom是一款基于SpringBoot、MyBatisPlus、ElementUI、G2Plot、Echarts等技术栈的大屏设计器具备大屏设计、预览能力支持MySQL、Oracle、PostgreSQL、MSSQL、JSON、JS、HTTP、Groovy等数据集接入使用简单完全免费代码开源。
## 效果图

@ -1,6 +1,6 @@
{
"name": "@gcpaas/data-room-ui",
"version": "1.0.1-2023082902-Alpha",
"version": "1.0.1-2023083002-Alpha",
"description": "自定义大屏",
"author": "gcpaas",
"license": "MIT",

@ -224,7 +224,6 @@ export default {
speechBroadcast (text) {
if (this.speech.hasBrowserSupport()) {
this.speech.setLanguage('zh-CN')
this.speech.pitch = 1
this.speech.init()
this.speech.speak({ text: text })
} else {

@ -565,7 +565,7 @@
:source-field-list="sourceFieldList"
/>
<ComponentRelation
v-if="!['carousel','gauge','liquid'].includes(config.type)"
v-if="!['carousel','gauge','liquid','marquee'].includes(config.type)"
:config="config"
:source-field-list="sourceFieldList"
/>

@ -319,7 +319,9 @@ export default {
group: randomStr,
code: randomStr + chart.code
}
this.$refs.Render.addChart(newChart, { x: chart.x, y: chart.y }, true)
// theme
const isComponent = true
this.$refs.Render.addChart(newChart, { x: chart.x, y: chart.y }, isComponent)
this.updateRightVisiable(false)
})
})

@ -306,7 +306,7 @@ export default {
this.hLine = hLine
},
//
addChart (chart, position) {
addChart (chart, position, isComponent) {
const { left, top } = this.$el.getBoundingClientRect()
const _chart = !chart.code ? JSON.parse(chart) : chart
let option = _chart.option
@ -330,12 +330,12 @@ export default {
option
}
config.key = config.code
// TODO:
// g2
// if (['customComponent'].includes(_chart.type)) {
config.theme = settingToTheme(config, 'dark')
config.theme = settingToTheme(config, 'light')
// }
// isComponent = false theme
// isComponent = true
if (!isComponent) {
config.theme = settingToTheme(config, 'dark')
config.theme = settingToTheme(config, 'light')
}
this.addItem(config)
},
addSourceChart (chart, position) {

Loading…
Cancel
Save