Commit 0c936cc9 authored by 黄奎's avatar 黄奎

页面修改

parent f6d182a1
...@@ -1283,6 +1283,7 @@ namespace Edu.Module.Exam ...@@ -1283,6 +1283,7 @@ namespace Edu.Module.Exam
var examPublish = GetExaminationPublishModule(PublishId); var examPublish = GetExaminationPublishModule(PublishId);
var extModel = GetExaminationPaperModule(PaperId); var extModel = GetExaminationPaperModule(PaperId);
var paperObj = new object(); var paperObj = new object();
decimal ExamScore = 0;
RB_Examination_Student_ViewModel examinationStudentModel = new RB_Examination_Student_ViewModel(); RB_Examination_Student_ViewModel examinationStudentModel = new RB_Examination_Student_ViewModel();
if (extModel != null && extModel.PaperId > 0) if (extModel != null && extModel.PaperId > 0)
{ {
...@@ -1437,6 +1438,8 @@ namespace Edu.Module.Exam ...@@ -1437,6 +1438,8 @@ namespace Edu.Module.Exam
questionList.Add(qObj); questionList.Add(qObj);
} }
} }
ExamScore += gItem.GScore;
paperTypeList.Add(new paperTypeList.Add(new
{ {
gItem.GId, gItem.GId,
...@@ -1511,7 +1514,8 @@ namespace Edu.Module.Exam ...@@ -1511,7 +1514,8 @@ namespace Edu.Module.Exam
examPublish.IsExamType, examPublish.IsExamType,
examPublish.ExamTypeValue, examPublish.ExamTypeValue,
examPublish.ExamNotice, examPublish.ExamNotice,
examPublish.IsAutoSubmit examPublish.IsAutoSubmit,
ExamScore,
}, },
TotalScore = examinationStudentModel?.TotalScore ?? 0, TotalScore = examinationStudentModel?.TotalScore ?? 0,
StuComment = examinationStudentModel?.StuComment ?? "", StuComment = examinationStudentModel?.StuComment ?? "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment