|
@@ -378,7 +378,8 @@ export default {
|
|
|
"studentId": this.studentAnswer.id,
|
|
|
"subjectId": this.subjectId,
|
|
|
"classId": this.studentAnswer.classId,
|
|
|
- "code": this.paperInfo.code,
|
|
|
+ // "code": this.paperInfo.code,//这种方式paper code规则调整了,会多Paper-"
|
|
|
+ "code": this.scope == 'school' ? this.$store.state.userInfo.schoolCode : this.$store.state.userInfo.TEAMModelId,//暂时取代上面的方式
|
|
|
}).then(
|
|
|
res => {
|
|
|
this.$Message.success(this.$t('learnActivity.score.markOk'))
|
|
@@ -490,11 +491,13 @@ export default {
|
|
|
saveScore() {
|
|
|
let requestData = {
|
|
|
"id": this.examId,
|
|
|
- "code": this.paperInfo.code,
|
|
|
+ // "code": this.paperInfo.code,//这种方式paper code规则调整了,会多Paper-"
|
|
|
+ "code": this.scope == 'school' ? this.$store.state.userInfo.schoolCode : this.$store.state.userInfo.TEAMModelId,//暂时取代上面的方式
|
|
|
"point": this.studentAnswer.scores,
|
|
|
"studentId": this.studentAnswer.id,
|
|
|
"classId": this.studentAnswer.classId,
|
|
|
- "school": this.paperInfo.code,
|
|
|
+ // "school": this.paperInfo.code,//这种方式paper code规则调整了,会多Paper-"
|
|
|
+ "school": this.scope == 'school' ? this.$store.state.userInfo.schoolCode : this.$store.state.userInfo.TEAMModelId,//暂时取代上面的方式
|
|
|
"subjectId": this.subjectId
|
|
|
}
|
|
|
this.$api.learnActivity.UpsertAllRecord(requestData).then(res => {
|