Showing
1 changed file
with
11 additions
and
11 deletions
@@ -84,17 +84,17 @@ | @@ -84,17 +84,17 @@ | ||
84 | <Button>导出</Button> | 84 | <Button>导出</Button> |
85 | </div> | 85 | </div> |
86 | </filter-item> | 86 | </filter-item> |
87 | - <layout-list> | ||
88 | - <Table border :columns="tableCols" :data="tableData"></Table> | ||
89 | - <Page | ||
90 | - :total="pageData.total" | ||
91 | - :current="pageData.current" | ||
92 | - :page-size="pageData.pageSize" | ||
93 | - show-total | ||
94 | - @on-change="pageChange" | ||
95 | - ></Page> | ||
96 | - </layout-list> | ||
97 | </layout-filter> | 87 | </layout-filter> |
88 | + <layout-list> | ||
89 | + <Table border :columns="tableCols" :data="tableData"></Table> | ||
90 | + <Page | ||
91 | + :total="pageData.total" | ||
92 | + :current="pageData.current" | ||
93 | + :page-size="pageData.pageSize" | ||
94 | + show-total | ||
95 | + @on-change="pageChange" | ||
96 | + ></Page> | ||
97 | + </layout-list> | ||
98 | </layout-body> | 98 | </layout-body> |
99 | </div> | 99 | </div> |
100 | </template> | 100 | </template> |
@@ -179,7 +179,7 @@ export default { | @@ -179,7 +179,7 @@ export default { | ||
179 | this.financeService.shopWithdrawAccountList(params).then(ret => { | 179 | this.financeService.shopWithdrawAccountList(params).then(ret => { |
180 | this.tableData = _.get(ret, 'data.records', []); | 180 | this.tableData = _.get(ret, 'data.records', []); |
181 | this.pageData.total = _.get(ret, 'data.totalCount', 0); | 181 | this.pageData.total = _.get(ret, 'data.totalCount', 0); |
182 | - this.pageData.current = _.get(ret, 'data.pageNo', 0) + 1; | 182 | + this.pageData.current = _.get(ret, 'data.pageNo', 1); |
183 | }); | 183 | }); |
184 | }, | 184 | }, |
185 | getDetailById(id) { | 185 | getDetailById(id) { |
-
Please register or login to post a comment