hetu.jsp 6.32 KB
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>测试管理</title>
	<meta name="decorator" content="default"/> 
	<script type="text/javascript">
		$(document).ready(function() {
			 
		});
		function print_image(){
			var iWidth=1100; 
	       	var iHeight=600;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	
	       	var zdimgname = $("#zdt").val();
	    	var fwimgname = $("#fwt").val();
	       	
			window.open("${ctx}/test/test/printImage?heightfw="+$("#fwHeight").val()+"&zdimgname="+zdimgname+"&fwimgname="+fwimgname,"test_window",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
	</script>
</head>
<body> 
	<div class="btn-toolbar breadcrumb">
		<div class="btn-group">
			房屋所占比例:
			<input type="text" id="fwHeight" value="0.5" >
			
			<!-- 
			展示倍数:
			<input type="text" id="zsbs" value="2" >
			 -->
			
			<a class="btn" href="javascript:print_image();"><i class="icon-print"></i>&nbsp;打印</a> 
		</div> 
	</div>
 
		<label>房屋平面图</label> 
		<div style="display: flex;height: 35px;"> 
			<input id="fwt" name="fwt" type="hidden"  maxlength="100"/>
			<sys:ckfinder input="fwt" type="files"  uploadPath="/reg/bus/regBusSjmain/fwhetu" selectMultiple="false"/>
		
		<!-- 
			 <span style="flex:1;text-align: center;display: block;">
			 	<img alt="房屋图" src="/ODM/userfiles/test/fw/200.jpg" style="height: 80%;" ><br/>
			 	<label>理想城小区1306</label>
			 	<input type="radio" name="fw" id="fw1" value="200.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="房屋图" src="/ODM/userfiles/test/fw/200-2.jpg" style="height: 80%;" ><br/>
			 	<label>汉水名城205</label>
			 	<input type="radio" name="fw" id="fw2" value="200-2.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="房屋图" src="/ODM/userfiles/test/fw/250.jpg" style="height: 80%;" ><br/>
			 	<label>博望城304</label>
			 	<input type="radio" name="fw" id="fw3" value="250.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="房屋图" src="/ODM/userfiles/test/fw/300.jpg" style="height: 80%;" ><br/>
			 	<label>汉江机床公租楼</label>
			 	<input type="radio" name="fw" id="fw4" value="300.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="房屋图" src="/ODM/userfiles/test/fw/500.jpg" style="height: 80%;"><br/>
			 	<label>千山航空201楼</label>
			 	<input type="radio" name="fw" id="fw5" value="500.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="房屋图" src="/ODM/userfiles/test/fw/700.jpg" style="height: 80%;" ><br/>
			 	<label>天汉文化E2楼</label>
			 	<input type="radio" name="fw" id="fw6" value="700.jpg">
			 </span>
			  -->
		</div>
		
		<label style="padding-top: 50px;">宗地平面图</label>
		<div style="display: flex;height: 35px;">
		
			<input id="zdt" name="zdt" type="hidden"  maxlength="100"/>
			<sys:ckfinder input="zdt" type="files"  uploadPath="/reg/bus/regBusSjmain/zdhetu" selectMultiple="false"/>
		
		<!-- 
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/200.jpg" style="height: 80%;" ><br/>
			 	<label>太古石巷4号院2号楼</label>
			 	<input type="radio" name="zd" id="zd1" value="200.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/500.jpg" style="height: 80%;"><br/>
			 	<label>人保公司家属院</label>
			 	<input type="radio" name="zd" id="zd2" value="500.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/700.jpg" style="height: 80%;" ><br/>
			 	<label>滨江家园15#B楼</label>
			 	<input type="radio" name="zd" id="zd3" value="700.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/800.jpg" style="height: 80%;" ><br/>
			 	<label>莲湖路兴达2#楼</label>
			 	<input type="radio" name="zd" id="zd4" value="800.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/1000.jpg" style="height: 80%;"><br/>
			 	<label>延龄小区</label>
			 	<input type="radio" name="zd" id="zd5" value="1000.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/1000-Model.jpg" style="height: 80%;"><br/>
			 	<label>府西花园</label>
			 	<input type="radio" name="zd" id="zd6" value="1000-Model.jpg">
			 </span>
			 
		</div>	 
		<div style="display: flex;height: 100px;padding-top: 10px">
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/1200.jpg" style="height: 80%;"><br/>
			 	<label>秦风公司家属院</label>
			 	<input type="radio" name="zd" id="zd6" value="1200.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/2000.jpg" style="height: 80%;"><br/>
			 	<label>天汉花园小区</label>
			 	<input type="radio" name="zd" id="zd6" value="2000.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/2500.jpg" style="height: 80%;"><br/>
			 	<label>吾悦广场C快地</label>
			 	<input type="radio" name="zd" id="zd6" value="2500.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/3000.jpg" style="height: 80%;"><br/>
			 	<label>恒大城</label>
			 	<input type="radio" name="zd" id="zd6" value="3000.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/4000.jpg" style="height: 80%;"><br/>
			 	<label>丰辉龙庭</label>
			 	<input type="radio" name="zd" id="zd6" value="4000.jpg">
			 </span>
			 <span style="flex:1;text-align: center;">
			 	<img alt="宗地图" src="/ODM/userfiles/test/zd/5000.jpg" style="height: 80%;"><br/>
			 	<label>世纪城天汉园</label>
			 	<input type="radio" name="zd" id="zd6" value="5000.jpg">
			 </span>
		</div>
		  -->
	</div>
	 
	<sys:message content="${message}"/> 
</body>
</html>