From 9e2ee3aaaa9116a90214f9af6c820977991ce71d Mon Sep 17 00:00:00 2001 From: qianming Date: Thu, 30 Sep 2021 10:14:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/tools/echartsConfigJson/widget-table.js | 10 +++++++++- .../report/bigscreen/designer/widget/widgetTable.vue | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/widget-table.js b/report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/widget-table.js index 7c6ae147..a63c6c5f 100644 --- a/report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/widget-table.js +++ b/report-ui/src/views/report/bigscreen/designer/tools/echartsConfigJson/widget-table.js @@ -42,6 +42,14 @@ export const widgetTable = { placeholder: '', value: '16' }, + { + type: 'el-input-number', + label: '显示行数', + name: 'vis', + required: false, + placeholder: '', + value: '5' + }, { type: 'el-switch', label: '开启滚动', @@ -68,7 +76,7 @@ export const widgetTable = { }, { type: 'el-switch', - label: '线条', + label: '边框线', name: 'isLine', required: false, placeholder: '', diff --git a/report-ui/src/views/report/bigscreen/designer/widget/widgetTable.vue b/report-ui/src/views/report/bigscreen/designer/widget/widgetTable.vue index 63e0ae5a..d5760790 100644 --- a/report-ui/src/views/report/bigscreen/designer/widget/widgetTable.vue +++ b/report-ui/src/views/report/bigscreen/designer/widget/widgetTable.vue @@ -118,6 +118,10 @@ export default { this.handlerRollFn(); this.handlerHead(); this.handlerData(); + this.visConfig(); + }, + visConfig(){ + this.options.vis = this.optionsSetUp.vis; }, handlerRollFn() { const options = this.options;