mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 18:38:16 +08:00
refactor: SQL拼接
This commit is contained in:
@@ -186,7 +186,6 @@ export default {
|
||||
}
|
||||
},
|
||||
openChartDetailsDialog(chartInfo) {
|
||||
debugger
|
||||
this.showChartInfo = chartInfo.chart
|
||||
this.showChartTableInfo = chartInfo.tableChart
|
||||
this.chartDetailsVisible = true
|
||||
|
||||
@@ -40,7 +40,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
exportExcel() {
|
||||
debugger
|
||||
const excelHeader = JSON.parse(JSON.stringify(this.chart.data.fields)).map(item => item.name)
|
||||
const excelHeaderKeys = JSON.parse(JSON.stringify(this.chart.data.fields)).map(item => item.dataeaseName)
|
||||
const excelData = JSON.parse(JSON.stringify(this.chart.data.tableRow)).map(item => excelHeaderKeys.map(i => item[i]))
|
||||
|
||||
@@ -108,7 +108,6 @@ export default {
|
||||
})
|
||||
},
|
||||
initData() {
|
||||
debugger
|
||||
const that = this
|
||||
let datas = []
|
||||
if (this.chart.data) {
|
||||
|
||||
Reference in New Issue
Block a user