bug修改

This commit is contained in:
zhaoxiao
2021-10-20 09:11:03 +08:00
parent e975c99a1c
commit 44e78691a7
15 changed files with 23 additions and 21 deletions
@@ -96,6 +96,7 @@
<!-- table表格区域-->
<div>
<!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"-->
<a-table
ref="table"
size="middle"
@@ -107,7 +108,6 @@
:pagination="ipagination"
:loading="loading"
@change="handleTableChange"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
:class="dataSource.length === 0 ? 'show-scroll' : ''"
class="j-table-force-nowrap main-table">
@@ -132,7 +132,6 @@
:dataSource="footerDataSource"
:showHeader="false"
:pagination="false"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap footer-table">
<!-- 项目名称-->
@@ -243,7 +242,7 @@ export default {
title: '序号',
dataIndex: 'title',
align: 'center',
width: 60,
width: 60
}, {
title: '来款项目',
align: 'center',
@@ -469,7 +468,7 @@ export default {
}
console.log('导出参数', param)
downloadFile(this.url.exportXlsUrl, fileName + '.xlsx', param)
},
}
}
}
</script>
@@ -73,6 +73,7 @@
<!-- table表格区域-->
<div>
<!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"-->
<a-table
size="middle"
ref="table"
@@ -84,7 +85,6 @@
:loading="loading"
:scroll="{x: 1000}"
@change="handleTableChange"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
:class="dataSource.length === 0 ? 'show-scroll' : ''"
class="j-table-force-nowrap main-table">
@@ -34,7 +34,8 @@
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="24">
<span class="table-page-search-submitButtons">
<a-button type="primary" icon="search" @click="searchQuery" v-has="'workingGroupPaymentStatistics:search'">查询</a-button>
<a-button type="primary" icon="search" @click="searchQuery"
v-has="'workingGroupPaymentStatistics:search'">查询</a-button>
<a-button icon="reload" @click="searchReset" class="reset-button">重置</a-button>
</span>
</a-col>
@@ -45,12 +46,15 @@
<!-- 操作按钮区域-->
<div class="table-operator">
<a-button type="primary" icon="export" @click="handleExportXls('工作组来款统计')" v-has="'workingGroupPaymentStatistics:export'">导出</a-button>
<a-button type="primary" icon="export" @click="handleExportXls('工作组来款统计')"
v-has="'workingGroupPaymentStatistics:export'">导出
</a-button>
</div>
<!-- 操作按钮区域-end-->
<!-- table表格区域-->
<div>
<!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"-->
<a-table
size="middle"
ref="table"
@@ -63,7 +67,6 @@
:scroll="{x: 1100}"
@change="handleTableChange"
:class="dataSource.length === 0 ? 'show-scroll' : ''"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap main-table">
<!-- 项目名称-->
@@ -252,7 +255,7 @@ export default {
}
this.footerDataSource = [obj]
if (res.result.pageList.total) {
this.ipagination.total = res.result.pageList.total
this.ipagination.total = res.result.pageList.total
//清空列表选中
this.onClearSelected()
} else {