📄 test.jsp
字号:
<%@ page contentType="text/html;charset=gb2312"%>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<%String rootUuid = "609cef78-1062b63fabe-ef8bef4fd92437cb4e5790a51e360081";%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=GBK">
<script language="JavaScript">
function _getAuditingUnit(){
var a = new Object();
a.unitCode = document.frm.auditingUnitCode.value;
a.unitName = document.frm.auditingUnitName.value;
var b = showModalDialog("<%=request.getContextPath()%>/servlet/SelectOrgTreeServlet?rootUuid=<%=rootUuid%>&type=1",a,"dialogWidth:310px;dialogHeight:400px;status:0;");
if (b != null){
document.frm.auditingUnitCode.value = b.unitCode;
document.frm.auditingUnitName.value = b.unitName;
}
}
function _getAuditedUnit(){
var a = new Object();
a.unitCode = document.frm.auditedUnitCode.value;
a.unitName = document.frm.auditedUnitName.value;
var b = showModalDialog("<%=request.getContextPath()%>/servlet/SelectOrgTreeServlet?rootUuid=<%=rootUuid%>&type=2",a,"dialogWidth:310px;dialogHeight:400px;status:0;");
if (b != null)
{
document.frm.auditedUnitCode.value = b.unitCode;
document.frm.auditedUnitName.value = b.unitName;
//alert(document.frm.auditedUnitCode.value);
}
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="<%=request.getContextPath()%>/images/bg-04.jpg" leftmargin="0" topmargin="10">
<form Name="frm" method="Post" action="">
<br>
审计单位:
<input type="text" name="auditingUnitName" value="" size="50" readonly>
<input type="hidden" name="auditingUnitCode" value="">
<a href="#" onClick="_getAuditingUnit()">选择</a>
<br>
<br>
被审计单位:
<input type="text" name="auditedUnitName" value="" size="50" readonly>
<input type="hidden" name="auditedUnitCode" value="">
<a href="#" onClick="_getAuditedUnit()">选择</a>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -