|
@@ -90,6 +90,7 @@
|
|
</a-card>
|
|
</a-card>
|
|
|
|
|
|
<!-- table区域 -->
|
|
<!-- table区域 -->
|
|
|
|
+ <a-spin :spinning="loading">
|
|
<a-card :bordered="false" style=" marginTop:10px;">
|
|
<a-card :bordered="false" style=" marginTop:10px;">
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
<a-button type="primary" @click="exportList('成本分配列表')" icon="plus">导出</a-button>
|
|
<a-button type="primary" @click="exportList('成本分配列表')" icon="plus">导出</a-button>
|
|
@@ -122,6 +123,7 @@
|
|
</span>
|
|
</span>
|
|
</a-table>
|
|
</a-table>
|
|
</a-card>
|
|
</a-card>
|
|
|
|
+ </a-spin>
|
|
<ChistoryModal ref="ChistoryModal"></ChistoryModal>
|
|
<ChistoryModal ref="ChistoryModal"></ChistoryModal>
|
|
<!-- 详情 大抽屉 -->
|
|
<!-- 详情 大抽屉 -->
|
|
<costDetail-drawer ref="costDetailDrawer" @close="getCostList"></costDetail-drawer>
|
|
<costDetail-drawer ref="costDetailDrawer" @close="getCostList"></costDetail-drawer>
|
|
@@ -311,7 +313,9 @@ export default {
|
|
//导出
|
|
//导出
|
|
exportList(fileName){
|
|
exportList(fileName){
|
|
var params = this.queryParam
|
|
var params = this.queryParam
|
|
|
|
+ this.loading = true
|
|
downFile('/orderData/syCostLossReview/exportXls', params).then(data => {
|
|
downFile('/orderData/syCostLossReview/exportXls', params).then(data => {
|
|
|
|
+ this.loading = false
|
|
console.log('888')
|
|
console.log('888')
|
|
if (!data) {
|
|
if (!data) {
|
|
this.$message.warning('文件下载失败')
|
|
this.$message.warning('文件下载失败')
|