From 9d535c385e7792bf383cc3c20e252f3b10a9b397 Mon Sep 17 00:00:00 2001 From: qinoy Date: Mon, 11 Jul 2022 13:55:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=8A=E5=88=A9=E9=A1=B9=E7=9B=AE=E3=80=90?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=A1=E6=89=B9=E4=B8=AD=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E3=80=91=E8=A1=A5=E6=8F=90=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/coe.pal.process.publish.multiple.js | 36 +++++++++++++++++++ 1 file changed, 36 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 cf5ee13f..12cdafc9 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 @@ -1413,6 +1413,24 @@ function deleteFile(type) { tempIds.push($(this).attr('data-id')); } }); + var param = { + cmd: 'com.actionsoft.apps.coe.pal.publisher_update_isApproval_status', + repositoryIds: JSON.stringify(tempIds), + wsId : wsId, + sid: sid, + isApproval: 0 + }; + $.ajax({ + url : "./jd", + type : "POST", + dataType : "JSON", + async : true, + data : param, + success : function(r) {}, + error : function(XMLHttpRequest, textStatus, errorThrown) { + $.simpleAlert("", 'error'); + } + }); for (var j = 0; j < tempIds.length; j++) { for (var m = 0; m < changeTemp.length; m++) { if (tempIds[j] == changeTemp[m].changeFileId) { @@ -1460,6 +1478,24 @@ function deleteFile(type) { tempIds.push($(this).attr('data-id')); } }); + var param = { + cmd: 'com.actionsoft.apps.coe.pal.publisher_update_isApproval_status', + repositoryIds: JSON.stringify(tempIds), + wsId : wsId, + sid: sid, + isApproval: 0 + }; + $.ajax({ + url : "./jd", + type : "POST", + dataType : "JSON", + async : true, + data : param, + success : function(r) {}, + error : function(XMLHttpRequest, textStatus, errorThrown) { + $.simpleAlert("", 'error'); + } + }); for (var j = 0; j < tempIds.length; j++) { for (var m = 0; m < stopTemp.length; m++) { if (tempIds[j] == stopTemp[m].stopFileId) {