多浏览器页签编辑权控制-流程发布
This commit is contained in:
parent
7150be359a
commit
fe4781ebf1
Binary file not shown.
@ -2995,7 +2995,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(j).getString("RELATIONFILEID"));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId() + "&browserId=" + UUIDGener.getObjectId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
@ -3246,7 +3246,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(b).getString("RELATIONFILEID"));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId() + "&browserId=" + UUIDGener.getObjectId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
@ -3525,7 +3525,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(b).getString("RELATIONFILEID "));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId() + "&browserId=" + UUIDGener.getObjectId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
@ -4009,7 +4009,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
JSONObject jb = new JSONObject();
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(j).getString("RELATIONFILEID"));
|
||||
if(pModel!=null){
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId();
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+_uc.getSessionId() + "&browserId=" + UUIDGener.getObjectId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
@ -5407,7 +5407,7 @@ public class ProcessPublishWeb extends ActionWeb {
|
||||
PALRepositoryModel pModel=PALRepositoryCache.getCache().get(relatedRowMap.get(i).getString("RELATIONFILEID"));
|
||||
if(pModel!=null){
|
||||
String sessionId = new SSOUtil().registerClientSessionNoPassword("admin", LoginConst.DEFAULT_LANG, "localhost", LoginConst.DEVICE_PC);
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+sessionId;
|
||||
String url=SDK.getConfAPI().getPortalUrl() + "/r/w?uuid="+ pModel.getId()+"&teamId=&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&sid="+sessionId + "&browserId=" + UUIDGener.getObjectId();
|
||||
jb.put("relatedName",pModel.getName());
|
||||
jb.put("relatedUrl",url);
|
||||
jsonArray1.add(jb.toJSONString());
|
||||
|
||||
@ -201,9 +201,10 @@ var CoEProcessPublish = {
|
||||
var nodeObj = nodes[index];
|
||||
if (nodeObj.id.length > 16) {
|
||||
order++;
|
||||
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
|
||||
var hrefUrl = "./w?sid=" + $("#sid").val()
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid="
|
||||
+ nodeObj.id + "&openType=0&openAppType=1";
|
||||
+ nodeObj.id + "&openType=0&openAppType=1&browserId=" + browserId;
|
||||
var content = '<tr><td align="center">'
|
||||
+ order
|
||||
+ '</td><td align="center"><input class="awsui-checkbox" for="ck2" type="checkbox"></td><td align="left" width="100">'
|
||||
@ -227,9 +228,10 @@ var CoEProcessPublish = {
|
||||
var nodeObj = jsonArr[index];
|
||||
if (nodeObj.ID.length > 16) {
|
||||
order++;
|
||||
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
|
||||
var hrefUrl = "./w?sid=" + $("#sid").val()
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid="
|
||||
+ nodeObj.PUBLISHFILEID + "&openType=0&openAppType=1";
|
||||
+ nodeObj.PUBLISHFILEID + "&openType=0&openAppType=1&browserId=" + browserId;
|
||||
content += '<tr><td align="center">'
|
||||
+ order
|
||||
+ '</td><td align="center"><input value="'+nodeObj.ID+'" type="checkbox"></td><td align="left" width="100">'
|
||||
@ -254,9 +256,10 @@ var CoEProcessPublish = {
|
||||
var nodeObj = jsonArr[index];
|
||||
if (nodeObj.ID.length > 16) {
|
||||
order++;
|
||||
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
|
||||
var hrefUrl = "./w?sid=" + $("#sid").val()
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid="
|
||||
+ nodeObj.CHANGEFILEID + "&openType=0&openAppType=1";
|
||||
+ nodeObj.CHANGEFILEID + "&openType=0&openAppType=1&browserId=" + browserId;
|
||||
content += '<tr><td align="center">'
|
||||
+ order
|
||||
+ '</td><td align="center"><input value="'+nodeObj.ID+'" type="checkbox"></td><td align="left" width="100">'
|
||||
@ -281,9 +284,10 @@ var CoEProcessPublish = {
|
||||
var nodeObj = jsonArr[index];
|
||||
if (nodeObj.ID.length > 16) {
|
||||
order++;
|
||||
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
|
||||
var hrefUrl = "./w?sid=" + $("#sid").val()
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid="
|
||||
+ nodeObj.STOPFILEID + "&openType=0&openAppType=1";
|
||||
+ nodeObj.STOPFILEID + "&openType=0&openAppType=1&browserId=" + browserId;
|
||||
content += '<tr><td align="center">'
|
||||
+ order
|
||||
+ '</td><td align="center"><input value="'+nodeObj.ID+'" type="checkbox"></td><td align="left" width="100">'
|
||||
|
||||
@ -50,12 +50,12 @@ function createProcessLevelv2(wd, wsid, parentid, plLevel, div_class) {
|
||||
} else {
|
||||
msg = msg.msg;
|
||||
}
|
||||
|
||||
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
|
||||
var url = "./w?sid="
|
||||
+ encodeURIComponent($('#sid').val())
|
||||
+ "&cmd=com.actionsoft.apps.coe.pal_pl_repository_designer&uuid="
|
||||
+ msg
|
||||
+ "&openType=0&perms=w,d,v&filePerms=-";
|
||||
+ "&openType=0&perms=w,d,v&filePerms=-&browserId=" + browserId;
|
||||
$("#disignerIframe").attr("src", url).attr("uuid", msg);
|
||||
FrmDialog.close();
|
||||
setTimeout(
|
||||
@ -651,6 +651,7 @@ function openDesginer(uuid, openType, plName, appId, processVersionId,
|
||||
if(collaboration == undefined || collaboration == null) {
|
||||
collaboration = "0";
|
||||
}
|
||||
var browserId = (Math.random() + new Date().getTime()).toString(16).replace(".", "");
|
||||
var params = {
|
||||
sid : encodeURIComponent(jQuery('#sid').val()),
|
||||
cmd : "com.actionsoft.apps.coe.pal_pl_repository_designer",
|
||||
@ -660,7 +661,8 @@ function openDesginer(uuid, openType, plName, appId, processVersionId,
|
||||
collaboration : collaboration,
|
||||
teamId : "",
|
||||
perms: "w,d,v",
|
||||
filePerms: "-"
|
||||
filePerms: "-",
|
||||
browserId: browserId
|
||||
}, url, options;
|
||||
if (typeof (isOpenDialog) == "boolean" && isOpenDialog) {// 打开与bpmn关联的多个版本
|
||||
params = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user