暂存
This commit is contained in:
@@ -459,7 +459,8 @@
|
||||
},
|
||||
onShow() {
|
||||
this.getClassInfo()
|
||||
this.getScore()
|
||||
this.getScore()
|
||||
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
@@ -478,6 +479,32 @@
|
||||
}
|
||||
return _roleName
|
||||
},
|
||||
// 查询考试成绩
|
||||
getPaperScore(){
|
||||
console.log('获取卷面成绩');
|
||||
// $http.request({
|
||||
// url: "common/class/getUserRole",
|
||||
// method: "POST",
|
||||
// data: {
|
||||
// "classId": this.classId
|
||||
// },
|
||||
// header: { //默认 无 说明:请求头
|
||||
// 'Content-Type': 'application/json'
|
||||
// },
|
||||
// })
|
||||
// .then((res) => {
|
||||
// uni.hideLoading()
|
||||
// console.log('res获取身份信息',res);
|
||||
// this.roleCode = res.result
|
||||
// }).catch(e => {
|
||||
// uni.hideLoading()
|
||||
// this.roleCode = []
|
||||
// uni.showToast({
|
||||
// title: '获取身份信息失败',
|
||||
// icon: 'error'
|
||||
// })
|
||||
// });
|
||||
},
|
||||
tabList() {
|
||||
var list = []
|
||||
if (this.thisClass.state == 0) {
|
||||
@@ -1050,6 +1077,9 @@
|
||||
this.getList()
|
||||
}
|
||||
var dd = this.getBlankNumber
|
||||
if(this.thisClass.state == '2'){ // 结班状态下再查询卷面成绩
|
||||
this.getPaperScore()
|
||||
}
|
||||
}
|
||||
uni.hideLoading()
|
||||
}).catch(e => {
|
||||
|
||||
Reference in New Issue
Block a user