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;