liuyg
2021-06-08 96d560aa132a9638a45f5f6b44f456ffb6836948
widgets/searchL/Widget.js
@@ -102,6 +102,10 @@
            }
         },
         createData:function(d){
            var i = 1;
            for(var k in d){
               d[k].tableId = i ++;
            }
            var data = d;
            this.beginLayUi(data);
         },
@@ -144,10 +148,10 @@
                     , last: false //不显示尾页
                  }
                  , cols: [[
                     { field: 'id', width: 59, align: 'center', unresize: true, title: '序号' }
                     , { field: 'username', width: 90, align: 'center', unresize: true, title: '图层名称' }
                     , { field: 'style1', width: 95, align: 'center', unresize: true, title: '图层属性1' }
                     , { field: 'style2', width: 95, align: 'center', unresize: true, title: '图层属性2' }
                     { field: 'tableId', width: 59, align: 'center', unresize: true, title: '序号' }
                     , { field: 'geoName', width: 90, align: 'center', unresize: true, title: '图层名称' }
                     , { field: 'databaseName', width: 95, align: 'center', unresize: true, title: '图层属性1' }
                     , { field: 'serviceUrl', width: 95, align: 'center', unresize: true, title: '图层属性2' }
                     , { fixed: 'right', width: 115, align: 'center', unresize: true, title: '操作', toolbar: '#demoTable' }
                  ]],
                  data: data,