|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <SearchBoxVue :data="searchData" @search="handleSearch" @export="handleExport" />
|
|
|
- <TableBoxVue :loading="loading" :data="tableData" style="margin-top: -40px;" @refresh="handleRefresh" />
|
|
|
+ <SearchBoxVue :data="searchData" @search="handleSearch" />
|
|
|
+ <TableBoxVue :loading="loading" :data="tableData" style="margin-top: -40px;" @refresh="handleRefresh" @export="handleExport" />
|
|
|
<pagination
|
|
|
:auto-scroll="false"
|
|
|
:total="paginationData.total"
|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
this.getList()
|
|
|
},
|
|
|
handleExport() {
|
|
|
- ssczysExport(this.this.searchData).then((res) => {
|
|
|
+ ssczysExport(this.searchData).then((res) => {
|
|
|
const content = res.data // 后台返回二进制数据
|
|
|
const blob = new Blob([content])
|
|
|
const fileName = `2.0转3.0.csv`
|