task#15348,调度新签培训数据格式更换
This commit is contained in:
@ -105,7 +105,17 @@ export default {
|
|||||||
docType:1,
|
docType:1,
|
||||||
trainingType:4,
|
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)
|
let aaa=this.pageList.every(item=>item.listShowButton != 1)
|
||||||
console.log(aaa)
|
console.log(aaa)
|
||||||
// if(aaa){
|
// if(aaa){
|
||||||
@ -118,7 +128,7 @@ export default {
|
|||||||
|
|
||||||
}else {
|
}else {
|
||||||
this.showEmpty = false
|
this.showEmpty = false
|
||||||
}
|
}*/
|
||||||
},
|
},
|
||||||
initShow(){
|
initShow(){
|
||||||
this.keyword= '',
|
this.keyword= '',
|
||||||
|
Reference in New Issue
Block a user