角色无法添加问题

This commit is contained in:
zhal 2022-07-24 21:41:36 +08:00
parent 45aaf7b125
commit 82b170c5a4

View File

@ -3726,6 +3726,7 @@ function saveRelevanceShapesTODB(shapesObj, shapeId, shapeName, fileName,
}
}
//by bzp 校验角色和岗位不能同时选择
if(shape.category!="org_role") {
if (objId == 'role' || objId == 'post') {
if (objId == 'role') {
//判断岗位
@ -3744,6 +3745,7 @@ function saveRelevanceShapesTODB(shapesObj, shapeId, shapeName, fileName,
}
}
}
}
//by bzp end
var ref = $("input[objid_shapeId='" + objId + "']").attr("ref");
$.ajax({