没参数修改调用接口

This commit is contained in:
zhangsir
2024-07-11 13:49:34 +08:00
parent 158c836cd1
commit d9bc4603af

View File

@@ -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(){