From 3698ca4aedd30978559a07d2faec6b98206a9551 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 21 Apr 2022 10:37:24 +0800 Subject: [PATCH] 29234 --- src/components/pages/selectParty.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/pages/selectParty.vue b/src/components/pages/selectParty.vue index 034bfb95..e069f1ae 100644 --- a/src/components/pages/selectParty.vue +++ b/src/components/pages/selectParty.vue @@ -57,13 +57,14 @@ export default { }, methods: { getList() { - var url = this.$route.query.isFourParty ? 'app/appparty/listByFourParty?size=999' : '/app/appparty/list' + var url = this.$route.query.isFourParty ? '/app/appparty/listByFourParty?size=999' : '/app/appparty/list' this.$http.post(url, null, { params: { current: this.current, size: 20, areaId: this.user.areaId, - con: this.name + con: this.name, + name: this.name } }).then(res => { if (res?.data) { @@ -74,7 +75,7 @@ export default { res.data.forEach(e => { e.isCheck = this.selected.includes(e.idNumber) }) - this.list = res.data + this.list = this.current > 1 ? [...this.list, ...res.data] : res.data }else { res.data.records.forEach(e => { e.isCheck = this.selected.includes(e.idNumber)