提交 321ce87e 编写于 作者: Skyeye云's avatar Skyeye云

团队模板bug修改

上级 a43d3236
...@@ -177,12 +177,12 @@ layui.config({ ...@@ -177,12 +177,12 @@ layui.config({
} }
function loadAuthList() { function loadAuthList() {
var data = $.extend(true, [], treeTableData);
var objectType = $('#objectType').val(); var objectType = $('#objectType').val();
// 加载该受用类型的团队可以设置哪些权限 // 加载该受用类型的团队可以设置哪些权限
var colsList = teamObjectPermissionUtil.getAuthCols(objectType); var colsList = teamObjectPermissionUtil.getAuthCols(objectType);
$('#authList').html(getDataUseHandlebars($('#authTableTemplate').html(), {list: colsList})); $('#authList').html(getDataUseHandlebars($('#authTableTemplate').html(), {list: colsList}));
$.each(colsList, function (i, item) { $.each(colsList, function (i, item) {
var data = $.extend(true, [], treeTableData);
// 给数据设置权限组的key, // 给数据设置权限组的key,
$.each(data, function (j, bean) { $.each(data, function (j, bean) {
bean.authGroupKey = item.id; bean.authGroupKey = item.id;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册