From ef57580ecc8563afb58f46997b8c438e987f464f Mon Sep 17 00:00:00 2001 From: junjie Date: Fri, 9 Apr 2021 14:30:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:css=E8=B0=83=E6=95=B4=E3=80=81hbase=20?= =?UTF-8?q?=E8=A1=A8=E5=90=8D=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/chart/ChartViewService.java | 6 +- .../src/views/panel/list/PanelViewShow.vue | 66 ------------------- 2 files changed, 3 insertions(+), 69 deletions(-) diff --git a/backend/src/main/java/io/dataease/service/chart/ChartViewService.java b/backend/src/main/java/io/dataease/service/chart/ChartViewService.java index 04b77b38d0..cc0ee213f8 100644 --- a/backend/src/main/java/io/dataease/service/chart/ChartViewService.java +++ b/backend/src/main/java/io/dataease/service/chart/ChartViewService.java @@ -121,9 +121,9 @@ public class ChartViewService { } data = datasourceProvider.getData(datasourceRequest); } else if (table.getMode() == 1) {// 抽取 - DataTableInfoDTO dataTableInfoDTO = new Gson().fromJson(table.getInfo(), DataTableInfoDTO.class); - String tableName = dataTableInfoDTO.getTable() + "-" + table.getDataSourceId();// todo hBase table name maybe change - data = sparkCalc.getData(tableName, xAxis, yAxis, "tmp_" + view.getId().split("-")[0]); +// DataTableInfoDTO dataTableInfoDTO = new Gson().fromJson(table.getInfo(), DataTableInfoDTO.class); +// String tableName = dataTableInfoDTO.getTable() + "-" + table.getDataSourceId();// todo hBase table name maybe change + data = sparkCalc.getData(table.getId(), xAxis, yAxis, "tmp_" + view.getId().split("-")[0]); } // 图表组件可再扩展 diff --git a/frontend/src/views/panel/list/PanelViewShow.vue b/frontend/src/views/panel/list/PanelViewShow.vue index d9d78f2dba..276bb0e1a3 100644 --- a/frontend/src/views/panel/list/PanelViewShow.vue +++ b/frontend/src/views/panel/list/PanelViewShow.vue @@ -110,72 +110,6 @@ export default { border-top: 1px solid #E6E6E6; } - .padding-lr { - padding: 0 6px; - } - - .itxst { - margin: 10px; - text-align: left; - } - - .col { - width: 40%; - flex: 1; - padding: 10px; - border: solid 1px #eee; - border-radius: 5px; - float: left; - } - - .col + .col { - margin-left: 10px; - } - - .item { - padding: 2px 12px; - margin: 3px 3px 0 3px; - border: solid 1px #eee; - background-color: #f1f1f1; - text-align: left; - display: block; - } - - .item + .item { - border-top: none; - margin-top: 3px; - } - - .item:hover { - background-color: #fdfdfd; - cursor: pointer; - } - - .item-axis { - padding: 2px 12px; - margin: 3px 3px 0 3px; - border: solid 1px #eee; - background-color: #f1f1f1; - text-align: left; - } - - .item-axis:hover { - background-color: #fdfdfd; - cursor: pointer; - } - - .el-form-item { - margin-bottom: 0; - } - - .container { - width: 100%; - height: 600px; - border: 1px solid #000; - position: relative; - box-sizing: border-box; - } - .custom-position { flex: 1; display: flex;