task#15348,调度新签培训数据格式更换

This commit is contained in:
2024-10-11 09:32:58 +08:00
parent edcd55b074
commit ccf11f6fa6

View File

@ -105,7 +105,17 @@ export default {
docType:1,
trainingType:4,
})
this.pageList=res.data;
this.pageList=res.data?.list;
if(res.assessState === 0){
this.showPoup=false
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){
@ -118,7 +128,7 @@ export default {
}else {
this.showEmpty = false
}
}*/
},
initShow(){
this.keyword= '',