From b5255bec7f53ad36c70ac0c113f911b42a823c87 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Mon, 19 Sep 2022 17:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=8E=B7=E5=8F=96wsid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/coe.pal.process.publish.multiple.js | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js index fbe0daca..dd9a5738 100644 --- a/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js +++ b/com.actionsoft.apps.coe.pal.publisher/web/com.actionsoft.apps.coe.pal.publisher/js/coe.pal.process.publish.multiple.js @@ -33,6 +33,7 @@ var stopPageSetting = { } var isHighSecurity; $(document).ready(function(){ + getWsId(); $('td,th').css('padding-top','0px'); $('td,th').css('padding-bottom','0px'); // $('#alertMsg').css('background', '#fff'); @@ -51,6 +52,31 @@ $(document).ready(function(){ // listenCloseEvent();// 关闭窗口执行,关闭窗口/刷新都会造成流程实例被删除,注释掉 }) + + +//获取wsid +function getWsId() { + var param = { + sid : $("#sid").val(), + cmd : "com.actionsoft.apps.coe.pal.publisher_publish_getWsId" + } + $.ajax({ + url : "./jd", + type : "POST", + dataType : "JSON", + data : param, + success : function(r) { + if (r.result == 'ok') { + var wsId=$("#WSID").val(); + if(wsId==""){ + $("#WSID").val(r.data.wsId); + } + } + } + }); +} + + var paginationSetting = { pageLimit: pageLimit, showItem: 10,