From f791de21327803375c82f9fea496cfeede342100 Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Mon, 30 Aug 2021 09:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/report/excelreport/designer/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/report-ui/src/views/report/excelreport/designer/index.vue b/report-ui/src/views/report/excelreport/designer/index.vue index 3a7a0f3e..21e3815a 100644 --- a/report-ui/src/views/report/excelreport/designer/index.vue +++ b/report-ui/src/views/report/excelreport/designer/index.vue @@ -511,9 +511,12 @@ export default { this.pop = false }, save () { - var sheetData = {} - sheetData['sheet'] = this.sheet.getData() - this.reportExcelDto.jsonStr = JSON.stringify(sheetData) + + console.log(luckysheet.toJson()) + console.log(luckysheet.getAllSheets()) + console.log(luckysheet.getSheetData(0)) + + this.reportExcelDto.jsonStr = JSON.stringify(luckysheet.getAllSheets()) var setCodeList = [] var setParams = {} this.dataSet.forEach((code) => {