|
|
@@ -30,8 +30,8 @@ export default {
|
|
|
active: 0,
|
|
|
loading: false,
|
|
|
finished: false,
|
|
|
- planList: '',
|
|
|
- historyList: '',
|
|
|
+ planList: [],
|
|
|
+ historyList: [],
|
|
|
followUpform: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 20,
|
|
|
@@ -56,10 +56,12 @@ export default {
|
|
|
async followUpPage() {
|
|
|
const res = await followUpPage(this.followUpform)
|
|
|
this.loading = false
|
|
|
+ // this.$toast(this.followUpform.pageNum)
|
|
|
if (this.followUpform.pageNum == 1) {
|
|
|
this.planList = res.data.records
|
|
|
} else {
|
|
|
this.planList = this.planList.concat(res.data.records)
|
|
|
+ console.log(this.planList)
|
|
|
}
|
|
|
if (this.planList.length >= res.data.total) {
|
|
|
this.finished = true
|