task#15348,调度app,培训完成给提示

This commit is contained in:
2024-10-11 11:38:18 +08:00
parent 584fded2f7
commit 45ca7a8382

View File

@ -109,31 +109,18 @@ export default {
docType:1, docType:1,
trainingType:4, trainingType:4,
}) })
this.pageList=res.data?.list; this.pageList=res.data?.list || [];
if(res.assessState === 0){
this.showPoup=false //
}else if(res.assessState === 1){
this.isFinished=true //是否完成
}
if(this.pageList?.length === 0){
this.showEmpty = true
}else {
this.showEmpty = false
}
/* this.pageList=res.data;
let aaa=this.pageList.every(item=>item.listShowButton != 1)
console.log(aaa)
// if(aaa){
if(res.assessState === 0){ if(res.assessState === 0){
this.showPoup=false this.showPoup=false
this.isFinished=true this.isFinished=false
}else {
this.isFinished=true //是否完成
} }
if(res.data.length === 0){ if(this.pageList?.length == 0){
this.showEmpty = true this.showEmpty = true
}else { }else {
this.showEmpty = false this.showEmpty = false
}*/ }
}, },
initShow(){ initShow(){
this.keyword= '', this.keyword= '',