多浏览器页签编辑权控制

This commit is contained in:
446052889@qq.com 2025-02-07 14:46:57 +08:00
parent 18446a1e8e
commit 577965b89e
3 changed files with 7 additions and 3 deletions

View File

@ -48,7 +48,8 @@ const newWin = function (id, url, params, target) {
// 打开流程模型文件 // 打开流程模型文件
const openDesigner = function(teamId, id, sid) { const openDesigner = function(teamId, id, sid) {
newPageWin('palDesigner', sid, 'com.actionsoft.apps.coe.pal_pl_repository_designer', {uuid: id, teamId: teamId}); const browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
newPageWin('palDesigner', sid, 'com.actionsoft.apps.coe.pal_pl_repository_designer', {uuid: id, teamId: teamId, browserId : browserId});
} }
// 退出pal // 退出pal

View File

@ -48,7 +48,8 @@ const newWin = function (id, url, params, target) {
// 打开流程模型文件 // 打开流程模型文件
const openDesigner = function(teamId, id, sid) { const openDesigner = function(teamId, id, sid) {
newPageWin('palDesigner', sid, 'com.actionsoft.apps.coe.pal_pl_repository_designer', {uuid: id, teamId: teamId}); const browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
newPageWin('palDesigner', sid, 'com.actionsoft.apps.coe.pal_pl_repository_designer', {uuid: id, teamId: teamId, browserId: browserId});
} }
// 退出pal // 退出pal

View File

@ -48,7 +48,9 @@ const newWin = function (id, url, params, target) {
// 打开流程模型文件 // 打开流程模型文件
const openDesigner = function(teamId, id, sid) { const openDesigner = function(teamId, id, sid) {
newPageWin('palDesigner', sid, 'com.actionsoft.apps.coe.pal_pl_repository_designer', {uuid: id, teamId: teamId}); // 创建一个浏览器标识id
const browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
newPageWin('palDesigner', sid, 'com.actionsoft.apps.coe.pal_pl_repository_designer', {uuid: id, teamId: teamId, browserId : browserId});
} }
// 退出pal // 退出pal