角色模型多次重复
This commit is contained in:
parent
ed16209afc
commit
b8b42abee8
@ -1121,6 +1121,14 @@ function openRelationDialog(obj, callback) {
|
||||
},
|
||||
success : function(msg) {
|
||||
if (msg.result == "ok") {
|
||||
//关闭新建按钮
|
||||
var dlgButton=parent.$(".dlg-button button");
|
||||
for(var i=0;i<dlgButton.length;i++){
|
||||
var text=dlgButton.eq(i).text();
|
||||
if(text=="新建绩效模型" || text=="新建表单模型"){
|
||||
dlgButton.eq(i).hide();
|
||||
}
|
||||
}
|
||||
window.open("./w?uuid=" + msg.data.uuid+"&teamId"
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid=" + encodeURIComponent($('#sid').val()));
|
||||
}
|
||||
|
||||
@ -3563,7 +3563,7 @@ function openRelationDig(obj,value) {
|
||||
success : function(msg) {
|
||||
if (msg.result == "ok") {
|
||||
//关闭新建按钮
|
||||
$(".dlg-button button").eq(2).hide();
|
||||
$(".dlg-button button").eq(2).hide();
|
||||
window.open("./w?uuid=" + msg.data.uuid+"&teamId="+$('#teamId').val()
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid=" + encodeURIComponent($('#sid').val()));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user