Commit 09e96b93 authored by 黄奎's avatar 黄奎

页面修改

parent d4e57bf2
......@@ -77,6 +77,9 @@
<el-table-column prop="Gold" label="金象" min-width="2">
</el-table-column>
</el-table>
<el-pagination style="text-align:right" background @current-change="handleCurrentChange" :page-size="msg.PageSize"
:current-page.sync="msg.PageIndex" layout="prev, pager, next" :total="count">
</el-pagination>
</div>
</div>
</template>
......@@ -86,10 +89,13 @@
data() {
return {
msg: {
PageIndex: 1,
PageSize: 10,
Source: 0,
StartDate: '',
EndDate: '',
},
count: 0,
loading: false,
options: [],
tableData: [],
......@@ -129,6 +135,10 @@
})
},
handleCurrentChange(val) {
this.msg.PageIndex = val;
this.getList()
},
//获取列表
getList() {
if (this.value != '' && this.value != null) {
......@@ -142,7 +152,8 @@
this.apipost("/api/Tenant/MallDistributorDayStatistics", this.msg, res => {
this.loading = false
if (res.data.resultCode == 1) {
this.tableData = res.data.data;
this.tableData = res.data.data.pageData;
this.count=res.data.data.count;
} else {
this.Error(res.data.message);
}
......
......@@ -277,9 +277,7 @@
})
}
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getDataList()
......@@ -290,7 +288,6 @@
StartDate: this.msg.StartDate,
EndDate: this.msg.EndDate,
OrderType: this.msg.OrderType,
}
msg = JSON.parse(JSON.stringify(msg));
this.GetLocalFile(
......
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