diff --git a/src/views/yinnong/doneCompleted/doneNew.vue b/src/views/yinnong/doneCompleted/doneNew.vue
index 4f078063..8633dec0 100644
--- a/src/views/yinnong/doneCompleted/doneNew.vue
+++ b/src/views/yinnong/doneCompleted/doneNew.vue
@@ -8,6 +8,13 @@ done.vue
+
+
@@ -41,7 +48,8 @@ done.vue
-
+
+
@@ -59,6 +67,8 @@ done.vue
name: "done",
data(){
return{
+ loading:false,
+ finished:false,
taskList:[],
transferTypeOptions:[],
activeName:this.$route.query.activeName?this.$route.query.activeName:'2',
@@ -80,7 +90,7 @@ done.vue
if(this.$route.query.activeName){
this.activeName = this.$route.query.activeName
}
- this.getList();
+ // this.getList();
});
//console.log(this.$route.query.fr)
if(this.$route.query.fr){
@@ -97,7 +107,6 @@ done.vue
}
},
getList() {
- this.taskList = []
//this.$set(this.queryParams, "systemType", '4');
this.$set(this.queryParams, "deptId", this.$store.state.user.deptId);
A_myDoneList(this.queryParams).then((response) => {
@@ -118,6 +127,15 @@ done.vue
});
}
})
+
+ if(this.taskList.length >= response.total){
+ this.finished = true;
+ return;
+ }else{
+ this.loading = false;
+ this.queryParams.pageNum += 1 ;
+ }
+
})
},
goDetail(item){