Commit d94315bd by 宋祥

1.调整按钮展示权限

parent cc9e0b6a
......@@ -255,11 +255,17 @@ let showAuthButton = function () {
inInfo.set("inqu_status-0-fileId", label);
EiCommunicator.send('HGWD003', 'isProjectManager', inInfo, {
onSuccess: function (res) {
if (res.getStatus() >= 0 && res.extAttr.isProjectManager == 1) {
let status = res.getStatus();
if (status >= 0 && res.extAttr.isManager == 1) {
$("#AUTH").show();
$("#REMOVE_USER").show();
$("#COPY_USER").show();
$("#SAVE").show();
} else if (status >= 0 && res.extAttr.isProjectManager == 1) {
$("#AUTH").show();
$("#REMOVE_USER").show();
$("#COPY_USER").hide();
$("#SAVE").hide();
} else {
$("#AUTH").hide();
$("#REMOVE_USER").hide();
......
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