发布获取wsid

This commit is contained in:
zhal 2022-09-19 17:05:42 +08:00
parent 23bc93931d
commit b5255bec7f

View File

@ -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,