task#15348,调度app,培训完成给提示
This commit is contained in:
@ -109,31 +109,18 @@ export default {
|
||||
docType:1,
|
||||
trainingType:4,
|
||||
})
|
||||
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){
|
||||
this.pageList=res.data?.list || [];
|
||||
if(res.assessState === 0){
|
||||
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
|
||||
|
||||
}else {
|
||||
this.showEmpty = false
|
||||
}*/
|
||||
}
|
||||
},
|
||||
initShow(){
|
||||
this.keyword= '',
|
||||
|
Reference in New Issue
Block a user