|
|
@ -167,6 +167,24 @@ |
|
|
skin: 'line', |
|
|
skin: 'line', |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
table.on('row(currentTableFilterForUser)', function (obj) { |
|
|
|
|
|
let data = obj.data; //得到当前行数据 |
|
|
|
|
|
$.ajax({ |
|
|
|
|
|
url: "/repository/findWarehouseVisiblePermission", |
|
|
|
|
|
type: 'post', |
|
|
|
|
|
dataType: 'json', |
|
|
|
|
|
contentType: "application/json;charset=utf-8", |
|
|
|
|
|
data: JSON.stringify({"type": "person", "uid": data.id}), |
|
|
|
|
|
success: function (res) { |
|
|
|
|
|
let data = res.data; |
|
|
|
|
|
depositoryTree.reload(); |
|
|
|
|
|
tree.setChecked('depositoryTree', data); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
form.on('submit(data-search-btn)', function (data) { |
|
|
form.on('submit(data-search-btn)', function (data) { |
|
|
data = data.field; |
|
|
data = data.field; |
|
|
let req = {}; |
|
|
let req = {}; |
|
|
@ -230,7 +248,7 @@ |
|
|
let data = res.data; |
|
|
let data = res.data; |
|
|
depositoryTree.reload(); |
|
|
depositoryTree.reload(); |
|
|
tree.setChecked('depositoryTree', data); |
|
|
tree.setChecked('depositoryTree', data); |
|
|
tree.setChecked('postTree',[postId]) |
|
|
tree.setChecked('postTree', [postId]) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|