This commit is contained in:
liuye
2022-04-21 10:37:24 +08:00
parent 5a6684b39d
commit 3698ca4aed

View File

@@ -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)