Commit b2af4ba6 authored by 黄奎's avatar 黄奎

页面修改

parent 305e5c9c
......@@ -2,9 +2,7 @@
<div class="salesStatistics" v-loading="loading">
<div class="el-card__header">
<span>数据概况</span>
<div style="display: flex;flex-direction: row;align-items: center;display:none;">
<el-button type="primary" class="el-button--small" @click="Export">导出全部</el-button>
</div>
</div>
<div class="content">
<div style="display: flex;flex-direction: row;align-items: center">
......@@ -89,8 +87,8 @@
data() {
return {
msg: {
PageIndex: 1,
PageSize: 10,
pageIndex: 1,
pageSize: 1000,
Source: 0,
StartDate: '',
EndDate: '',
......@@ -136,7 +134,7 @@
})
},
handleCurrentChange(val) {
this.msg.PageIndex = val;
this.msg.pageIndex = val;
this.getList()
},
//获取列表
......@@ -153,27 +151,12 @@
this.loading = false
if (res.data.resultCode == 1) {
this.tableData = res.data.data.pageData;
this.count=res.data.data.count;
this.count = res.data.data.count;
} else {
this.Error(res.data.message);
}
})
},
Export() {
let msg = {
PlatformType: this.msg.PlatformType,
StartDate: this.msg.StartDate,
EndDate: this.msg.EndDate,
OrderType: this.msg.OrderType,
}
msg = JSON.parse(JSON.stringify(msg));
this.GetLocalFile(
"/api/Statistics/GetSellExcel",
msg,
"销售统计.xls"
);
},
empty() {
this.msg.Source = 0;
this.value = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment