etms/WEB-INF/view/cetc54/exam/examresult_edit.ftl
liyuchen c24bea2687 Initial commit: JCDP 教育培训管理系统 v54
- 系统管理模块(用户/角色/组织/权限/日志)
- 教育培训计划管理模块
- 教育培训实施模块
- 考试管理模块
- 调研问卷管理模块
- 外派培训管理模块
- 年度培训总结模块
- 学习资源管理模块
- 任职资格管理模块
- 即时通讯模块
- APP 版本管理
- 统计分析模块(FineReport)
- 代码审查标准和报告(CODE_REVIEW_GUIDE.md, CODE_REVIEW_REPORT.md)
- 项目开发指南(PROJECT_GUIDE.md)
2026-04-16 16:41:34 +08:00

195 lines
14 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="formTitle" style="height: 30px"><span class="icon icon_menu"></span>题目内容如下:</div>
<table style="margin-left: 20px;height: 86px">
<tr>
<td style="text-align: center;font-size: 24px;">
<span id="title_name"></span>
</td></tr>
<tr>
<td>
<span id="title_description"></span>
</td>
</tr>
</table>
<div id="eqlist2" style="margin-left: 40px;height: calc(100% - 120px);">
<table class="grid_data">
<thead>
<tr style="display: none">
<td style="width: 0px;padding: 0"></td>
<td>
</td>
</tr>
</thead>
<tbody>
<tr>
<td style="width: 0px;padding: 0"></td>
<td>
<div class="q_question">
<span style="display: none" class="qid">{{value.id}}</span>
<span style="display: none" class="ques_id">{{value.ques_id}}</span>
<#-- <span style="display: none" class="qxh">{{i+1}}</span><span style="display: none"></span>-->
<#-- Q<span class="qxh">{{i+1}}</span>-->
Q<span id="q_numid" class="qxh">{{value.num}}</span><span>、</span>
<#-- {{if value.isParagraph=="0" }}Q<span id="q_numid">{{value.num}}</span>{{/if}}-->
<span class="qtm" style="width:80%;word-break:normal;white-space:pre-wrap;overflow:hidden;">{{value.subject}}</span>
{{if value.type=="单选题"}}单选题{{/if}}
{{if value.type=="多选题"}}多选题{{/if}}
{{if value.type=="判断题"}}判断题{{/if}}
{{if value.type=="问答题"}}问答题{{/if}}
{{if value.type=="填空题"}}填空题{{/if}}
<#-- {{if value.type=="1"}}单选题{{/if}}-->
<#-- {{if value.type=="2"}}多选题{{/if}}-->
<#-- {{if value.type=="3"}}判断题{{/if}}-->
<#-- {{if value.type=="4"}}问答题{{/if}}-->
<span class="qtype" style="display: none" >{{value.type}}</span>
{{if value.ismust=="1"}}(必答){{/if}}
{{if value.ismust=="0"}}(选答){{/if}}
<span class="qbd" style="display: none" >{{value.ismust}}</span>
<span id = "sco" style="float:right">
总分:<span id="score" class="score">{{value.score}}</span>分,得分:
{{if value.type=="单选题" || value.type=="多选题" || value.type=="判断题"}}
{{if value.answer == value.user_answer}}
<input id="user_score" class="user_score" type="text" style="border:1px solid #000000;width: 50px;" value="{{value.score}}" readonly="readonly"/>
{{else}}
<input id="user_score" class="user_score" type="text" style="border:1px solid #000000;width: 50px;" value="0" readonly="readonly"/>
{{/if}}
{{/if}}
{{if value.type=="填空题" || value.type=="问答题"}}
<input id="user_score" class="user_score" style="border:1px solid #000000;width: 50px;" value="{{value.user_score}}" onkeyup="userScore()"/>
{{/if}}
</span>
</div>
<#-- {{if value.type=="1"}}-->
{{if value.type=="单选题"}}
<#-- {{if value.optiona.length}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="radio" value="A" checked="checked"/>A <span>{{ value.optiona}}</span></div>{{/if}}-->
<#-- {{if (value.optionb.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="radio" value="B"/>B <span>{{ value.optionb}}</span></div>{{/if}}-->
<#-- {{if (value.optionc.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="radio" value="C"/>C <span>{{ value.optionc}}</span></div>{{/if}}-->
<#-- {{if (value.optiond.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="radio" value="D"/>D <span>{{ value.optiond}}</span></div>{{/if}}-->
{{if value.optiona.length}}
{{if value.user_answer=="A"}}<div class="q_item"><input name="cbA" id="cbA" type="checkbox" value="A" onclick="checkBox(this)" checked="checked" disabled="disabled" />A <span>{{ value.optiona}}</span></div>
{{else}}<div class="q_item"><input name="cbA" id="cbA" type="checkbox" value="A" onclick="checkBox(this)" disabled="disabled"/>A <span>{{ value.optiona}}</span></div>
{{/if}}
{{/if}}
{{if (value.optionb.length)}}
{{if value.user_answer=="B"}}<div class="q_item"><input name="cbB" id="cbB" type="checkbox" value="B" onclick="checkBox(this)" checked="checked" disabled="disabled"/>B <span>{{ value.optionb}}</span></div>
{{else}}<div class="q_item"><input name="cbB" id="cbB" type="checkbox" value="B" onclick="checkBox(this)" disabled="disabled"/>B <span>{{ value.optionb}}</span></div>
{{/if}}
{{/if}}
{{if (value.optionc.length)}}
{{if value.user_answer=="C"}}<div class="q_item"><input name="cbC" id="cbC" type="checkbox" value="C" onclick="checkBox(this)" checked="checked" disabled="disabled"/>C <span>{{ value.optionc}}</span></div>
{{else}}<div class="q_item"><input name="cbC" id="cbC" type="checkbox" value="C" onclick="checkBox(this)" disabled="disabled"/>C <span>{{ value.optionc}}</span></div>
{{/if}}
{{/if}}
{{if (value.optiond.length)}}
{{if value.user_answer=="D"}}<div class="q_item"><input name="cbD" id="cbD" type="checkbox" value="D" onclick="checkBox(this)" checked="checked" disabled="disabled"/>D <span>{{ value.optiond}}</span></div>
{{else}}<div class="q_item"><input name="cbD" id="cbD" type="checkbox" value="D" onclick="checkBox(this)" disabled="disabled"/>D <span>{{ value.optiond}}</span></div>
{{/if}}
{{/if}}
{{/if}}
<#-- {{if value.type=="2"}}-->
{{if value.type=="多选题"}}
<#-- {{if value.optiona.length}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="checkbox" value="A" checked="checked"/>A <span>{{ value.optiona}}</span></div>{{/if}}-->
<#-- {{if (value.optionb.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="checkbox" value="B" checked="checked"/>B <span>{{ value.optionb}}</span></div>{{/if}}-->
<#-- {{if (value.optionc.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="checkbox" value="C" checked="checked"/>C <span>{{ value.optionc}}</span></div>{{/if}}-->
<#-- {{if (value.optiond.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="checkbox" value="D"/>D <span>{{ value.optiond}}</span></div>{{/if}}-->
<#-- {{if (value.optione.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="checkbox" value="E"/>E <span>{{ value.optione}}</span></div>{{/if}}-->
<#-- {{if (value.optionf.length)}}<div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="checkbox" value="F"/>F <span>{{ value.optionf}}</span></div>{{/if}}-->
{{if value.optiona.length}}
{{if judge(value.user_answer,"A")}}
<div class="q_item"><input name="cbA" id="cbA" type="checkbox" value="A" checked="checked" disabled="disabled"/>A <span>{{ value.optiona}}</span></div>
{{else}}<div class="q_item"><input name="cbA" id="cbA" type="checkbox" value="A" disabled="disabled"/>A <span>{{ value.optiona}}</span></div>
{{/if}}
{{/if}}
{{if (value.optionb.length)}}
{{if judge(value.user_answer,"B")}}
<div class="q_item"><input name="cbB" id="cbB" type="checkbox" value="B" checked="checked" disabled="disabled"/>B <span>{{ value.optionb}}</span></div>
{{else}}<div class="q_item"><input name="cbB" id="cbB" type="checkbox" value="B" disabled="disabled"/>B <span>{{ value.optionb}}</span></div>
{{/if}}
{{/if}}
{{if (value.optionc.length)}}
{{if judge(value.user_answer,"C")}}
<div class="q_item"><input name="cbC" id="cbC" type="checkbox" value="C" checked="checked" disabled="disabled"/>C <span>{{ value.optionc}}</span></div>
{{else}}<div class="q_item"><input name="cbC" id="cbC" type="checkbox" value="C" disabled="disabled"/>C <span>{{ value.optionc}}</span></div>
{{/if}}
{{/if}}
{{if (value.optiond.length)}}
{{if judge(value.user_answer,"D")}}
<div class="q_item"><input name="cbD" id="cbD" type="checkbox" value="D" checked="checked" disabled="disabled"/>D <span>{{ value.optiond}}</span></div>
{{else}}<div class="q_item"><input name="cbD" id="cbD" type="checkbox" value="D" disabled="disabled"/>D <span>{{ value.optiond}}</span></div>
{{/if}}
{{/if}}
{{if (value.optione.length)}}
{{if judge(value.user_answer,"E")}}
<div class="q_item"><input name="cbE" id="cbE" type="checkbox" value="E" checked="checked" disabled="disabled"/>E <span>{{ value.optione}}</span></div>
{{else}}<div class="q_item"><input name="cbE" id="cbE" type="checkbox" value="E" disabled="disabled"/>E <span>{{ value.optione}}</span></div>
{{/if}}
{{/if}}
{{if (value.optionf.length)}}
{{if judge(value.user_answer,"F")}}
<div class="q_item"><input name="cbF" id="cbF" type="checkbox" value="F" checked="checked" disabled="disabled"/>F <span>{{ value.optionf}}</span></div>
{{else}}<div class="q_item"><input name="cbF" id="cbF" type="checkbox" value="F" disabled="disabled"/>F <span>{{ value.optionf}}</span></div>
{{/if}}
{{/if}}
{{/if}}
<#-- {{if value.type=="3"}}-->
<#-- <div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="radio" value="A" checked="checked"/>A 对</div>-->
<#-- <div class="q_item"><input name="{{value.id}}" id="{{value.id}}" type="radio" value="B"/>B 错</div>-->
<#-- {{/if}}-->
{{if value.type=="判断题"}}
{{if value.user_answer=="对"}}
<div class="q_item"><input name="yes" id="yes" type="checkbox" value="A" onclick="checkYesNo(this)" checked="checked" disabled="disabled"/>A 对</div>
<div class="q_item"><input name="no" id="no" type="checkbox" value="B" onclick="checkYesNo(this)" disabled="disabled"/>B 错</div>
{{else if value.user_answer=="错"}}
<div class="q_item"><input name="yes" id="yes" type="checkbox" value="A" onclick="checkYesNo(this)" disabled="disabled"/>A 对</div>
<div class="q_item"><input name="no" id="no" type="checkbox" value="B" onclick="checkYesNo(this)" checked="checked" disabled="disabled"/>B 错</div>
{{else}}
<div class="q_item"><input name="yes" id="yes" type="checkbox" value="A" onclick="checkYesNo(this)" disabled="disabled"/>A 对</div>
<div class="q_item"><input name="no" id="no" type="checkbox" value="B" onclick="checkYesNo(this)" disabled="disabled"/>B 错</div>
{{/if}}
{{/if}}
{{if value.type=="填空题"}}
<span>填空题答案格式:第一空答案,第二空答案,第三空答案</span><br/>
<span>答案:</span><textarea id="blank" class="blank" style="width:80%;background:#F3F0F0;" readonly="readonly">{{value.user_answer}}</textarea>
{{/if}}
<#-- {{if value.type=="4"}}<textarea class="q_item" style="width:60%;background:#F3F0F0;margin-left: 40px;">-->
<#-- 似懂非懂方式-->
<#-- </textarea>{{/if}}-->
{{if value.type=="问答题"}}
<br/><span>答案:</span><textarea id="answer" class="answer" style="width:80%;background:#F3F0F0;" rows="5" readonly="readonly">{{value.user_answer}}</textarea>
{{/if}}
<br/><span>参考答案:</span><span id="subject_answer" class="subject_answer" style="width:80%;word-break:normal;white-space:pre-wrap;overflow:hidden;">{{value.answer}}</span>
</td>
</tr>
</tbody>
</table>
<div style="margin: 10px;">
<#-- <span style="float: right">-->
<#-- <span style="float:right">合计共7道85分</span>-->
<#-- <span style="float:right">问答共1道20分|</span>-->
<#-- <span style="float:right">判断共1道5分|</span>-->
<#-- <span style="float:right">多选共2道30分|</span>-->
<#-- <span style="float:right">单选共3道30分|</span>-->
<#-- </span>-->
<span class="icon icon_add16" style="visibility: hidden"></span>
<span style="float: right;width: 30%;">
试卷总共:<input id="sum" style="width:25px" readonly="readonly"/> 题,合计<input id="sum_score" style="width:25px" readonly="readonly"/>分,
考生得分:<input id="user_result" style="width:25px" readonly="readonly"/>分
</span>
</div>
</div>