29234
This commit is contained in:
@@ -57,13 +57,14 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
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, {
|
this.$http.post(url, null, {
|
||||||
params: {
|
params: {
|
||||||
current: this.current,
|
current: this.current,
|
||||||
size: 20,
|
size: 20,
|
||||||
areaId: this.user.areaId,
|
areaId: this.user.areaId,
|
||||||
con: this.name
|
con: this.name,
|
||||||
|
name: this.name
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
@@ -74,7 +75,7 @@ export default {
|
|||||||
res.data.forEach(e => {
|
res.data.forEach(e => {
|
||||||
e.isCheck = this.selected.includes(e.idNumber)
|
e.isCheck = this.selected.includes(e.idNumber)
|
||||||
})
|
})
|
||||||
this.list = res.data
|
this.list = this.current > 1 ? [...this.list, ...res.data] : res.data
|
||||||
}else {
|
}else {
|
||||||
res.data.records.forEach(e => {
|
res.data.records.forEach(e => {
|
||||||
e.isCheck = this.selected.includes(e.idNumber)
|
e.isCheck = this.selected.includes(e.idNumber)
|
||||||
|
|||||||
Reference in New Issue
Block a user