Raod 4 years ago
parent
commit
f791de2132
1 changed files with 6 additions and 3 deletions
  1. 6 3
      report-ui/src/views/report/excelreport/designer/index.vue

+ 6 - 3
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) => {