Commit eb4ea8a8 by liuyang

1.文档库添加文档权限文件状态回显

parent 56e5b50c
......@@ -308,7 +308,9 @@ $(function () {
title: "<div style='text-align: center;'>文档权限管理</div>",
width: "90%",
height: "90%",
callbackName: editCallback
callbackName: function () {
editCallback($("#inqu_status-0-orgParentId").val());
}
});
})
......
......@@ -64,8 +64,7 @@ let save = function () {
function (e) {
var status = e.status;
if (status !== -1) {
let fileId = $("#inqu_status-0-fileId").val();
parent.JSColorbox.setValueCallback(fileId);
parent.JSColorbox.setValueCallback();
}
});
}
......@@ -98,8 +97,7 @@ let auth = function () {
* 授权回调
*/
let authCallback = function (res) {
let fileId = $("#inqu_status-0-fileId").val();
parent.JSColorbox.setValueCallback(fileId);
parent.JSColorbox.setValueCallback();
// 刷新页面
query();
......@@ -120,7 +118,12 @@ let removeUser = function () {
JSUtils.confirm("确定对勾选中的[" + rows.length + "]条数据做\"取消授权用户\"操作? ", {
ok: function () {
JSUtils.submitGridsData("result", "HGWD003", "removeUser",
true
true,function (e) {
var status = e.status;
if (status !== -1) {
parent.JSColorbox.setValueCallback();
}
}
);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment