043e5ee4d442be624f2bef5cd6093b8509b1f1e4.svn-base 31.6 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
    <title>宗地地图检索展示</title>
    <!-- meta name="decorator" content="default"/-->
    <link href="${ctxStatic}/gis/lib/zondy-style-thin.css" rel="stylesheet" type="text/css" />
    <link href="${ctxStatic}/gis/css/orbit-1.2.3.css" rel="stylesheet" type="text/css" />    
    <link href="${ctxStatic}/gis/css/defaultPage.css" rel="stylesheet" type="text/css" /> 
    <link href="${ctxStatic}/gis/css/style.css" rel="stylesheet" type="text/css" />
    <link href="${ctxStatic}/gis/css/styleml.css" rel="stylesheet" type="text/css" />
    <script src="${ctxStatic}/gis/lib/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/OpenLayers.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/zdclient.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/jquery.orbit-1.2.3.js" type="text/javascript"></script>    
    <script src="${ctxStatic}/gis/js/global.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/js/GISconfig.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/js/GISinit.js" type="text/javascript"></script>
    <link href="${ctxStatic}/gis/lib/jqueryEasyui/easyui.css" rel="stylesheet" type="text/css" />
    <link href="${ctxStatic}/gis/lib/jqueryEasyui/icon.css" rel="stylesheet" type="text/css" />
    <script src="${ctxStatic}/gis/lib/jqueryEasyui/jquery.easyui.min.js" type="text/javascript"></script>
    <link href="${ctxStatic}/gis/lib/colorPicker/js_color_picker_v2.css" rel="stylesheet" type="text/css" />
    <script src="${ctxStatic}/gis/lib/colorPicker/js_color_picker_v2.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/colorPicker/color_functions.js" type="text/javascript"></script>

    <script type="text/javascript">
        var s1;
        var ip,port;
        
        $(document).ready(init);
        function chaxun(){
        	var a,b,c,d,str,str1;
        	var Tempbdcqzh=$("#tablebdcqzh").val();
        	var Tempaddm=$("#tablezddm").val();
            var Tempbdcdyh=$("#tablebdcdyh").val();
            var Tempqlrxm=$("#tableqlr").val();
            var Tempzb=$("#tablezb").val();
            var xianqu=$("#queryxianqutext").val();
            var bdcqzhbdcdyh="";
            var bdcqzhqlrxm="";
            var bdcqzhzddm="";
            var flag=true;
            Tempbdcqzh=Tempbdcqzh.replace( /^\s+|\s+$/g, "" );
            Tempaddm=Tempaddm.replace( /^\s+|\s+$/g, "" );
            Tempbdcdyh=Tempbdcdyh.replace( /^\s+|\s+$/g, "" );
            Tempqlrxm=Tempqlrxm.replace( /^\s+|\s+$/g, "" );
            str1="";
            if((Tempzb=="")&&(Tempbdcqzh==""))
            {
            	if (Tempaddm!="") a=1;
            	else a=0;

            	if(Tempbdcdyh!="") b=2;
            	else b=0;

            	if(Tempqlrxm!="") c=4;
            	else c=0;

            	d=a+b+c;
            	
            	switch(d)
            	{
            	  case 1:
            		  str1="ZDDM LIKE'%"+Tempaddm +"%'";
            	  break;
            	  case 2:
            		  str1="BDCDYH LIKE'%"+Tempbdcdyh+"%'";
            	  break;
            	  case 4:
            		  str1="QLRXM LIKE'%"+Tempqlrxm+"%'";
            	  break;
            	  case 3:
            		  str1="ZDDM LIKE'%"+Tempaddm +"%'" +" and"+ " BDCDYH LIKE'%"+Tempbdcdyh+"%'";
            	  break;
            	  case 5:
            		  str1="ZDDM LIKE'%"+Tempaddm +"%'" +" and"+ " QLRXM LIKE'%"+Tempqlrxm+"%'";
            	  break;
            	  case 6:
            		  str1="BDCDYH LIKE'%"+Tempbdcdyh+"%'"+" and"+ " QLRXM LIKE'%"+Tempqlrxm+"%'";
            	  break;
            	  case 7:
            		  str1="ZDDM LIKE'%"+Tempaddm +"%'" +" and"+ " BDCDYH LIKE'%"+Tempbdcdyh+"%'"+" and"+ " QLRXM LIKE'%"+Tempqlrxm+"%'";
            	  break;
            	  case 0:
            		  str1="";
            	  break;
            	  
            	}
            }
           //----------------------------------
            var ss=$("#divIDtextadd").val();
            
            chaxuntuceng=selectTuCeng($("#querytucengtext").val());
            ip = selectXianquIp(xianqu);
            port =selectXianquPort(xianqu);
            if(Tempzb=="")
            {
            	//if((Tempbdcqzh=="")&&(Tempaddm=="")&&(Tempbdcdyh=="")&&(Tempqlrxm=="")) str="";
            	if(Tempbdcqzh=="") str=str1;
            	else
            	{
            		$.ajax({            
            			type:"POST", //请求方式 
        			    url:"${ctx}/reg/bus/regBusBdcqzsdjxx/search", //请求路径 
        			    cache: false,   //(默认: true,dataType为script和jsonp时默认为false) jQuery 1.2 新功能,设置为 false 将不缓存此页面。 
        			    data:"Tempbdcqzh="+Tempbdcqzh+"&Tempzddm="+Tempaddm+"&Tempbdcdyh="+Tempbdcdyh+"&Tempqlrxm="+Tempqlrxm,//"id="+ id +"&NEWYWH=${regBusSlsq.ywh}&djlx=${regBusSlsq.djxl}",  //传参 
        			    async:false,
        		      //	dataType: "html",   //返回值类型 
        			    success:function(modelmap){				
        			    	var tempmodelmap=modelmap.data;
        			    	flag=true;
        			    	if(modelmap.data=="1"){
        					   alert("未查询到相关数据!");
        					   flag=false;
        				   }
        				  else{   
        					  str="";
        					  flag=true;
        					  for(var i=0;i<tempmodelmap.length-1;i++)
        					  {	
        						str=str+"(BDCDYH LIKE'%"+tempmodelmap[i].bdcdyh+"%'"+" and "+"ZDDM LIKE'%"+tempmodelmap[i].zddm+"%'"+" and "+"QLRXM LIKE'%"+tempmodelmap[i].qlrmc+"%')"+" or ";
         					   
        					  }
        					  str=str+"(BDCDYH LIKE'%"+tempmodelmap[tempmodelmap.length-1].bdcdyh+"%'"+" and "+"ZDDM LIKE'%"+tempmodelmap[tempmodelmap.length-1].zddm+"%'"+" and "+"QLRXM LIKE'%"+tempmodelmap[tempmodelmap.length-1].qlrmc+"%')";
        				  }
        		     }
            	});
             }
                if(!flag) return;
                var queryStruct=new Zondy.Service.QueryFeatureStruct();
                queryStruct.IncludeGeometry=true;
                var queryParam=new Zondy.Service.QueryByLayerParameter(chaxuntuceng,{ 
                           // geometry: line,
                resultFormat: "json",
                struct:queryStruct,
                where :  str
              });
              queryParam.recordNumber = 1000;
              var queryService=new Zondy.Service.QueryLayerFeature(queryParam,
               {
                    ip: ip,        //IP地址
                    port: port ,   //端口号
                    requestType:"POST"
                });
                 queryService.query(querrySuccess);
           }
            else XYQUery($("#tablezb").val());
            //------------------------------------
           
        }
         
        function XYQUery(zuobiao)
        {
        	  var qupointObj = new Array();
        	  var lengthzb=new Array();
        	  var tempzuobiao=zuobiao;
        	  tempzuobiao=tempzuobiao.replace( /^\s+|\s+$/g, "" );
        	  lengthzb=tempzuobiao.split(";");
        	   for(var i=0;i<lengthzb.length;i++)
        		{
        		 lengthzb[i]=lengthzb[i].replace( /^\s+|\s+$/g, "" );
        		 var xyzb=lengthzb[i].split(",");
        		  if(xyzb.length==2)
        		  {
        			qupointObj[i] = new Zondy.Object.Point2D(parseFloat(xyzb[1]), parseFloat(xyzb[0]));
        		  }
        		  else
        		  {i++;}//alert("坐标输入有误!");return false;}
        		}
        	    map.setCenter([qupointObj[0].x, qupointObj[0].y],actualSvrcfg.mapQueryjishu);
        	    var queryStruct=new Zondy.Service.QueryFeatureStruct(
        		{
        					 IncludeGeometry:true,
        				     IncludeAttribute:true,
        				     IncludeWebGraphic:false

        		 });
        	    if(qupointObj.length==1)
        	    {
        	       var pointObj=new Zondy.Object.PointForQuery(qupointObj[0].x,qupointObj[0].y);	    
        	       pointObj.nearDis=0.1;
        	       /*var queryParam=new Zondy.Service.QueryParameter(
        		   {
        					 geometry: pointObj, //点查询
        			
        					// where: "mpArea=900",//"POP_1994>0",
        					 resultFormat: "json",
        					 isAsc: true,//排序 旧API文档没有
        					 struct: queryStruct
        		   });*/
        	       var queryParam=new Zondy.Service.QueryByLayerParameter(chaxuntuceng,{ 
                       geometry: pointObj,
                      resultFormat: "json",
                      isAsc: true,//排序 旧API文档没有
                      struct:queryStruct,
                      });
        	     }
        	    else
        	    {
        	    	 var lineObj=new Zondy.Object.PolyLineForQuery ; //线要素查询
        	    	 var polyLine=new Zondy.Object.PolyLineForQuery(qupointObj);
        	    	 
        	    	 //pointObj.nearDis=0.1; //设置容差banjing
        	    	 /*var queryParam=new Zondy.Service.QueryParameter(
        	    			 {
        	    				// geometry: pointObj, //点查询
        	    				geometry: polyLine, 
        	    				// where: "mpArea=900",//"POP_1994>0",
        	    				 resultFormat: "json",
        	    				 isAsc: true,//排序 旧API文档没有
        	    				 struct: queryStruct
        	    			 });*/
        	    		var queryParam=new Zondy.Service.QueryByLayerParameter(chaxuntuceng,{ 
        	                 geometry: line,
        	                resultFormat: "json",
        	                isAsc: true,//排序 旧API文档没有
        	                struct:queryStruct,
        	               // where :  str
        	                });
        	    	
        	    }
        		queryParam.recordNumber=1000;
        		
        		var queryService=new Zondy.Service.QueryLayerFeature(queryParam,
        				{
        			ip: ip,        //IP地址
        			port: port ,   //端口号
        			requestType:"POST"
        			});
        		 /*var queryService=new Zondy.Service.QueryDocFeature(queryParam, actualSvrcfg.tileMapName ,0,"0",{
        			 ip: actualSvrcfg.ip,        //IP地址
                   port: actualSvrcfg.port ,   //端口号
        		 });*/
        		 queryService.query(querrySuccess);       	    
        }
        
        function querrySuccess(data){
        	gischaxunvalue=data;
        	alert("共查询到:"+data.TotalCount+"个要素");
        	if(data.TotalCount>1000)
        	{
        		alert("查询结果超过1000条,系统最大显示1000条记录");
        	}
       	
        	//----------------------------
            flashLayer.removeAllFeatures(); //清空之前闪烁的要素  
            
            var format=new Zondy.Format.PolygonJSON();
            var features = format.read(data); //将获取到的中地数据转换为OL数据
            flashLayer.addFeatures(features);//将转换的点绘制图形
            
            if (data.SFEleArray.length > 0) {
                if (data.SFEleArray[0].bound) {
                    var pantoX = (data.SFEleArray[0].bound.xmin + data.SFEleArray[0].bound.xmax) / 2;
                    var pantoY = (data.SFEleArray[0].bound.ymin + data.SFEleArray[0].bound.ymax) / 2;
                }
                map.setCenter([pantoX, pantoY],actualSvrcfg.mapQueryjishu);
            }
            
            startFlash();
        	//-------------------------------------
        	if(data.TotalCount>0)
        	{
        	   $("#searchNO").window('close');
        	    var format=new Zondy.Format.PolygonJSON();
         	    var features = format.read(data); //将获取到的中地数据转换为OL数据
         	    flashLayer.addFeatures(features);//将转换的点绘制图形
         	    
        	    if (data.SFEleArray[0].bound) {
        	    	var pantoX = (data.SFEleArray[0].bound.xmin + data.SFEleArray[0].bound.xmax) / 2;
        	        var pantoY = (data.SFEleArray[0].bound.ymin + data.SFEleArray[0].bound.ymax) / 2;
        	    }
        	    map.setCenter([pantoX, pantoY],actualSvrcfg.mapQueryjishu);
        	      
        		if(data.TotalCount>1)
        		{
        			 var sb="";
        	  	     $("#PQdialog").empty();
        	  	  	   sb='<table id="PQTable" border="1" cellpadding="3" cellspacing="0" style="font-family:宋体;font-size:10pt;" onclick="tableclick()">'
            			+'<tr>'
            			  +'<th>'+"单元号"+'</th>'
            			  +'<th>'+"坐落"+'</th>'
            			  +'<th>'+"面积"+'</th>'
            			  +'</tr>' +'</table>';
        	  	  	   $("#PQdialog").append(sb);
        	  	  	   sb="";
        	  	    	for(var i=0;i<data.SFEleArray.length;i++)
        	  	    	{
        	  	    		sb+= '<tr id="123"  onMouseOver="over()"  onMouseOut="out()">'
        	  	    			+'<td>'+data.SFEleArray[i].AttValue[4]+'</td>'
        	  	    		    +'<td>'+data.SFEleArray[i].AttValue[7]+'</td>'
        	  	    		    +'<td>'+data.SFEleArray[i].AttValue[8]+'</td>'
        	  	    		    +'</tr>';    	  	    			  	    		
        	  	    	}
        	  	    	
        	  	    	$("#PQTable").append(sb);
        	  	    	$("#searchNO").window('close');
        	  	    	$("#PQdialog").window('open');
        		}
        	    else
        	    {
        	    	if(data.TotalCount==1)
        		    {
        	    		$.ajax({ 
                            
                			type:"POST", //请求方式 
                			url:"${ctx}/reg/bus/regBusBdcqzsdjxx/getHKVInfo", //请求路径 
                			cache: false,   //(默认: true,dataType为script和jsonp时默认为false) jQuery 1.2 新功能,设置为 false 将不缓存此页面。 
                			data:"qllx="+data.SFEleArray[0].AttValue[13]+"&qlxz="+data.SFEleArray[0].AttValue[14],//"id="+ id +"&NEWYWH=${regBusSlsq.ywh}&djlx=${regBusSlsq.djxl}",  //传参 
                			async:false,
                		//	dataType: "html",   //返回值类型 
                			success:function(modelmap){
                				startFlash();
                		  	    $("#searchNO").window('close');
                		  	    $("#outputWin").window('open');
                		  	    $("#labelzddm").html(data.SFEleArray[0].AttValue[3]);
                		        $("#labelbdcdyh").html(data.SFEleArray[0].AttValue[4]);        
                		        $("#labelqlrxm").html(data.SFEleArray[0].AttValue[27]);
                		        $("#labelzl").html(data.SFEleArray[0].AttValue[7]);                 
                		        $("#labelmj").html(data.SFEleArray[0].AttValue[8]);
                		        $("#labelqllx").html(modelmap.qllx); 
                		        $("#labelqlxz").html(modelmap.qlxz);
                		        //$("#labelqllx").html(data.SFEleArray[0].AttValue[13]); 
                		       // $("#labelqlxz").html(data.SFEleArray[0].AttValue[14]);
                		        $("#labelyt").html(data.SFEleArray[0].AttValue[10]);
                		        var a=data.SFEleArray[0].AttValue[4].substr(19 ,1);
                		        if(a=="f")
                		  	    {
                		  	    	document.getElementById("dyzldisplay").style.display="";//显
                			  	    document.getElementById("bdcdyhdisplay").style.display="";//显
                			  	    document.getElementById("labelbdcdyh").style.display="";//显
                			  	    document.getElementById("zddmdisplay").style.display="none";//隐藏
                			  	    document.getElementById("labelzddm").style.display="none";//隐藏
                			  	    document.getElementById("zdzldisplay").style.display="none";//隐藏
                		  	    }
                		  	    else
                		  	    {
                			  	   document.getElementById("zddmdisplay").style.display="";//显
                			  	   document.getElementById("labelzddm").style.display="";//显
                			  	   document.getElementById("zdzldisplay").style.display="";//显
                			  	   document.getElementById("bdcdyhdisplay").style.display="none";//隐藏
                			  	   document.getElementById("labelbdcdyh").style.display="none";//隐藏
                			  	   document.getElementById("dyzldisplay").style.display="none";//隐藏
                		  	    }
                			}
        	    		});
        	    	
        		    }
        	    }
        	}
        }

        function tableclick()
        {
        	var id;  
        	 $("table td").click(function() {
                 row = $(this).parent().index(); // 行位置
                 col = $(this).index(); // 列位置
                 var ferrere=this.offsetParent.id;
                if(ferrere=="PQTable") 
        	    {
                	$.ajax({ 
            			type:"POST", //请求方式 
            			url:"${ctx}/reg/bus/regBusBdcqzsdjxx/getHKVInfo", //请求路径 
            			cache: false,   //(默认: true,dataType为script和jsonp时默认为false) jQuery 1.2 新功能,设置为 false 将不缓存此页面。 
            			data:"qllx="+gischaxunvalue.SFEleArray[row-1].AttValue[13]+"&qlxz="+gischaxunvalue.SFEleArray[row-1].AttValue[14],//"id="+ id +"&NEWYWH=${regBusSlsq.ywh}&djlx=${regBusSlsq.djxl}",  //传参 
            			async:false,
            		//	dataType: "html",   //返回值类型 
            			success:function(modelmap){
            			     $("#labelzddm").html(gischaxunvalue.SFEleArray[row-1].AttValue[3]);
                             $("#labelbdcdyh").html(gischaxunvalue.SFEleArray[row-1].AttValue[4]);        
                             $("#labelqlrxm").html(gischaxunvalue.SFEleArray[row-1].AttValue[27]);
                             $("#labelzl").html(gischaxunvalue.SFEleArray[row-1].AttValue[7]);                 
                             $("#labelmj").html(gischaxunvalue.SFEleArray[row-1].AttValue[8]);

                           //  $("#labelqllx").html(gischaxunvalue.SFEleArray[row-1].AttValue[13]); 
                           //  $("#labelqlxz").html(gischaxunvalue.SFEleArray[row-1].AttValue[14]);
                             $("#labelqllx").html(modelmap.qllx); 
                             $("#labelqlxz").html(modelmap.qlxz);
                             $("#labelyt").html(gischaxunvalue.SFEleArray[row-1].AttValue[10]);
                             $("#outputWin").window('open');
                  	       var a=gischaxunvalue.SFEleArray[row-1].AttValue[4].substr(19 ,1);
                             if(a=="f")
                             {
                          	  document.getElementById("dyzldisplay").style.display="";//显
                  	  	      document.getElementById("bdcdyhdisplay").style.display="";//显
                  	  	      document.getElementById("labelbdcdyh").style.display="";//显
                  	  	      document.getElementById("zddmdisplay").style.display="none";//隐藏
                  	  	      document.getElementById("labelzddm").style.display="none";//隐藏
                  	  	      document.getElementById("zdzldisplay").style.display="none";//隐藏
                             }
                             else
                             {
                          	 document.getElementById("zddmdisplay").style.display="";//显
                  	  	     document.getElementById("labelzddm").style.display="";//显
                  	  	     document.getElementById("zdzldisplay").style.display="";//显
                  	  	     document.getElementById("bdcdyhdisplay").style.display="none";//隐藏
                  	  	     document.getElementById("labelbdcdyh").style.display="none";//隐藏
                  	  	     document.getElementById("dyzldisplay").style.display="none";//隐藏
                             }
                             id=gischaxunvalue.SFEleArray[row-1].FID;
                             dingwei(id);
            			}
                	});
                   
        	 }
                
            });
        }
    
      function Opendengjibu(id)
      {
    	   var iWidth=1100; 
	       	var iHeight=600;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			if(id==1)
				{
				txt=document.getElementById('labelzddm').innerText;
				window.open("${ctx}/reg/books/book?zddm="+txt,"newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
				}
			if(id==2)
				{
				txt=document.getElementById('bdcdyhdisplay').innerText;
				window.open("${ctx}/reg/books/orightbook?bdcdyh="+txt,"newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");	
				}
		}
      </script>
</head>
<body>

	<input id="tmpath"  type="hidden"  value="${ctxStatic}">
	<div id="main">
       <!--  <div id="logoText">
            <div class="logoImg logoText" >  </div>
        </div> -->
        <div id="logoBtn">
            <div title="隐藏标题" class="logoImg logoBtn">  </div>
        </div>
        <!-- div id="startBtn">  -->
             <!-- div title="开始" class="operator opStart"></div> -->
         <!-- /div>  -->
        <div id="start">
            <div id="featured"></div>
        </div>
        
        <!-- <div id= "divID" style= " display: none;input:block; position: absolute;left:600px;top:0px;z-index:200000"> 
          -->
            <!--form:form id="searchForm" modelAttribute="regBaseZdjbxx" action="${ctx}/reg/base/regBaseZdjbxx/search" method="post" class="breadcrumb form-search">  -->
              <!--  宗地号:  -->
              <!-- <input id="divIDtextsearch" type="text"  name="zongdihao"/>
               <!-- form:input path="zddm" htmlEscape="false" maxlength="19" class="input-medium"/> -->
               <!-- input id="divIDsearch" type="button" value= "提交" onclick="chaxun()"/> -->
             
            <!-- /form:form> </div> -->
        
        <!--工具栏-->
        <div id="toolbar" >
            <ul>
                <li id="zoomIn">
                    <div title="放大" class="operator opZoomIn" ></div>
                </li>
                <li id="zoomOut">
                    <div title="缩小" class="operator opZoomOut" ></div>
                </li>
                <li id="restore">
                    <div title="复位" class="operator opPan" ></div>
                </li>
                <li id="pan">
                    <div title="平移" class="operator opRestore" ></div>
                </li>
                 <li id="search">
                    <div title="查询" class="operator opsearch" ></div>
                </li>
                <li id="addzongdi">
                    <div title="添加宗地" class="operator opaddzongdi" ></div>
                </li>
                
                <li id="deletezongdi">
                    <div title="删除宗地" class="delete" ></div>
                </li>
                
            </ul>
        </div>
        <!-- div id="map"  style="width:1050px;height:550px"> -->  <!-- style="position: absolute;" -->
       <div id="map"  style="width:100%;height:98%">
        </div>
  </div>     
   
		 <div id="searchNO" class="easyui-window" title="请输入要查询的宗地" maximizable="false"  minimizable="false" collapsible="false"  border="false" resizable="false" closable="true" closed="true" style="color:#1E90FF;left:300px;top:200px; width:500px; height:300px;padding: 5px" resizable="false">	<form style="padding:10px 20px 10px 40px;">    
             <table  border="0"  style="font-family:宋体;font-size:10pt;"> 
             <caption style="font-weight:bold ;color:#008000;">请输入查询信息</caption>
             <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">查询县区</td>
             <td style=";text-align:top;height:10;">
                <select name="queryxianqu" id="queryxianqutext" >
                    <option value="hantai">汉台区</option>
                    <option value="zhenba">镇巴县</option>
                    <option value="xixiang">西乡县</option>
                    <option value="mian">勉县</option>
                    <option value="niqiang">宁强县</option>
                    <option value="nanzheng">南郑县</option>
                    <option value="chenggu">城固县</option>
                    <option value="foping">佛坪县</option>
                    <option value="liuba">留坝县</option>
                    <option value="lueyang">略阳县</option>
                    <option value="yang">洋县</option>
                </select>
             </td>
             </tr>
              <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">查询图层</td>
             <td style=";text-align:top;height:10;">
                <select name="querytuceng" id="querytucengtext" >
                    <option value="jsydsyqdb">建设用地使用权宗地(地表)</option>
                    <option value="jttdsyq">集体土地所有权宗地</option>
                    <option value="jsydsyqds">建设用地使用权宗地(地上)</option>
                    <option value="jsydsyqdx">建设用地使用权宗地(地下)</option>
                    <option value="zjdsyq">宅基地使用权宗地</option>
                    <option value="tdcbjyqgd">土地承包经营权宗地(耕地)</option>
                    <option value="tdcbjyqld">土地承包经营权宗地(林地)</option>
                    <option value="tdcbjyqcd">土地承包经营权宗地(草地)</option>
                </select>
             </td>
             </tr>
             
             
             <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">不动产权证号</td>
             <!-- td style=";text-align:top;width:230px;height:10;"> -->
             <td style=";text-align:top;height:10;">
                <input id="tablebdcqzh" type="text" style="width:230px;">	
             </td>
             </tr>
             
             <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">宗地代码</td>
             <!-- td style=";text-align:top;width:230px;height:10;"> -->
             <td style=";text-align:top;height:10;">
                <input id="tablezddm" type="text" style="width:230px;">	
             </td>
             </tr>
             
             <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">不动产单元号</td>
             <td style="text-align:top;height:10;">
                <input id="tablebdcdyh" type="text" style="width:230px;">	
             </td>
             </tr>
              <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">权利人</td>
             <td style="text-align:top;height:10;">
                <input id="tableqlr" type="text" style="width:230px;">	
             </td>
             </tr>
             
             <tr>
             <td style="text-align:top;font-weight:bold ;color:#008000;">坐标</td>
             <td style=";text-align:top;width:230px;height:10;">
                <input id="tablezb" type="text" style="width:230px;">	
             </td>
             </tr>
             </table>
             <br />
             &nbsp;&nbsp;&nbsp;&nbsp;
            <label class="control-label">注意:坐标输入格式(x1,y1;x2,y2;x3,y3;...xn,yn)</label>
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input id="divIDsearch" type="button" style="width:80px;margin-right:10px;" value="确定" onclick="chaxun()">	 
             <br />
             <br />
              <br />
               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input id="divDotsearch" type="button" style="width:180px;margin-right:50px;" value="点要素查询请点击该处!" onclick="dianchaxun()">	                 
        
         </div>
        

  <div id="addNO" class="easyui-window" title="请输入要添加的宗地号" maximizable="false" minimizable="false" collapsible="false"  border="false" resizable="false" closable="true" closed="true" style="left:300px;top:200px; width:350px; height: 130px;padding: 5px" resizable="false">	<form style="padding:10px 20px 10px 40px;">
		<p>NO.: <input id="divIDtextadd" type="text" >		
		<!--input id="divIDadd" type="button"  value="确定"></p>  -->
		<input id="divIDadd" type="button"  value="提交" onclick="addyaosu()"></p>	
  </div>
  
  <div id="deleteNO" class="easyui-window" title="请输入要删除的宗地号" maximizable="false" minimizable="false" collapsible="false"  border="false" resizable="false" closable="true" closed="true" style="left:300px;top:200px; width:350px; height: 130px;padding: 5px" resizable="false">	<form style="padding:10px 20px 10px 40px;">
		<p>NO.: <input id="divIDtextdelete" type="text" >		
		<input id="divIDdelete" type="button"  value="确定"></p>	
  </div>

 <div id="outputWin" class="easyui-window"  title="查询信息" border="false" maximizable="false" minimizable="false" collapsible="false" border="false" resizable="false" closable="true" closed="true" style="width: 260px; height: 330px;padding:5px;left:200px;top:100px">
                <div class="easyui-layout" data-options="fit:true">
                <div data-options="region:'center',border:false" style="padding:10px;background: #fff; border: 1px solid #ccc;">
                    
          <div class="control-group">
	         <label id="zddmdisplay" class="control-label" style="display:none;">宗地代码:</label>
	           <a  id="labelzddm" class="controls" style="display:none;" href="javascript:void(0)"  title="点击此处查看更多详细信息" onclick="Opendengjibu(1);" >
						$(mapreturnvale.zddm)
			   </a> 
	        
	         <label id="bdcdyhdisplay" class="control-label" style="display:none;">不动产单元号:</label>
	          <a  id="labelbdcdyh" class="controls" style="display:none;" href="javascript:void(0)" title="点击此处查看更多详细信息" onclick="Opendengjibu(2);">
						$(mapreturnvale.bdcdyh)
			   </a> 
	      
	         <br />
	       
	          <label id="zdzldisplay" class="control-label" style="display:none;">宗地坐落:</label>
	          <label id="dyzldisplay" class="control-label" style="display:none;">单元坐落:</label>
	          <div id="labelzl" class="controls">
		               $("#labelzl").val() = $(mapreturnvale.zl)
	          </div>
	          <br />
	          
	           <label class="control-label">权利人:</label>
	          <div id="labelqlrxm" class="controls">
		               $("#labelqlrxm").val() = $(mapreturnvale.qlrxm)
	          </div>
	          <br />
	          
	          <label class="control-label">权利类型:</label>
	          <div id="labelqllx" class="controls">
		               $("#labelqllx").val() = $(mapreturnvale.qllx)
	          </div>
	          <br />
	          
	          <label class="control-label">权利性质:</label>
	          <div id="labelqlxz" class="controls">
		               $("#labelqlxz").val() = $(mapreturnvale.qlxz)
	          </div>
	          <br />
	          
	          <label class="control-label">用途:</label>
	          <div id="labelyt" class="controls">
		               $("#labelyt").val() = $(mapreturnvale.yt)
	          </div>
	          <br />
	          
	            <label class="control-label">面积:</label>
	          <div id="labelmj" class="controls">
		               $("#labelmj").val() = $(mapreturnvale.zdmj)
	          </div>	
         </div>            
       </div>
     </div>
   </div>

 <!-- 列表显示多条查询信息 -->
<div id="PQdialog" class="easyui-window" title="查询信息" border="false" maximizable="false" minimizable="false" collapsible="false" border="false" resizable="false" closable="true" closed="true" style="width:600px; height: 200px;padding:5px;left:200px;top:100px">

</div>