伊利项目【增加审批中状态】补提文件

This commit is contained in:
qinoy 2022-07-11 13:55:30 +08:00
parent b19c397d6f
commit 9d535c385e

View File

@ -1413,6 +1413,24 @@ function deleteFile(type) {
tempIds.push($(this).attr('data-id')); 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 j = 0; j < tempIds.length; j++) {
for (var m = 0; m < changeTemp.length; m++) { for (var m = 0; m < changeTemp.length; m++) {
if (tempIds[j] == changeTemp[m].changeFileId) { if (tempIds[j] == changeTemp[m].changeFileId) {
@ -1460,6 +1478,24 @@ function deleteFile(type) {
tempIds.push($(this).attr('data-id')); 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 j = 0; j < tempIds.length; j++) {
for (var m = 0; m < stopTemp.length; m++) { for (var m = 0; m < stopTemp.length; m++) {
if (tempIds[j] == stopTemp[m].stopFileId) { if (tempIds[j] == stopTemp[m].stopFileId) {