diff --git a/pages/account-management/index.vue b/pages/account-management/index.vue index 5b7ccd0..7f3f60e 100644 --- a/pages/account-management/index.vue +++ b/pages/account-management/index.vue @@ -1,206 +1,210 @@ diff --git a/pages/client-credit-list/index.vue b/pages/client-credit-list/index.vue index a874c7d..8e0d96e 100644 --- a/pages/client-credit-list/index.vue +++ b/pages/client-credit-list/index.vue @@ -79,7 +79,7 @@ export default { getFsCreditList({ mallSupplierId: this.$store.state.supplierInfo.supplierId, ...this.pagination }) .then((res) => { if (res) { - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/client-detail/base-paper-deals.vue b/pages/client-detail/base-paper-deals.vue index 2ee4cca..91b2c5e 100644 --- a/pages/client-detail/base-paper-deals.vue +++ b/pages/client-detail/base-paper-deals.vue @@ -19,7 +19,11 @@ - + {{ subItem.productName }} @@ -75,7 +79,7 @@ export default { params: { asc: '', desc: '', - customerEnterpriseId: this.id, + customerEnterpriseId: this.id, mallSupplierId: this.$store.state.supplierInfo.supplierId || null, // 供应商id // customerEnterpriseId: '651107734133018624', // 客户企业ID // mallSupplierId: '670334117090562048', // 供应商id @@ -115,7 +119,7 @@ export default { .then((res) => { // console.log('原纸交易', res) if (res) { - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/client-detail/equipment-information.vue b/pages/client-detail/equipment-information.vue index c0b8d8e..d8555dd 100644 --- a/pages/client-detail/equipment-information.vue +++ b/pages/client-detail/equipment-information.vue @@ -184,7 +184,7 @@ export default { el.collapse = false el.isShowSelect = false }) - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/client-list/index.vue b/pages/client-list/index.vue index ead1686..9e8aa37 100644 --- a/pages/client-list/index.vue +++ b/pages/client-list/index.vue @@ -98,7 +98,7 @@ export default { getCompanyList({ ...this.params, ...this.pagination }) .then((res) => { if (res) { - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/contract-manage/index.vue b/pages/contract-manage/index.vue index 4cb537e..bd4e016 100644 --- a/pages/contract-manage/index.vue +++ b/pages/contract-manage/index.vue @@ -125,7 +125,7 @@ export default { getContractList({ ...this.condition, ...this.pagination }) .then((res) => { if (res) { - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/credit-order-list/index.vue b/pages/credit-order-list/index.vue index da05d78..732e040 100644 --- a/pages/credit-order-list/index.vue +++ b/pages/credit-order-list/index.vue @@ -116,7 +116,7 @@ export default { getFinanceList({ ...this.condition, ...this.pagination }) .then((res) => { if (res) { - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/follow-up-records/index.vue b/pages/follow-up-records/index.vue index cde4003..f2b93c0 100644 --- a/pages/follow-up-records/index.vue +++ b/pages/follow-up-records/index.vue @@ -73,7 +73,7 @@ export default { emptyText: '暂无数据~', background: '#F7F8FA', disabled: false, - emptyImage: '/static/imgs/order/order-empty.png' + emptyImage: '/static/imgs/order/order-empty.png' }, params: { asc: '', @@ -115,7 +115,7 @@ export default { .then((res) => { // console.log('跟踪记录', res) if (res) { - if (this.pagination.pageNum == 1) { + if (res.current == 1) { this.list = res.records } else { this.list = this.list.concat(res.records) diff --git a/pages/start-page/index.vue b/pages/start-page/index.vue index 67d1944..f836e20 100644 --- a/pages/start-page/index.vue +++ b/pages/start-page/index.vue @@ -44,7 +44,7 @@