📄 testqueryinput.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%@ include file="/agt/public/jsp/top.jsp" %>
<!-- title>业务代表管理系统查询试题</title -->
<br>
<form name="querytestform" method="POST" action="/QueryTest.do">
<table width="539" border="0" cellpadding="3" cellspacing="1" class="table-cs1">
<tr>
<td width="80" align="center" class="td-cs1" >试题题型</td>
<td colspan="3" class="td-cs2" >
<select name="testType" size="1" class="input3">
<option value="10" selected >不限制</option>
<% SysResultSet typeRs = TestGetInfo.getTestTypeRs();
if(typeRs != null)
{ for(int i=0;typeRs.setRecord(i)&&i<typeRs.getMetaData().getRecordCount();i++)
{
%>
<option value="<%=typeRs.getString(0)%>"><%=typeRs.getString(1)%></option>
<% }
}
%>
</select> </td>
</tr>
<input type="hidden" name="opeType" value="<%=OperatorFlagCode.TEST_QUERY%>">
<tr>
<td width="80" align="center" class="td-cs1">试题内容</td>
<td colspan="3" class="td-cs2">
<textarea name="content" cols="55" rows="5" class="remark"></textarea>
</td>
</tr>
<tr>
<td width="80" align="center" class="td-cs1">简要说明</td>
<td colspan="3" class="td-cs2">
<textarea name="explain" cols="55" rows="5" class="remark"></textarea></td>
</tr>
<tr>
<td width="80" align="center" class="td-cs1">试题难度</td>
<td class="td-cs2">
<select name="degree" class="input3">
<option value="<%=OperatorFlagCode.UNLIMIT_VALUE%>" selected >不限制</option>
<% SysResultSet degreeRs = TestGetInfo.getDegreeRs();
if(degreeRs != null)
{ for(int i=0;degreeRs.setRecord(i)&&i<degreeRs.getMetaData().getRecordCount();i++)
{
%>
<option value="<%=degreeRs.getString(0)%>"><%=degreeRs.getString(1)%></option>
<% }
}
%>
</select> </td>
<td width="80" align="center" class="td-cs1">所属类别 </td>
<td class="td-cs2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<input name="classId" type="hidden" readonly>
<td width="56%"><input name="className" type="text" class="input1" size="18" readonly></td>
<td width="44%"><input name="choise" type="image" onClick="openClassWindow('/ClsMngOperatorAction.do?operatorFlag=<%=OperatorFlagCode.CLSMNG_CHOOSE%>&select=01','选择类别');return false;" src="/agt/public/images/choise.gif" width="48" height="25" border="0" onMouseOver="this.src='/agt/public/images/'+ this.name + '_2.gif';" onMouseOut="this.src='/agt/public/images/'+ this.name + '.gif'"></td>
</tr>
</table> </td>
</tr>
<tr>
<td width="80" align="center" class="td-cs1">测试手段</td>
<td class="td-cs2">
<select name="testMeans" class="input3">
<option value="<%=OperatorFlagCode.UNLIMIT_VALUE%>" selected >不限制</option>
<% SysResultSet meansRs = TestGetInfo.getMeansRs();
if(meansRs != null)
{ for(int i=0;meansRs.setRecord(i)&&i<meansRs.getMetaData().getRecordCount();i++)
{
%>
<option value="<%=meansRs.getString(0)%>"><%=meansRs.getString(1)%></option>
<% }
}
%>
</select></td>
<td width="80" align="center" class="td-cs1">使用级别</td>
<td class="td-cs2">
<select name="useLevel" class="input3">
<option value="<%=OperatorFlagCode.UNLIMIT_VALUE%>" selected >不限制</option>
<option value="0">常用</option>
<option value="1">专用</option>
<option value="2">暂不使用</option>
</select></td>
</tr>
</table>
<table width="539" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="35" align="center"> <table width="44%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr align="left">
<td width="50%"><input name="search" type="image" onClick="querySubmit();return false;" src="/agt/public/images/search.gif" width="82" height="22" border="0" onMouseOver="this.src='/agt/public/images/'+ this.name + '_2.gif';" onMouseOut="this.src='/agt/public/images/'+ this.name + '.gif'">
</td>
<td width="50%"><input name="reset" type="image" onclick="querytestform.reset();return false;" src="/agt/public/images/reset.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
</td>
</tr>
</table></td>
</tr>
</table>
</form>
<script src="/agt/public/js/my_functions.js" type="text/javascript"></script>
<%@ include file="/agt/public/jsp/bot.jsp" %>
<script language="javascript">
function querySubmit()
{
var content = document.querytestform.content;
if(content.value.length >= 50)
{
alert("试题内容不能超过50个字符,输入已超过限制长度,请重新输入!")
content.focus();
return false;
}
var explain = document.querytestform.explain;
if(explain.value.length >= 50)
{
alert("试题简要说明不能超过50个字符,输入已超过限制长度,请重新输入!")
explain.focus();
return false;
}
document.querytestform.submit();
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -