Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
782e4401
Commit
782e4401
authored
Sep 06, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
234377b4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
84 deletions
+71
-84
PaperModule.cs
Edu.Module.Exam/PaperModule.cs
+16
-0
AnalysisQuestionTypeModule.cs
Edu.Module.Question/AnalysisQuestionTypeModule.cs
+55
-84
No files found.
Edu.Module.Exam/PaperModule.cs
View file @
782e4401
...
...
@@ -1254,7 +1254,22 @@ namespace Edu.Module.Exam
foreach
(
var
sItem
in
stuTempList
)
{
var
questionModel
=
gItem
.
DetailsList
.
Where
(
qitem
=>
qitem
.
Id
==
sItem
.
DetailsId
)?.
FirstOrDefault
();
var
QuestionContentObj
=
analysisQuestion
.
ParsingQuestion
(
questionModel
.
QuestionTypeKey
,
sItem
.
StudentContent
,
isEdit
:
true
);
List
<
object
>
answerList
=
new
List
<
object
>();
//填空题、分录题、资料题
if
(
questionModel
.
QuestionTypeKey
==
"fill-in"
||
questionModel
.
QuestionTypeKey
==
"entry-problem"
||
questionModel
.
QuestionTypeKey
==
"data-question"
)
{
var
tempList
=
sItem
.
StundetAnswer
.
Split
(
'★'
);
if
(
tempList
!=
null
&&
tempList
.
Count
()
>
0
)
{
foreach
(
var
tItem
in
tempList
)
{
answerList
.
Add
(
tItem
);
}
}
}
var
qObj
=
new
{
PaperDetailsId
=
sItem
.
DetailsId
,
//试卷问题编号
...
...
@@ -1269,6 +1284,7 @@ namespace Edu.Module.Exam
questionModel
.
Score
,
Answer
=
isShowAnswer
?
questionModel
.
Answer
:
sItem
.
StundetAnswer
,
sItem
.
StundetAnswer
,
AnswerList
=
isShowAnswer
?
answerList
:
new
List
<
object
>
(),
AnswerParse
=
questionModel
.
AnswerParse
,
StundetScore
=
sItem
.
StundetScore
,
sItem
.
IsMarking
...
...
Edu.Module.Question/AnalysisQuestionTypeModule.cs
View file @
782e4401
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment