|
|
@@ -48,7 +48,7 @@
|
|
|
:showBatchDelete="false"
|
|
|
:showOperation="false"
|
|
|
@findPage="findPage"
|
|
|
- :isshowpagination="false"
|
|
|
+ :isshowpagination="true"
|
|
|
></kt-common-table>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -92,6 +92,8 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.showStatus = false;
|
|
|
+ this.pageRequest.pageNo = 1;
|
|
|
+ this.pageRequest.pageSize = 20;
|
|
|
this.findPage();
|
|
|
},
|
|
|
/**
|
|
|
@@ -119,6 +121,13 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
this.pageResult.content = res.data.maps;
|
|
|
+ this.pageResult = {
|
|
|
+ content: res.data.maps,
|
|
|
+ pageNo: res.data.current,
|
|
|
+ pageSize: res.data.pageSize,
|
|
|
+ totalPages: res.data.pageNo,
|
|
|
+ totalSize: res.data.total,
|
|
|
+ };
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
}
|