📄 configsubadd.jsp
字号:
<%@ page contentType="text/html; charset=GBK" errorPage="../order/error.jsp"%>
<%@ page import="com.doone.fj1w.fjmgr.monitor.ConfigMainDAO"%>
<%@ page import="com.doone.fj1w.fjmgr.monitor.ConfigSubDAO"%>
<%@ page import="com.doone.fj1w.fjmgr.order.DisplayPage"%>
<%@ page import="com.doone.data.DataTable"%>
<%
int pageNo = 1;
int pageSize = 20;
int rowCount = 0;
ConfigMainDAO configMainDAO = new ConfigMainDAO();
pageSize = configMainDAO.getConfigMainSize();
configMainDAO.setPageSize(pageSize);
DataTable datatable = configMainDAO.getConfigMainList(1);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>系统参数配置</title>
<link href="../../common/style/main.css" rel="stylesheet" type="text/css" />
<link href="../../common/style/Sty01.css" rel="stylesheet" type="text/css" />
<script src="../order/CheckForm.js"></script>
</head>
<body>
<form name="fomr1" action="ConfigSubSave.jsp">
<input type="hidden" name="method" value="add">
<input type="hidden" name="MAX_LENGTH" value="PARAVALUE:50,PARADESC:100,PARAOTHER:100">
<input type="hidden" name="NO_EMPTY" value="PARAVALUE,PARADESC">
<input type="hidden" name="REQUIRE_NUMBER" value="PARAVALUE">
<table width="100%" cellpadding="2" cellspacing="1" class="InnerTable">
<tr>
<td width="35%" class="InnerHead">参数标识</td>
<td class="InnerMain">
<select name="PARANAME" class="">
<%
for(int i = 0;i<datatable.getRows().getCount();i++)
{
%>
<option value="<%=datatable.getRow(i).getString("PARANAME")%>"> <%=datatable.getRow(i).getString("PARANAME")%>
</option>
<%
}
%>
</select>
</td>
</tr>
<tr>
<td class="InnerHead">参数值</td>
<td class="InnerMain"><input type="text" name="PARAVALUE" maxlength="50" title="参数值"></td>
</tr>
<tr>
<td class="InnerHead">参数值说明</td>
<td class="InnerMain"><textarea name="PARADESC" cols="40" title="参数值说明"></textarea></td>
</tr>
<tr>
<td class="InnerHead">备注</td>
<td class="InnerMain"><textarea name="PARAOTHER" cols="40" title="备注"></textarea></td>
</tr>
<tr>
<td class="InnerMain"></td>
<td class="InnerMain">
<input type="submit" value="确定">
<input type="reset" value="取消">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -