This commit is contained in:
linfso 2024-08-30 19:06:30 +08:00
parent c210d2884f
commit c5c353d788

View File

@ -381,6 +381,7 @@ export default {
daterangeCreateTime: [], daterangeCreateTime: [],
// 修改站点代码时间范围 // 修改站点代码时间范围
daterangeUpdateTime: [], daterangeUpdateTime: [],
selectionList:[],
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
@ -426,6 +427,7 @@ export default {
}, },
// 多选框选中数据 // 多选框选中数据
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.selectionList=selection;
this.ids = selection.map(item => item.id) this.ids = selection.map(item => item.id)
this.single = selection.length!==1 this.single = selection.length!==1
this.multiple = !selection.length this.multiple = !selection.length
@ -611,11 +613,15 @@ export default {
this.exportData(this.selectionList,loadingInstance); this.exportData(this.selectionList,loadingInstance);
} }
else{ else{
let qExportParam={...this.queryParams};
let queryParamsExt=this.addDateRange(this.queryParams, this.dateTimeRange);
let qExportParam={...queryParamsExt};
qExportParam.pageNum=1; qExportParam.pageNum=1;
qExportParam.pageSize=20000; qExportParam.pageSize=20000;
listEmisWaybill(qExportParam).then(response => {
listMonthUser(qExportParam).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.exportData(response.rows,loadingInstance); this.exportData(response.rows,loadingInstance);
} }