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)