clzjForm.jsp 3.08 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 src="${ctxStatic}/gis/js/init.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/config.js" type="text/javascript"></script>
	<script src="${ctxStatic}/select3/AreaData_min.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>
	<script type="text/javascript">
	 $(document).ready(function() {
		 
	 });
	 function bdcdyhzj(){
		 document.getElementById("btnSubmit").disabled="disabled";
		 var urlfrom = "${ctx}/reg/base/regBaseChxx/clzjform";
		 if(confirm('是否质检?')){
			 $.ajax({
					type:"POST", 
					url:"${ctx}/reg/base/regBaseChxx/bdcdyhzj", 
					cache: false,
					data:"",
				    async:false,
					success:function(modelmap){
						if(modelmap.success == 0){
							alert(modelmap.msg);
							window.location.href=urlfrom;
						}else{
							alert(modelmap.msg);
							window.location.href=urlfrom;
							return;
						}
					}
			 });
		 }
	 } 
	 
	 function qsztzj(){
		 document.getElementById("btnSubmit").disabled="disabled";
		 var urlfrom = "${ctx}/reg/base/regBaseChxx/clzjform";
		 if(confirm('是否质检?')){
			 $.ajax({
					type:"POST", 
					url:"${ctx}/reg/base/regBaseChxx/qsztzj", 
					cache: false,
					data:"",
				    async:false,
					success:function(modelmap){
						if(modelmap.success == 0){
							alert(modelmap.msg);
							window.location.href=urlfrom;
						}else{
							alert(modelmap.msg);
							window.location.href=urlfrom;
							return;
						}
					}
			 });
		 }
	 } 
	 
	 function fcxxquery(){
		 document.getElementById("btnSubmitfc").disabled="disabled";
		 if(confirm('是否查询?')){
			 $.ajax({
					type:"POST", 
					url:"${ctx}/reg/bus/regBusFcxxquery/fcxxinfoquery", 
					cache: false,
					data:"",
				    async:false,
					success:function(modelmap){
						if(modelmap.success == 0){
							alert(modelmap.msg);
						}else{
							alert(modelmap.msg);
							return;
						}
					}
			 });
		 }
	 } 
	</script>
	
</head>
<body>
	<input id="btnSubmit" type="button"  class="btn btn-primary"  value="不动产单元号质检"  onclick="bdcdyhzj();">	
	<input id="btnSubmit" type="button"  class="btn btn-primary"  value="权属状态重复质检"  onclick="qsztzj();">	
	<input id="btnSubmitfc" type="button"  class="btn btn-primary"  value="房产数据查询(胡工)"  onclick="fcxxquery();">	  
</body>

</html>