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