mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
删除假数据
This commit is contained in:
@@ -58,8 +58,20 @@ export default {
|
|||||||
this.status.reviewResult=data.reviewResult
|
this.status.reviewResult=data.reviewResult
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(data.onlineLearning==2){
|
}else if(data.onlineLearning==2 && data.offlineTutoring==1){
|
||||||
this.status.onlineLearning=2
|
this.status.onlineLearning=2
|
||||||
|
}else if (data.onlineLearning==2 && data.offlineTutoring==0){
|
||||||
|
this.status.onlineLearning=0
|
||||||
|
if (data.offlineTutoring==0){
|
||||||
|
this.status.offlineTutoring=0
|
||||||
|
if (data.endStatus==0){
|
||||||
|
this.status.endStatus=0
|
||||||
|
this.status.reviewResult=data.reviewResult
|
||||||
|
}else if (data.endStatus==2){
|
||||||
|
this.status.endStatus=2
|
||||||
|
this.status.reviewResult=data.reviewResult
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}else if (data.draftStatus==2){
|
}else if (data.draftStatus==2){
|
||||||
this.status.draftStatus=2
|
this.status.draftStatus=2
|
||||||
@@ -75,8 +87,20 @@ export default {
|
|||||||
this.status.reviewResult=data.reviewResult
|
this.status.reviewResult=data.reviewResult
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else if(data.onlineLearning==2){
|
}else if(data.onlineLearning==2 && data.offlineTutoring==1){
|
||||||
this.status.onlineLearning=2
|
this.status.onlineLearning=2
|
||||||
|
}else if (data.onlineLearning==2 && data.offlineTutoring==0){
|
||||||
|
this.status.onlineLearning=0
|
||||||
|
if (data.offlineTutoring==0){
|
||||||
|
this.status.offlineTutoring=0
|
||||||
|
if (data.endStatus==0){
|
||||||
|
this.status.endStatus=0
|
||||||
|
this.status.reviewResult=data.reviewResult
|
||||||
|
}else if (data.endStatus==2){
|
||||||
|
this.status.endStatus=2
|
||||||
|
this.status.reviewResult=data.reviewResult
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export default {
|
|||||||
getProgress(id){
|
getProgress(id){
|
||||||
getProgress({teacherId:id}).then(res=>{
|
getProgress({teacherId:id}).then(res=>{
|
||||||
this.progressData=res.data
|
this.progressData=res.data
|
||||||
if (res.data.length==0){
|
if (res.data.length==0 || res.data==null || res.data==''){
|
||||||
this.disabled=true
|
this.disabled=true
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user