From dc4cced74fd3c0887612cc6f329d32c52444a44c Mon Sep 17 00:00:00 2001 From: isqianming Date: Fri, 13 Aug 2021 11:22:14 +0800 Subject: [PATCH] update --- report-ui/src/mixins/queryform.js | 9 +++++---- report-ui/src/views/report/bigscreen/designer/tools.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/report-ui/src/mixins/queryform.js b/report-ui/src/mixins/queryform.js index d3447d6e..3ec8d289 100644 --- a/report-ui/src/mixins/queryform.js +++ b/report-ui/src/mixins/queryform.js @@ -109,6 +109,7 @@ export default { // widget-gauge 仪表盘 // widget-text 文本框 // widge-table 表格(数据不要转) + // widget-stackchart 堆叠图 const chartType = params.chartType if ( chartType == "widget-barchart" || @@ -125,8 +126,8 @@ export default { return this.gaugeFn(params.chartProperties, data); } else if (chartType == "widget-text") { return this.widgettext(params.chartProperties, data) - } else if (chartType == "widget-barstack") { - return this.barStackFn(params.chartProperties, data) + } else if (chartType == "widget-stackchart") { + return this.stackChartFn(params.chartProperties, data) }else{ return data } @@ -159,8 +160,8 @@ export default { ananysicData["series"] = series; return ananysicData; }, - //柱状堆叠图 - barStackFn(chartProperties, data){ + //堆叠图 + stackChartFn(chartProperties, data){ }, // 饼图、漏斗图 diff --git a/report-ui/src/views/report/bigscreen/designer/tools.js b/report-ui/src/views/report/bigscreen/designer/tools.js index 910dd7bb..451a373b 100644 --- a/report-ui/src/views/report/bigscreen/designer/tools.js +++ b/report-ui/src/views/report/bigscreen/designer/tools.js @@ -6254,7 +6254,7 @@ const widgetTools = [ placeholder: 'px', relactiveDom: 'dataType', relactiveDomValue: 'dynamicData', - chartType: 'widget-barstack', + chartType: 'widget-stackchart', value: '', }, ],