单人多窗口编辑权,遗漏处理

This commit is contained in:
446052889@qq.com 2025-02-20 13:18:02 +08:00
parent deca56e4e4
commit 9b73250023
2 changed files with 4 additions and 2 deletions

View File

@ -3558,8 +3558,9 @@ function openRelationDig(obj,value) {
},
success : function(msg) {
if (msg.result == "ok") {
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
window.open("./w?uuid=" + msg.data.uuid+"&teamId"
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid=" + encodeURIComponent($('#sid').val()));
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&browserId=" + browserId + "&sid=" + encodeURIComponent($('#sid').val()));
}
}

View File

@ -3809,8 +3809,9 @@ function openRelationDig(obj, value) {
if (msg.result == "ok") {
//关闭新建按钮
$(".dlg-button button").eq(2).hide();
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
window.open("./w?uuid=" + msg.data.uuid + "&teamId=" + getteamId
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid=" + encodeURIComponent($('#sid').val()));
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&browserId="+browserId+"&sid=" + encodeURIComponent($('#sid').val()));
}
}