Commit b597c9b1 by jack

修复bug

1 parent 91099d5d
......@@ -69,14 +69,12 @@ export default {
data() {
return {
currentPage: 1,
pageSize: 10,
};
},
created() {
//console.log(this.$scopedSlots);
},
mounted() {
console.log(this.$scopedSlots);
},
methods: {
/**
......@@ -96,6 +94,7 @@ export default {
// 重置
rest() {
this.currentPage = 1;
this.pageSize = 10
},
},
};
......
......@@ -182,7 +182,8 @@ export default {
// 获取列表
getList(options) {
let oParams = this.getParams();
oParams.pageSize = options ? options.pageSize || 10 : 10;
console.log(this.$refs.glsxTable.pageSize)
oParams.pageSize = this.$refs.glsxTable.pageSize;
oParams.pageNumber = options ? options.pageNumber || 1 : 1;
this.loading = true
DRIVE_DETAIL_SEARCH(oParams).then((res) => {
......
......@@ -163,7 +163,7 @@ export default {
// 获取列表
getList(options) {
let oParams = this.getParams();
oParams.pageSize = options ? options.pageSize || 10 : 10;
oParams.pageSize = this.$refs.glsxTable.pageSize;
oParams.pageNumber = options ? options.pageNumber || 1 : 1;
this.loading = true;
GETMILEAGESTATISTICS(oParams)
......
......@@ -193,7 +193,7 @@ export default {
// 获取列表
getList(options) {
let oParams = this.getParams();
oParams.pageSize = options ? options.pageSize || 10 : 10;
oParams.pageSize = this.$refs.glsxTable.pageSize;
oParams.pageNumber = options ? options.pageNumber || 1 : 1;
MILEAGE_GETDAILYSEARCH(oParams).then((res) => {
let { data } = res;
......
......@@ -132,7 +132,7 @@ export default {
// 获取列表
getList(options) {
let oParams = this.getParams();
oParams.pageSize = options ? options.pageSize || 10 : 10;
oParams.pageSize = this.$refs.glsxTable.pageSize;
oParams.pageNumber = options ? options.pageNumber || 1 : 1;
OIL_STATISTICS_SEARCH(oParams).then((res) => {
let { data } = res;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!