This commit is contained in:
shidongli 2023-11-16 09:29:59 +08:00
parent bc9ba4b2da
commit 4fc5ca0a9c
2 changed files with 8 additions and 10 deletions

View File

@ -105,7 +105,7 @@
parentId: '',
orderStatus: 'NOT_EVALUATED', //
evaluatedata: {}, //
total: '',
total: 0,
cardNo: '', //
region: '', //
pageNum: 1,
@ -160,8 +160,8 @@
.pageSize).then(res => {
if (res.rows) {
res.rows.forEach(e => {
// e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
this.evaluatedata.push(e)
this.total = res.total
})
}
@ -303,10 +303,7 @@
getAppletOrderList(this.parentId, this.orderStatus, this.cardNo, this.region, this.pageNum, this
.pageSize).then(res => {
this.evaluatedata = res.rows
console.log(this.evaluatedata, '000')
this.total = res.total
console.log(this.total, '10')
// console.log(this.baseurl+this.evaluatedata[0].pictureUrl,'000')
})

View File

@ -49,10 +49,11 @@
baseurl: '',
cardNo: '', //
region: '', //
getPageNum:1,
getPageSize:20,
pageNum:1,
pageSize:20,
userinfo:{},
rateval: '', //
total: 0,
}
},
onShow() {
@ -67,7 +68,6 @@
},
onReachBottom() { //
if (this.evaluatedata.length >= this.total) {
} else {
@ -76,9 +76,9 @@
.pageSize).then(res => {
if (res.rows) {
res.rows.forEach(e => {
// e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
this.evaluatedata.push(e)
})
this.total = res.total
}
@ -90,8 +90,9 @@
methods: {
//
getlist() {
getAppletOrderList(this.parentId, this.orderStatus, this.cardNo, this.region,this.getPageNum,this.getPageSize).then(res => {
getAppletOrderList(this.parentId, this.orderStatus, this.cardNo, this.region,this.pageNum,this.pageSize).then(res => {
this.evaluatedata=res.rows
this.total = res.total
// console.log(this.evaluatedata.length)
})