|
|
|
@ -88,11 +88,21 @@
|
|
|
|
|
{ title: '序号', align: 'center', width: "5%", type: 'numbers' },
|
|
|
|
|
{ title: '分类', field: 'parent_name', align: 'center' },
|
|
|
|
|
{ title: '数据集', field: 'dataset_name', align: 'center' },
|
|
|
|
|
{ title: '已填数据(条)', field: 'fill_count', align: 'center' },
|
|
|
|
|
// { title: '表名', field: 'table_name', align: 'center' },
|
|
|
|
|
{ title: '操作', toolbar: '#table-bar', align: 'center' }
|
|
|
|
|
]],
|
|
|
|
|
skin: 'line',
|
|
|
|
|
defaultToolbar: []
|
|
|
|
|
defaultToolbar: [],
|
|
|
|
|
parseData: function (res) {
|
|
|
|
|
var data = res.data;
|
|
|
|
|
for (var i = 0; i < data.length; i++) {
|
|
|
|
|
if (data[i].fill_count > 0) {
|
|
|
|
|
data[i].LAY_CHECKED = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
table.on('tool(data-table)', function (obj) {
|
|
|
|
|