数据概览功导出+优化功能提交
This commit is contained in:
parent
1b8deaa3aa
commit
393987d292
|
@ -27,7 +27,7 @@
|
|||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<!-- <el-row :gutter="10" class="mb8">-->
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<!-- <el-col :span="1.5">-->
|
||||
<!-- <el-button-->
|
||||
<!-- type="primary"-->
|
||||
|
@ -71,7 +71,19 @@
|
|||
<!-- >导出</el-button>-->
|
||||
<!-- </el-col>-->
|
||||
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->
|
||||
<!-- </el-row>-->
|
||||
|
||||
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="warning"
|
||||
plain
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleOverviewExport"
|
||||
v-hasPermi="['system:info:export']"
|
||||
>导出</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="infoList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
|
@ -392,6 +404,13 @@ export default {
|
|||
this.download('excel/info/export', {
|
||||
...this.queryParams1
|
||||
}, data.storeName+`_${new Date().getTime()}.xlsx`)
|
||||
},
|
||||
|
||||
|
||||
handleOverviewExport(){
|
||||
this.download('excel/info/exportDataOverview', {
|
||||
...this.queryParams
|
||||
}, `sale_${new Date().getTime()}.xlsx`)
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue