编号生成
This commit is contained in:
parent
adeaf36dad
commit
030ffc6ef5
@ -3473,7 +3473,7 @@ function openRelationDig(obj,value) {
|
||||
+ "&relationShapeIds=" + relationShapeIds
|
||||
+ "&relationFileIds=" + relationFileIds
|
||||
+ "&ruuid=" + ruuid);
|
||||
|
||||
debugger;
|
||||
if(methodId=="org.role"){
|
||||
//根据角色
|
||||
$.ajax({
|
||||
@ -3541,6 +3541,7 @@ function openRelationDig(obj,value) {
|
||||
methodId:methodId
|
||||
},
|
||||
success : function(msg) {
|
||||
|
||||
if (msg.data.result == "ok") {
|
||||
window.top.$.simpleAlert("请勿重复新建角色模型!!!");
|
||||
}else{
|
||||
@ -3558,7 +3559,7 @@ function openRelationDig(obj,value) {
|
||||
},
|
||||
success : function(msg) {
|
||||
if (msg.result == "ok") {
|
||||
window.open("./w?uuid=" + msg.data.uuid+"&teamId"
|
||||
window.open("./w?uuid=" + msg.data.uuid+"&teamId="+$('#teamId').val()
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid=" + encodeURIComponent($('#sid').val()));
|
||||
}
|
||||
|
||||
@ -3726,24 +3727,25 @@ function saveRelevanceShapesTODB(shapesObj, shapeId, shapeName, fileName,
|
||||
}
|
||||
}
|
||||
//by bzp 校验角色和岗位不能同时选择
|
||||
if(objId == 'role' || objId == 'post'){
|
||||
if(objId == 'role'){
|
||||
//判断岗位
|
||||
var tmp = $("input[objid='post']").val();
|
||||
if(tmp.length > 0){
|
||||
$.simpleAlert("不能同时选择岗位和角色");
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(objId == 'post'){
|
||||
//判断角色
|
||||
var tmp = $("input[objid='role']").val();
|
||||
if(tmp.length > 0){
|
||||
$.simpleAlert("不能同时选择岗位和角色");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(objId == 'role' || objId == 'post'){
|
||||
if(objId == 'role'){
|
||||
//判断岗位
|
||||
var tmp = $("input[objid='post']").val();
|
||||
if(tmp.length > 0){
|
||||
$.simpleAlert("不能同时选择岗位和角色");
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(objId == 'post'){
|
||||
//判断角色
|
||||
var tmp = $("input[objid='role']").val();
|
||||
if(tmp.length > 0){
|
||||
$.simpleAlert("不能同时选择岗位和角色");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//by bzp end
|
||||
var ref = $("input[objid_shapeId='" + objId + "']").attr("ref");
|
||||
$.ajax({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user