架构视图点击方框跳转链接/去掉角色表单绩效不允许修改名称限制
This commit is contained in:
parent
fdbc0b4887
commit
f50ec35b18
@ -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'){
|
||||
|
||||
@ -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;'></i>" +
|
||||
"</div>").appendTo(o);
|
||||
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;display:none;'></i>" +
|
||||
y.on("mousedown.link",
|
||||
function(I) {
|
||||
I.stopPropagation();
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user