|
@@ -635,7 +635,7 @@ let rptArchiveObj = {
|
|
|
if (!rptArchiveObj._chkIfFullArchives(currentNode)) {
|
|
|
let archiveUrl = `/tender/report_api/addArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}`;
|
|
|
if (currentRptPageRst.splitArcPages && currentRptPageRst.splitArcPages.length > 0) {
|
|
|
- archiveUrl = `/tender/report_api/addParentChildrenArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}/${currentRptPageRst.splitArcPages.length};${JSON.stringify(currentRptPageRst.splitArcPagesInfo)}`;
|
|
|
+ archiveUrl = `/tender/report_api/addParentChildrenArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}/${JSON.stringify(currentRptPageRst.splitArcPages)};${JSON.stringify(currentRptPageRst.splitArcPagesInfo)}`;
|
|
|
}
|
|
|
postDataWithFile(archiveUrl, formData, function (result) {
|
|
|
// postDataWithFile('/tender/report_api/addArchive/' + PROJECT_ID + '/' + current_stage_id + '/' + currentNode.refId, formData, function (result) {
|
|
@@ -704,7 +704,7 @@ let rptArchiveObj = {
|
|
|
let archiveUrl = `/tender/report_api/updateArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}/${orgName}`;
|
|
|
if (currentRptPageRst.splitArcPages && currentRptPageRst.splitArcPages.length > 0) {
|
|
|
// archiveUrl = `/tender/report_api/addParentChildrenArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}/${orgName}`;
|
|
|
- archiveUrl = `/tender/report_api/addParentChildrenArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}/${currentRptPageRst.splitArcPages.length};${JSON.stringify(currentRptPageRst.splitArcPagesInfo)}`; // 分页方式不需要 orgName
|
|
|
+ archiveUrl = `/tender/report_api/addParentChildrenArchive/${PROJECT_ID}/${current_stage_id}/${currentNode.refId}/${JSON.stringify(currentRptPageRst.splitArcPages)};${JSON.stringify(currentRptPageRst.splitArcPagesInfo)}`; // 分页方式不需要 orgName
|
|
|
}
|
|
|
postDataWithFile(archiveUrl, formData, function (result) {
|
|
|
// postDataWithFile('/tender/report_api/updateArchive/' + PROJECT_ID + '/' + current_stage_id + '/' + currentNode.refId + '/' + orgName, formData, function (result) {
|