mirror of
https://github.com/dataease/dataease.git
synced 2025-02-26 05:03:00 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
9074f8af69
@ -4,7 +4,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>dataease-server</artifactId>
|
<artifactId>dataease-server</artifactId>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
@ -203,7 +203,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<artifactId>dataease-plugin-interface</artifactId>
|
<artifactId>dataease-plugin-interface</artifactId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
@ -214,12 +214,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<artifactId>dataease-plugin-view</artifactId>
|
<artifactId>dataease-plugin-view</artifactId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<artifactId>dataease-plugin-datasource</artifactId>
|
<artifactId>dataease-plugin-datasource</artifactId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- kettle及数据源依赖 -->
|
<!-- kettle及数据源依赖 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dataease",
|
"name": "dataease",
|
||||||
"version": "1.16.0",
|
"version": "1.17.0",
|
||||||
"description": "dataease front",
|
"description": "dataease front",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>dataease-server</artifactId>
|
<artifactId>dataease-server</artifactId>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
@ -207,8 +207,10 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.preDraw()
|
this.preDraw()
|
||||||
},
|
},
|
||||||
destroyed() {
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.myChart.resize)
|
||||||
this.myChart.dispose()
|
this.myChart.dispose()
|
||||||
|
this.myChart = null
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.loadThemeStyle()
|
this.loadThemeStyle()
|
||||||
@ -403,9 +405,7 @@ export default {
|
|||||||
const chart = this.myChart
|
const chart = this.myChart
|
||||||
this.setBackGroundBorder()
|
this.setBackGroundBorder()
|
||||||
setTimeout(chart.setOption(option, true), 500)
|
setTimeout(chart.setOption(option, true), 500)
|
||||||
window.onresize = function() {
|
window.removeEventListener('resize', chart.resize)
|
||||||
chart.resize()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
setBackGroundBorder() {
|
setBackGroundBorder() {
|
||||||
if (this.chart.customStyle) {
|
if (this.chart.customStyle) {
|
||||||
|
@ -155,6 +155,11 @@ export default {
|
|||||||
this.drawEcharts()
|
this.drawEcharts()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
this.myChart.destroy()
|
||||||
|
window.removeEventListener('resize', this.calcHeightDelay)
|
||||||
|
this.myChart = null
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.preDraw()
|
this.preDraw()
|
||||||
},
|
},
|
||||||
@ -202,10 +207,7 @@ export default {
|
|||||||
new Promise((resolve) => { resolve() }).then(() => {
|
new Promise((resolve) => { resolve() }).then(() => {
|
||||||
this.drawView()
|
this.drawView()
|
||||||
})
|
})
|
||||||
const that = this
|
window.addEventListener('resize', this.calcHeightDelay)
|
||||||
window.onresize = function() {
|
|
||||||
that.calcHeightDelay()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
drawView() {
|
drawView() {
|
||||||
const chart = this.chart
|
const chart = this.chart
|
||||||
|
@ -195,6 +195,9 @@ export default {
|
|||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
clearInterval(this.scrollTimer)
|
clearInterval(this.scrollTimer)
|
||||||
|
window.removeEventListener('resize', this.onResize)
|
||||||
|
this.myChart.destroy()
|
||||||
|
this.myChart = null
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initData() {
|
initData() {
|
||||||
@ -221,21 +224,16 @@ export default {
|
|||||||
this.tableData = data
|
this.tableData = data
|
||||||
},
|
},
|
||||||
preDraw() {
|
preDraw() {
|
||||||
|
this.onResize()
|
||||||
|
window.addEventListener('resize', this.onResize)
|
||||||
|
},
|
||||||
|
onResize() {
|
||||||
this.initData()
|
this.initData()
|
||||||
this.initTitle()
|
this.initTitle()
|
||||||
this.calcHeightDelay()
|
this.calcHeightDelay()
|
||||||
new Promise((resolve) => { resolve() }).then(() => {
|
new Promise((resolve) => { resolve() }).then(() => {
|
||||||
this.drawView()
|
this.drawView()
|
||||||
})
|
})
|
||||||
const that = this
|
|
||||||
window.onresize = function() {
|
|
||||||
that.initData()
|
|
||||||
that.initTitle()
|
|
||||||
that.calcHeightDelay()
|
|
||||||
new Promise((resolve) => { resolve() }).then(() => {
|
|
||||||
that.drawView()
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
drawView() {
|
drawView() {
|
||||||
const chart = this.chart
|
const chart = this.chart
|
||||||
|
@ -133,15 +133,13 @@ export default {
|
|||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
eventBus.$off('resizing', this.chartResize)
|
eventBus.$off('resizing', this.chartResize)
|
||||||
|
window.removeEventListener('resize', this.calcHeight)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
const that = this
|
|
||||||
this.initStyle()
|
this.initStyle()
|
||||||
this.resultFormat()
|
this.resultFormat()
|
||||||
window.onresize = function() {
|
window.addEventListener('resize', this.calcHeight)
|
||||||
that.calcHeight()
|
|
||||||
}
|
|
||||||
this.setBackGroundBorder()
|
this.setBackGroundBorder()
|
||||||
this.initRemark()
|
this.initRemark()
|
||||||
},
|
},
|
||||||
|
@ -161,14 +161,12 @@ export default {
|
|||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
eventBus.$off('resizing', this.chartResize)
|
eventBus.$off('resizing', this.chartResize)
|
||||||
|
window.removeEventListener('resize', this.calcHeight)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
const that = this
|
|
||||||
this.initStyle()
|
this.initStyle()
|
||||||
window.onresize = function() {
|
window.addEventListener('resize', this.calcHeight)
|
||||||
that.calcHeight()
|
|
||||||
}
|
|
||||||
this.setBackGroundBorder()
|
this.setBackGroundBorder()
|
||||||
this.initRemark()
|
this.initRemark()
|
||||||
},
|
},
|
||||||
|
@ -168,6 +168,7 @@ export default {
|
|||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
eventBus.$off('resizing', this.chartResize)
|
eventBus.$off('resizing', this.chartResize)
|
||||||
clearInterval(this.scrollTimer)
|
clearInterval(this.scrollTimer)
|
||||||
|
window.removeEventListener('resize', this.calcHeightDelay)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init() {
|
init() {
|
||||||
@ -187,7 +188,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
initData() {
|
initData() {
|
||||||
const that = this
|
|
||||||
let data = []
|
let data = []
|
||||||
this.showPage = false
|
this.showPage = false
|
||||||
if (this.chart.data) {
|
if (this.chart.data) {
|
||||||
@ -229,9 +229,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.initStyle()
|
this.initStyle()
|
||||||
})
|
})
|
||||||
window.onresize = function() {
|
window.addEventListener('resize', this.calcHeightDelay)
|
||||||
that.calcHeightDelay()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
calcHeightRightNow() {
|
calcHeightRightNow() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
@ -568,10 +568,11 @@ export default {
|
|||||||
this.filterField(val)
|
this.filterField(val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calcHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calcHeight)
|
||||||
this.calcHeight()
|
|
||||||
}
|
|
||||||
this.calcHeight()
|
this.calcHeight()
|
||||||
this.initField()
|
this.initField()
|
||||||
},
|
},
|
||||||
|
@ -312,11 +312,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initDataSource()
|
this.initDataSource()
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calHeight)
|
||||||
this.calHeight()
|
|
||||||
}
|
|
||||||
this.calHeight()
|
this.calHeight()
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
|
@ -140,10 +140,11 @@ export default {
|
|||||||
this.getUnionData()
|
this.getUnionData()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calHeight)
|
||||||
this.calHeight()
|
|
||||||
}
|
|
||||||
this.calHeight()
|
this.calHeight()
|
||||||
|
|
||||||
if (this.param && this.param.id && this.param.tableId) {
|
if (this.param && this.param.id && this.param.tableId) {
|
||||||
|
@ -328,11 +328,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initDataSource()
|
this.initDataSource()
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calHeight)
|
||||||
this.calHeight()
|
|
||||||
}
|
|
||||||
this.calHeight()
|
this.calHeight()
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
|
@ -304,10 +304,11 @@ export default {
|
|||||||
return this.nameList.filter((ele) => ele !== this.originName)
|
return this.nameList.filter((ele) => ele !== this.originName)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calHeight)
|
||||||
this.calHeight()
|
|
||||||
}
|
|
||||||
this.calHeight()
|
this.calHeight()
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -675,10 +675,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calHeight)
|
||||||
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calHeight)
|
||||||
this.calHeight()
|
|
||||||
}
|
|
||||||
this.calHeight()
|
this.calHeight()
|
||||||
await this.initDataSource()
|
await this.initDataSource()
|
||||||
this.$refs.myCm.codemirror.on('keypress', () => {
|
this.$refs.myCm.codemirror.on('keypress', () => {
|
||||||
|
@ -57,12 +57,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.initPreview()
|
this.initPreview()
|
||||||
this.calHeight()
|
this.calHeight()
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calHeight)
|
||||||
this.calHeight()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
calHeight: _.debounce(function() {
|
calHeight: _.debounce(function() {
|
||||||
|
@ -80,12 +80,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// window.onresize = () => {
|
|
||||||
// return (() => {
|
|
||||||
// this.height = window.innerHeight / 3
|
|
||||||
// })()
|
|
||||||
// }
|
|
||||||
// this.height = window.innerHeight / 3
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.height =
|
this.height =
|
||||||
document.getElementById('dsData').parentNode.offsetHeight - 16 - 14 - 5
|
document.getElementById('dsData').parentNode.offsetHeight - 16 - 14 - 5
|
||||||
|
@ -794,10 +794,11 @@ export default {
|
|||||||
this.filterField(val)
|
this.filterField(val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.calcHeight)
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
window.onresize = () => {
|
window.addEventListener('resize', this.calcHeight)
|
||||||
this.calcHeight()
|
|
||||||
}
|
|
||||||
this.calcHeight()
|
this.calcHeight()
|
||||||
this.initField()
|
this.initField()
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dataease-mobile",
|
"name": "dataease-mobile",
|
||||||
"version": "1.16.0",
|
"version": "1.17.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "npm run dev:h5",
|
"serve": "npm run dev:h5",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>dataease-server</artifactId>
|
<artifactId>dataease-server</artifactId>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>io.dataease</groupId>
|
<groupId>io.dataease</groupId>
|
||||||
<artifactId>dataease-server</artifactId>
|
<artifactId>dataease-server</artifactId>
|
||||||
<version>1.16.0</version>
|
<version>1.17.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
Loading…
Reference in New Issue
Block a user