新增查询表格树指定列值

This commit is contained in:
RuoYi
2019-04-21 13:23:54 +08:00
parent 8483e25250
commit b180a59497
2 changed files with 16 additions and 0 deletions

View File

@ -387,6 +387,13 @@
refresh: function() {
$._treeTable.bootstrapTreeTable('refresh');
},
// 查询表格树指定列值
selectColumns: function(column) {
var rows = $.map($('#' + $.table._option.id).bootstrapTreeTable('getSelections'), function (row) {
return row[column];
});
return $.common.uniqueFn(rows);
},
},
// 表单封装处理
form: {