Browse Source

表格调整

qianming 3 years ago
parent
commit
9e2ee3aaaa

+ 9 - 1
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: '',

+ 4 - 0
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;