Commit 14d2d6e6 by member

修复分页数据问题

parent c2775894
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
// 分类 // 分类
getGiftList() { getGiftList() {
this.axios this.axios
.get(`${this.baseUrl}/api-integral-mall/load-category?requestProject=${this.pname}`) .get(`${this.baseUrl}/api-integral-mall/load-category?requestProject=gic-web`)
.then(res => { .then(res => {
const resData = res.data; const resData = res.data;
if (resData.errorCode === 0) { if (resData.errorCode === 0) {
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
}, },
// 分页换页 // 分页换页
handleChangePage(val) { handleChangePage(val) {
this.cardCurrentPage = val; this.currentPage = val;
this.getData(); this.getData();
}, },
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
// 分页数据 integralCost积分费用 cashCost现金费用 proName // 分页数据 integralCost积分费用 cashCost现金费用 proName
getData() { getData() {
const params = { const params = {
requestProject: this.pname, requestProject: 'gic-web',
currentPage: this.currentPage, currentPage: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
category: this.giftVal, category: this.giftVal,
......
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