mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 13:56:43 +08:00
没参数修改调用接口
This commit is contained in:
@@ -220,7 +220,7 @@ export default {
|
|||||||
this.loading=false;
|
this.loading=false;
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
apiManage.userTaskList(params).then(res=>{
|
apiManage.leadership(params).then(res=>{
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
this.total =parseInt(res.data.total);
|
this.total =parseInt(res.data.total);
|
||||||
this.couresList = res.data.records;
|
this.couresList = res.data.records;
|
||||||
@@ -231,6 +231,17 @@ export default {
|
|||||||
}).catch(()=>{
|
}).catch(()=>{
|
||||||
this.loading=false;
|
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(){
|
search(){
|
||||||
|
|||||||
Reference in New Issue
Block a user