架构视图点击方框跳转链接/去掉角色表单绩效不允许修改名称限制

This commit is contained in:
zhal 2022-08-06 19:29:45 +08:00
parent fdbc0b4887
commit f50ec35b18
3 changed files with 3 additions and 5 deletions

View File

@ -3732,7 +3732,6 @@ function saveRelevanceShapesTODB(shapesObj, shapeId, shapeName, fileName,
}
}
//by bzp 校验角色和岗位不能同时选择
debugger;
if(shape.category!="org_role"){
if(objId == 'role' || objId == 'post'){
if(objId == 'role'){

View File

@ -5490,8 +5490,7 @@ var Designer = {
o.find(".shape_link_point").remove();
if (q.link) {
var y = $("<div class='shape_link_point' style='cursor: pointer; position: absolute; right: 20px; bottom: 20px; width: 10px; height: 10px; color: #515151;'>" +
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;'>&#xe7d7;</i>" +
"</div>").appendTo(o);
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;display:none;'>&#xe7d7;</i>" +
y.on("mousedown.link",
function(I) {
I.stopPropagation();

View File

@ -11,10 +11,10 @@ var UI = {
return;
}
var title = $(this).text();
if(methodId=="control.kpi" || methodId=="data.form" || methodId=="org.role"){
/* if(methodId=="control.kpi" || methodId=="data.form" || methodId=="org.role"){
$.simpleAlert("该模型不允许修改名称!", 'error');
return;
}
}*/
$(this).hide();
$("#title_container").append("<input type='text' maxlength='400'/>");
$("#title_container").children("input").val(title.replace(/(^\s+)|(\s+$)/g, "")).select();