page scores edit

This commit is contained in:
joshen
2024-05-16 20:30:43 +08:00
parent 5602dd687c
commit 492e95edd5
2 changed files with 112 additions and 88 deletions

View File

@@ -51,18 +51,19 @@
},
onLoad(options) {
console.log('评估IDoptions:',options)
if(options.reviewId)
apiLecturerCert.lecturerCertificationList({
reviewId: options.reviewId
}).then(res => {
if (res.code == 200) {
this.lecturersList = res.data
} else {
this.lecturersList = []
this.$refs.uToast.show({message:res.msg,type:'error'});
}
});
if(options.reviewId){
this.reviewId = options.reviewId
apiLecturerCert.lecturerCertificationList({
reviewId: this.reviewId
}).then(res => {
if (res.code == 200) {
this.lecturersList = res.data
} else {
this.lecturersList = []
this.$refs.uToast.show({message:res.msg,type:'error'});
}
});
}
},
methods:{
back(){
@@ -70,7 +71,7 @@
},
gotoInfo(item){
uni.navigateTo({
url:'/pages/lecturer/certification/info?teacherId='+item.id
url:'/pages/lecturer/certification/info?reviewId='+this.reviewId+'&teacherId='+item.id
})
}
}