ws 1 rok temu
rodzic
commit
925e544220

+ 3 - 1
chuanyi_client2/src/views/report_template/index.vue

@@ -2561,7 +2561,9 @@ export default {
           chartInfo = this.toolItemChart[i]
         }
       }
-      let temp = JSON.parse(chartInfo.standby).option
+	  const chartData = JSON.parse(chartInfo.standby)
+      let temp = chartData.option
+	  luckysheet.setRangeShow((toExcelColumn(chartData.pos[1] + 1) + (chartData.pos[0] + 1)) + ":" + (toExcelColumn(chartData.pos[1] + 1) + (chartData.pos[0] + 1)))
       this.barChartForm.uid = new Date().getTime()
       this.barChartForm.title = temp.title.text
       this.barChartForm.subtitle = temp.title.subtext