|
@@ -73,11 +73,7 @@
|
|
|
<button id="btnArchiveList" type="button" class="btn btn-success btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>
|
|
|
已归档
|
|
|
</button>
|
|
|
- <div class="dropdown-menu" aria-labelledby="btnGroupDrop1" style="min-width:112px">
|
|
|
- <!--
|
|
|
- <a class="dropdown-item" href="#">#1 2021-03-01</a>
|
|
|
- <a class="dropdown-item" href="#">#2 2021-02-28</a>
|
|
|
- -->
|
|
|
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop1" style="min-width:112px" id="selectionArchiveInfo">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -536,10 +532,23 @@
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- buildStageSelection();
|
|
|
- setupSignature();
|
|
|
- //还有必要触发报表刷新!
|
|
|
- zTreeOprObj.onClick(null, null, zTreeOprObj.currentNode);
|
|
|
+ let params = {prjId: PROJECT_ID, stgId: current_stage_id};
|
|
|
+ $.bootstrapLoading.start();
|
|
|
+ CommonAjax.postXsrfEx("/tender/report_api/getReportArchive", params, 10000, true, getCookie('csrfToken_j'),
|
|
|
+ function(result){
|
|
|
+ $.bootstrapLoading.end();
|
|
|
+ ARCHIVE_LIST = result.data;
|
|
|
+ buildStageSelection();
|
|
|
+ setupSignature();
|
|
|
+ //还有必要触发报表刷新!
|
|
|
+ zTreeOprObj.onClick(null, null, zTreeOprObj.currentNode);
|
|
|
+ //console.log(ARCHIVE_LIST);
|
|
|
+ }, function(err){
|
|
|
+ $.bootstrapLoading.end();
|
|
|
+ }, function(ex){
|
|
|
+ $.bootstrapLoading.end();
|
|
|
+ }
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
function setupSignature() {
|