|
@@ -62,19 +62,6 @@
|
|
|
<el-table-column label="类型" align="center" prop="type" :formatter="typeFormat"></el-table-column>
|
|
|
</el-table>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" style="text-align:right">
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- small
|
|
|
- layout="total,sizes, prev, pager, next"
|
|
|
- :total="qProp.total"
|
|
|
- :page-sizes="[5, 10, 15, 20]"
|
|
|
- :pageSize="qProp.pageSize"
|
|
|
- @size-change="size => pagChange(size, undefined)"
|
|
|
- @current-change="page => pagChange(undefined, page)"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </el-col>
|
|
|
</el-row>
|
|
|
<el-row type="flex" justify="center">
|
|
|
<el-col :span="2" style="padding-top:20px">
|
|
@@ -168,9 +155,9 @@ export default {
|
|
|
this.getOtherList({ skip, limit: size });
|
|
|
},
|
|
|
// 分页
|
|
|
- async getOtherList({ skip = 0, limit = this.qProp.pageSize } = {}) {
|
|
|
+ async getOtherList() {
|
|
|
this.qProp.loading = true;
|
|
|
- const res = await this.qQuery({ skip, limit });
|
|
|
+ const res = await this.qQuery();
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `qList`, res.data);
|
|
|
this.$set(this.qProp, `total`, res.total);
|