29234
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user