You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
200 lines
5.3 KiB
200 lines
5.3 KiB
<%@include file="/auth.jsp"%>
|
|
<%@page language="java" pageEncoding="utf-8" buffer="20kb"%>
|
|
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
|
|
<%
|
|
String operate = (String)request.getParameter("operate");
|
|
String frameworkname = request.getParameter("frameworkname");
|
|
String frameworkid = request.getParameter("frameworkid");
|
|
|
|
%>
|
|
|
|
<html>
|
|
<head>
|
|
<title>地市管理</title>
|
|
<link rel="stylesheet" type="text/css" href="../css/font.css">
|
|
<script src="../js/check.js"></script>
|
|
<script src="../js/date.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../js/2k3Grid.css">
|
|
<link rel="stylesheet" type="text/css" href="../js/2k3Menu.css">
|
|
<link rel="stylesheet" type="text/css" href="../js/2k3Dialog.css">
|
|
<style type="text/css">
|
|
select
|
|
{
|
|
width:200px;
|
|
}
|
|
</style>
|
|
<script>
|
|
function setValue() {
|
|
<%
|
|
if (!Common.isNull(operate)) {
|
|
out.println("form1.operate.value='" + operate + "';");
|
|
}
|
|
%>
|
|
}
|
|
function check(operate,departid) {
|
|
form1.operate.value=operate;
|
|
form1.button1.disabled=true;
|
|
form1.submit();
|
|
}
|
|
|
|
</script>
|
|
|
|
<style media=print>
|
|
.Noprint{display:none;}
|
|
.PageNext{page-break-after: always;}
|
|
</style>
|
|
<style>
|
|
.tdp
|
|
{
|
|
border-bottom: 1 solid #000000;
|
|
border-left: 1 solid #000000;
|
|
border-right: 0 solid #ffffff;
|
|
border-top: 0 solid #ffffff;
|
|
}
|
|
.tabp
|
|
{
|
|
border-color: #000000 #000000 #000000 #000000;
|
|
border-style: solid;
|
|
border-top-width: 2px;
|
|
border-right-width: 2px;
|
|
border-bottom-width: 1px;
|
|
border-left-width: 1px;
|
|
}
|
|
.NOPRINT {
|
|
font-family: "宋体";
|
|
font-size: 9pt;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body onload="setValue();">
|
|
<br>
|
|
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" class="box">
|
|
<tr>
|
|
<td valign="top"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td width="25%" background="/images/tab_search_01.jpg"><table width="80%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td width="3%"><img src="/images/little_red.jpg" width="12" height="12"></td>
|
|
<td width="97%" class="font12b"> 地市代码管理</td>
|
|
</tr>
|
|
</table></td>
|
|
<td width="82%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<form name="form1" method="post" action="/servlet/FrameworkManage">
|
|
<input type="hidden" name="operate" value=""/>
|
|
<br>
|
|
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td width="3%"><img src="/images/little.gif" width="12" height="12"></td>
|
|
<td width="97%" class="font12">请输入查询条件</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02">
|
|
<tr bgcolor="#FFFFFF">
|
|
<td class="cell1">地市编号</td>
|
|
<td class="cell2">
|
|
<input type="text" name="frameworkid">
|
|
</td>
|
|
<td class="cell1">地市名称</td>
|
|
<td class="cell2">
|
|
<input type="text" name="frameworkname">
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
<table width="90%" align="center">
|
|
<tr align="center">
|
|
<td>
|
|
<input type="button" name="button1" value=" 查询 " class="box_button" onclick="check('query');"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
|
|
|
|
|
|
<%
|
|
HashFmlBuf buf = (HashFmlBuf) request.getAttribute("framework_info");
|
|
if (buf != null) {
|
|
int rowcount = buf.getRowCount();
|
|
%>
|
|
<center>
|
|
|
|
<div style="width:90%; height:280px;overflow: auto;">
|
|
<div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace">
|
|
<div class="gridHead">
|
|
<!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div-->
|
|
<div class="gridRow">
|
|
<span>序号</span>
|
|
<span>地市编号</span>
|
|
<span>地市名称</span>
|
|
<span>地市代码</span>
|
|
<span>电话区号</span>
|
|
<span>邮政编码</span>
|
|
</div>
|
|
</div>
|
|
<div class="gridBody">
|
|
<%
|
|
for (int i=0; i<rowcount; i++) {
|
|
String tempDeptid = buf.fget("departid",i);
|
|
String tempstate = buf.fget("departstate",i);
|
|
String tempFrameworkid = buf.fget("frameworkid",i);
|
|
%>
|
|
<div class="gridRow">
|
|
<span><%=i+1%></span>
|
|
<span><%=buf.fget("frameworkid",i)%></span>
|
|
<span><%=buf.fget("frameworkname",i)%></span>
|
|
<span><%=buf.fget("civiccode",i)%></span>
|
|
<span><%=buf.fget("pncode",i)%></span>
|
|
<span><%=buf.fget("zipcode",i)%></span>
|
|
</div>
|
|
<%
|
|
}
|
|
%>
|
|
</div>
|
|
<!-- gridBody end -->
|
|
</div>
|
|
<!-- myGrid end -->
|
|
</div>
|
|
<tag:PageLinkTag operate="query" scope="request" width="90%" align="center"/>
|
|
</form>
|
|
|
|
<%
|
|
}
|
|
%>
|
|
|
|
|
|
|
|
<%@include file="/foot.jsp"%>
|
|
</body>
|
|
</html>
|
|
<script>
|
|
function selectArea(frameworkid) {
|
|
var url = "/servlet/SelectPara?select=area&frameworkid=" + frameworkid;
|
|
var callback = changeArea;
|
|
executeXhr(callback, url);
|
|
}
|
|
|
|
function changeArea() {
|
|
|
|
if (req.readyState == 4) {
|
|
|
|
if (req.status == 200) {
|
|
document.getElementById("areaDiv").innerHTML = "<select class='aselect' name='areaid'>" + req.responseText + "</select> <font color='#FF0000'>*</font>";
|
|
} else {
|
|
alert("There was a problem retrieving the XML data:" + req.statusText);
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<script src="/js/ajaxUtils.js"></script> |