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