mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
page scores edit
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user