From 577965b89e9111243f700827ba74cea57139eb87 Mon Sep 17 00:00:00 2001 From: "446052889@qq.com" <446052889@qq.com> Date: Fri, 7 Feb 2025 14:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E6=B5=8F=E8=A7=88=E5=99=A8=E9=A1=B5?= =?UTF-8?q?=E7=AD=BE=E7=BC=96=E8=BE=91=E6=9D=83=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com.actionsoft.apps.coe.pal.modelconvert/src/api/commonFun.js | 3 ++- com.actionsoft.apps.coe.pal.processlist/src/api/commonFun.js | 3 ++- com.actionsoft.apps.coe.pal/src/api/commonFun.js | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/com.actionsoft.apps.coe.pal.modelconvert/src/api/commonFun.js b/com.actionsoft.apps.coe.pal.modelconvert/src/api/commonFun.js index 44957f8..79650b1 100644 --- a/com.actionsoft.apps.coe.pal.modelconvert/src/api/commonFun.js +++ b/com.actionsoft.apps.coe.pal.modelconvert/src/api/commonFun.js @@ -48,7 +48,8 @@ const newWin = function (id, url, params, target) { // 打开流程模型文件 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 diff --git a/com.actionsoft.apps.coe.pal.processlist/src/api/commonFun.js b/com.actionsoft.apps.coe.pal.processlist/src/api/commonFun.js index cbb5197..46a6418 100644 --- a/com.actionsoft.apps.coe.pal.processlist/src/api/commonFun.js +++ b/com.actionsoft.apps.coe.pal.processlist/src/api/commonFun.js @@ -48,7 +48,8 @@ const newWin = function (id, url, params, target) { // 打开流程模型文件 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 diff --git a/com.actionsoft.apps.coe.pal/src/api/commonFun.js b/com.actionsoft.apps.coe.pal/src/api/commonFun.js index a784c95..9be2447 100644 --- a/com.actionsoft.apps.coe.pal/src/api/commonFun.js +++ b/com.actionsoft.apps.coe.pal/src/api/commonFun.js @@ -48,7 +48,9 @@ const newWin = function (id, url, params, target) { // 打开流程模型文件 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