<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 14">
<meta name=Originator content="Microsoft Word 14">
<title>
</title>
<style media="all">
.noprint { display: none }
</style>
<script type="text/javascript">
function changeImgIp() {
document.getElementById("queName").value="Brook Lieu";
}
</script>
</head>
<body style="font-size:12px;">
<div>
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAwKQsdKaBAL7zbr8AwK0rpWgDD6/GC6iT9QsRsN3aOy15j8jU8Ua" />
</div>
<div class="noprint" align="center">
<br />
<span style=" color:#555555">(建议页面设置中使用A4,纵向,上下左右边距设为10毫米。如果上面的按钮点击无效,请使用IE菜单栏“文件”下的相关打印命令。)</span>
</div>
<input type="hidden" name="hfPwd" id="hfPwd" />
<div style="vertical-align: top">
<table id="tbQuestion" width="700" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="vertical-align: top">
<tr>
<td align="center" colspan="2"><h1><font style="font-size : 20px;" color="#418ecf">${queName}</font></h1></td>
</tr>
<tr>
<td> </td>
<td >
<font style="font-size : 15px" id="queName">${queExplain}</font>
</td>
</tr>
<tr><td height="10"></td><td></td></tr>
<tr>
<td align="center" colspan="2">
<table width="80%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="30px;">问卷编号:</td>
<td width="70px">${papersInfo.papersCode}</td>
<td width="30px">答卷时间:</td>
<td width="70px;">${papersInfo.endDate?string("yyyy-MM-dd HH:mm")}</td>
</tr>
<#list papersInfo.papersIndenInfoList as indenInfo>
<#if (indenInfo_index)%4 == 0>
<tr>
</#if>
<td width="15%">${indenInfo.indName}</td>
<td width="15%">${indenInfo.indAnswer}</td>
<#if (indenInfo_index)%2 == 1>
</tr>
</#if>
</#list>
<tr>
<td>
问卷得分:
</td>
<td colspan="3">
<#if totalScore??>
${totalScore}
</#if>
</td>
</tr>
</table>
</td>
</tr>
<tr><td style="height:16px;" colspan="2"></td></tr>
<#list querySubjectInfoList as subject>
<tr>
<td> </td>
<td>
<div width="94%" style="margin-left:16%;">
<div>
<#if (subject.requiredFlag=="1")><font color=red>*</font></#if>第${subject_index+1}题:${subject.tempTitle}
所属评价指标:
<font color="red">
<#if !(subject.assessInfo)??>
无
<#else>
${subject.assessInfo.assessName}
</#if>
</font>
<#if (subject.subTypeId="402881f745d51fe70145d5242ca40006")>
<!-- 简答题 -->
得分:<font color=red>
<#if !(subject.score)??>
未参与评分
<#else>
<#if !(subject.answerInfo)?? || !(subject.answerInfo.score)??>
未评分
<#else>
${subject.answerInfo.score}
</#if>
</#if>
</font>
<#elseif (subject.subTypeId="402881f745d51fe70145d523e20b0005")>
<!-- 填空题 -->
得分:<font color=red>
<#if !(subject.score)??>
未参与评分
<#else>
<#list subject.optionInfos as options>
<#if !(options.answerInfo)?? || !(options.answerInfo.score)??>
未评分
<#else>
${options.answerInfo.score}
</#if>
</#list>
</#if>
</font>
<#elseif (subject.subTypeId="402881f745d51fe70145d52303070003")>
<!-- 单选题 -->
得分:<font color=red>
<#list subject.optionInfos as options>
<#if (options.answerInfo)?? || (options.answerInfo.score)??>
${options.answerInfo.score}
</#if>
</#list>
</font>
<#elseif (subject.subTypeId="402881f745d51fe70145d52350320004")>
<!-- 多选题 -->
得分:<font color=red>
<#assign x=0 />
<#list subject.optionInfos as options>
<#if (options.answerInfo)?? || (options.answerInfo.score)??>
<#assign x=options.answerInfo.score+x />
</#if>
</#list>
${x}
</font>
<#elseif (subject.subTypeId="402881f745d51fe70145d524c4fb0008") || (subject.subTypeId="402881f745d51fe70145d5248a530007")>
<!-- 矩阵多选题和普通多选题 -->
得分:<font color=red>
<#assign x=0 />
<#list subject.subjectChildInfoList as subjectChild>
<#list subjectChild.optionInfoList as optionInfo>
<#if optionInfo?? && optionInfo.answerInfo?? && optionInfo.answerInfo.score??>
<#assign x=optionInfo.answerInfo.score+x />
</#if>
</#list>
</#list>
${x}
</#if><br/><br/>
</div>
<#if (subject.subTypeId=="402881f745d51fe70145d5242ca40006")>
${subject.answerInfo.answerContent}
<br/><br/>
<#elseif (subject.subTypeId=="402881f745d51fe70145d5248a530007")>
<!-- 矩阵单选 -->
<table border="0">
<tr>
<td></td>
<#list subject.optionInfos as option>
<td>
${option.optionName}
</td>
</#list>
<td> </td>
</tr>
<#list subject.subjectChildInfoList as childSubject>
<tr>
<td>
${childSubject.title}
</td>
<#list subject.optionInfos as option2>
<td align="center">
<input type="radio" <#if childSubject.optionInfoList[option2_index].answerInfo??>checked</#if> name="${childSubject.sebChildId}"/>
</td>
</#list>
</tr>
</#list>
</table><br/><br/>
<#elseif (subject.subTypeId=="402881f745d51fe70145d524c4fb0008")>
<!-- 矩阵多选 -->
<table border="0">
<tr>
<td></td>
<#list subject.optionInfos as option>
<td>
${option.optionName}
</td>
</#list>
<td> </td>
</tr>
<#list subject.subjectChildInfoList as childSubject>
<tr>
<td>
${childSubject.title}
</td>
<#list subject.optionInfos as option2>
<td align="center">
<input type="checkbox" <#if childSubject.optionInfoList[option2_index].answerInfo??>checked</#if> name="${childSubject.sebChildId}"/>
</td>
</#list>
</tr>
</#list>
</table>
<div>
<br/>
</div>
<#elseif (subject.subTypeId=="402881f745d51fe70145d523e20b0005")>
<!-- 填空题 -->
<#list subject.subjectChildInfoList as childSubject>
<table cellpadding="0" cellspacing="0">
<tr>
<#assign optionIndex=-1 />
<#assign needCompletion = 0 />
<#list childSubject.title?split("_") as x>
<#if !(x?trim=="")>
<td>${x}</td>
<#assign needCompletion = 1 />
<#else>
<#if needCompletion==1 || x_index==0>
<#assign optionIndex=optionIndex+1 />
<td style="border_bottom:1px solid">
<#list subject.optionInfos as options>
<#if options_index==optionIndex>
<#if !(options.answerInfo)??>
<#else>
<u> ${options.answerInfo.answerContent} </ul>
</#if>
</#if>
</#list>
</td>
<#assign needCompletion = 0 />
</#if>
</#if>
</#list>
</tr>
</table>
</#list>
<#elseif (subject.subTypeId=="402881f745d51fe70145d52303070003")>
<!-- 单选 -->
<#if (subject.showStyle=="402881f745fe44320145fe5c309f0007")>
<!-- 4行一列 -->
<table>
<#list subject.optionInfos as option>
<tr>
<td><input type="radio" disabled="disabled" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td>${option.optionName}</td>
</tr>
</#list>
</table>
<#elseif (subject.showStyle=="402881f745fe44320145fe5bbaa00005")>
<!-- 2行2列(每行最多排列2个,可多行)-->
<table>
<#list subject.optionInfos as option>
<#if (option_index+1)%2 == 1>
<tr>
</#if>
<td><input type="radio" disabled="disabled" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td>${option.optionName} </td>
<#if (option_index+1)%2 == 0>
</tr>
</#if>
</#list>
</table>
<#elseif (subject.showStyle=="402881f745fe44320145fe5be17d0006")>
<!-- 2行3列(每行最多排列3个,可多行)-->
<table>
<#list subject.optionInfos as option>
<#if (option_index+1)%3 == 1>
<tr>
</#if>
<td><input type="radio" disabled="disabled" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td${option.optionName} </td>
<#if (option_index+1)%3 == 0>
</tr>
</#if>
</#list>
</table>
<#elseif (subject.showStyle=="402881f745fe44320145fe5b85890004")>
<!-- 一行四列(普通的横向排列)-->
<table>
<#list subject.optionInfos as option>
<#if (option_index+1)%4 == 1>
<tr>
</#if>
<td><input type="radio" disabled="disabled" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td>${option.optionName} </td>
<#if (option_index+1)%4 == 0>
</tr>
</#if>
</#list>
</table>
</#if>
<br/>
<#elseif (subject.subTypeId=="402881f745d51fe70145d52350320004")>
<!-- 多选题 -->
<#if (subject.showStyle=="402881f745fe44320145fe5c309f0007")>
<!-- 4行一列 -->
<table>
<#list subject.optionInfos as option>
<tr>
<td><input type="checkbox" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td>${option.optionName}</td>
</tr>
</#list>
</table>
<#elseif (subject.showStyle=="402881f745fe44320145fe5bbaa00005")>
<!-- 2行2列(每行最多排列2个,可多行)-->
<table>
<#list subject.optionInfos as option>
<#if (option_index+1)%2 == 1>
<tr>
</#if>
<td><input type="checkbox" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td>${option.optionName} </td>
<#if (option_index+1)%2 == 0>
</tr>
</#if>
</#list>
</table>
<#elseif (subject.showStyle=="402881f745fe44320145fe5be17d0006")>
<!-- 2行3列(每行最多排列3个,可多行)-->
<table>
<#list subject.optionInfos as option>
<#if (option_index+1)%3 == 1>
<tr>
</#if>
<td><input type="checkbox" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td${option.optionName} </td>
<#if (option_index+1)%3 == 0>
</tr>
</#if>
</#list>
</table>
<#elseif (subject.showStyle=="402881f745fe44320145fe5b85890004")>
<!-- 一行四列(普通的横向排列)-->
<table>
<#list subject.optionInfos as option>
<#if (option_index+1)%4 == 1>
<tr>
</#if>
<td><input type="checkbox" <#if option.answerInfo??>checked</#if> value="${option.optionName}" /></td><td>${option.optionName} </td>
<#if (option_index+1)%4 == 0>
</tr>
</#if>
</#list>
</table>
</#if>
<br/>
</#if>
</div>
</td>
</tr>
</#list>
</table>
</div>
</body>
</html>
freemarker ftl 模板
最新推荐文章于 2024-05-22 14:28:57 发布