📄 name_select.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="com.ijipin.tool.*" %>
<%@ page import="com.ijipin.database.*" %>
<%@ include file="/userinfor.jsp" %>
<%@ page import="com.ijipin.flow.*" %>
<%
final String strSkin = "../../" + userInfor_session.getPFLJ(); //皮肤路径
%>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=Message.COMPANY_NAME%></title>
<link href="<%=strSkin%>css.css" rel="stylesheet" type="text/css">
</head>
<%
String sSWLB = Convert.toSpaceStr(request.getParameter("SWLB"));
String sfieldnum = Convert.toSpaceStr(request.getParameter("fieldnum"));
String obj = Convert.toSpaceStr(request.getParameter("obj1")); //form.text1;
DataConn dataConn = new DataConn();
NameInfor nameInfor = null;
Name name = new Name(dataConn);
Iterator iterName = name.getList("SWLB='" + sSWLB + "'").iterator();
%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<form action="#" method="post" name="form">
<input type="hidden" name="obj" value="<%=obj%>">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td>
<select name="cfields" size="15" class="drpdwn" style="width:150">
<%
while (iterName != null && iterName.hasNext()) {
nameInfor = (NameInfor)iterName.next();
%>
<option value=<%=nameInfor.getBLLXMC()%>><%=nameInfor.getBLLXMC()%></option>
<%
}
%>
</select>
</td>
</tr>
<tr>
<td align="center">
<input type="button" name="subSave" value="" class="buttonSave" onClick="SubSave(form);">
<input type="reset" name="btnClose" value="" class="buttonClose" onClick="window.close();">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<%
try {
if (dataConn != null) {
dataConn.close();
}
}
catch(Exception e) {}
%>
</body>
<script language="javascript">
function SubSave() {
var type = document.form.cfields.value;
var obj = document.form.obj.value;
eval("window.opener."+obj+".value='"+type+"'");
window.close();
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -