refactor: SQL拼接

This commit is contained in:
junjie
2021-07-12 16:35:03 +08:00
parent 250b9b89c7
commit ad23936022
6 changed files with 32 additions and 17 deletions

View File

@@ -186,7 +186,6 @@ export default {
}
},
openChartDetailsDialog(chartInfo) {
debugger
this.showChartInfo = chartInfo.chart
this.showChartTableInfo = chartInfo.tableChart
this.chartDetailsVisible = true

View File

@@ -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]))

View File

@@ -108,7 +108,6 @@ export default {
})
},
initData() {
debugger
const that = this
let datas = []
if (this.chart.data) {