diff --git a/src/views/study/TaskList.vue b/src/views/study/TaskList.vue index 70d11a8e..3518bd1a 100644 --- a/src/views/study/TaskList.vue +++ b/src/views/study/TaskList.vue @@ -220,7 +220,7 @@ export default { this.loading=false; }) }else{ - apiManage.userTaskList(params).then(res=>{ + apiManage.leadership(params).then(res=>{ if(res.code==200){ this.total =parseInt(res.data.total); this.couresList = res.data.records; @@ -231,6 +231,17 @@ export default { }).catch(()=>{ this.loading=false; }) + // apiManage.userTaskList(params).then(res=>{ + // if(res.code==200){ + // this.total =parseInt(res.data.total); + // this.couresList = res.data.records; + // }else{ + // this.$message.error('查询数据失败:'+res.msg); + // } + // this.loading=false; + // }).catch(()=>{ + // this.loading=false; + // }) } }, search(){