多浏览器页签编辑权控制
This commit is contained in:
parent
18446a1e8e
commit
577965b89e
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user