⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showplan.jsp

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@page contentType="text/html; charset=gb2312"%>
<%@ page language="java" import="java.util.*,
    com.tongtu.util.PlanDetail,
     com.tongtu.util.QueryStr,
    com.tongtu.util.Page;" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Page pages=(Page)request.getAttribute("page");
int pagenum=0;
 String pagen=(String)request.getAttribute("pagenum");
 String rows=(String)request.getAttribute("rowCount");
 if (pagen!=null) pagenum=Integer.parseInt(pagen);
 int userInt = 0; //当前页记录数
 int posInt  = 1; //开始位置
 int rowCount = 0;
 if (rows!= null) rowCount = Integer.parseInt(rows);
   if (page != null){
       List userList=pages.getList();
       userInt = userList.size();
     } 
  QueryStr qs = (QueryStr)session.getAttribute("showPlan") ;    
      
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="<%=path%>/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
-->
</style>
</head>

<body>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="6" height="11"  background="pic/beijing.jpg"><img src="pic/tupian.jpg" width="6" height="11" /></td>
        <td background="pic/beijing.jpg"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="25"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="61%">&nbsp;&nbsp;&gt;&gt;计划编制(点击相应的路线名称即可进行计划的编辑) </td>
        <td width="39%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
    <form name="planForm" aciotn="del.do">
	      <tr>
        <td height="5" ></td>
      </tr>
      <tr>
        <td height="25" bgcolor="#73CCF7">&nbsp;<img src="pic/dizhi.gif" width="24" height="23" align="absmiddle" />“村村通油路”工程建设计划
          <img src="pic/icon3.gif" width="16" height="16" align="absmiddle" />
        <a href="outputTable.do?table_id=计划列表&tableType=1" title="将计划数据导出为Excel表格">导出Excel表格</a>
         </td>
      </tr>
      <tr>
        <td height="1" bgcolor="#666666"></td>
      </tr>
      <tr>
        <td height="164" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="5" colspan="21"></td>
          </tr>
          <tr class="z">
         
            <td width="2" align="center" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td width="80" align="left" bgcolor="#F2F4F6" class="bk" nowrap>项目名称
                 <a href="showPlan.do?typeId=8">
             <img src="<%if (qs.getRoadType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
              <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td width="80" align="left" bgcolor="#F2F4F6" class="bk" nowrap>项目类型
                 <a href="showPlan.do?typeId=9">
            <img src="<%if (qs.getJhType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
     
            <td width="2" align="center" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td width="80" align="left" bgcolor="#F2F4F6" class="bk" nowrap>市名
                  <a href="showPlan.do?typeId=12">
            <img src="<%if (qs.getCityType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
    
            <td width="2" align="center" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td width="80" align="left" bgcolor="#F2F4F6" class="bk" nowrap>县区名
          
               <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td width="80" align="left" bgcolor="#F2F4F6" class="bk" nowrap>乡镇名称
                 <a href="showPlan.do?typeId=10">
            <img src="<%if (qs.getTownType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>建制村名称
                 <a href="showPlan.do?typeId=11">
            <img src="<%if (qs.getCunType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>建制村类型 </td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>建设里程(公里)
              <a href="showPlan.do?typeId=1">
            <img src="<%if (qs.getMileType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>计划路基宽度(米)
              <a href="showPlan.do?typeId=2">
            <img src="<%if (qs.getLjkdType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>计划路面宽度(米)
            <a href="showPlan.do?typeId=3">
            <img src="<%if (qs.getLmkdType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>计划路面类型</td>
            <td width="2" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>计划总投资(万元)
             <a href="showPlan.do?typeId=4">
            <img src="<%if (qs.getInvestType() == 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
            <td width="2" align="left" bgcolor="#F2F4F6" class="bk"><img src="pic/sep_title.gif" width="2" height="21" /></td>
            <td align="left" bgcolor="#F2F4F6" class="bk" nowrap>上级补助资金(万元)
               <a href="showPlan.do?typeId=5">
            <img src="<%if (qs.getProType()== 1){ %>pic/jiantou.gif <%}else {%>pic/jiantou1.gif <%} %>" width="12" height="7" border="0"/></a></td>
          </tr>
          
            <%
             PlanDetail  plan = new PlanDetail();
             if (page != null){
              List planList=pages.getList();
              String planType = "";
              userInt = planList.size();
                for (int i = 0; i < planList.size();i++){
                   plan = (PlanDetail)planList.get(i);
                   //1沟通建制村,2非沟通建制村,3县道土路,4县道砂石路
                   if (plan.getPlanType() == 1) planType = "沟通建制村";
                   if (plan.getPlanType() == 2) planType = "非沟通建制村";
                   if (plan.getPlanType() == 3) planType = "县道土路";
                   if (plan.getPlanType() == 4) planType = "县道砂石路";
                   String  villageType = "";  
                     String [] viStr = plan.getVillageType().split(";");
                   for (int j = 0; viStr != null && j < viStr.length;j++){
                       if (viStr[j].equals("1") ) villageType += " 爱滋病村 ;";
                       if (viStr[j].equals("2") ) villageType += " 民族村 ;";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -