4c5d76e482c0691b1ba02795c337da6cb9c910fa.svn-base
4.68 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
<%@ 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}/select3/Area.js" type="text/javascript"></script>
<script src="${ctxStatic}/select3/AreaData_min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".zdjbxx_xuhao").hover(function(){
$(this).css("cursor","pointer");
$(this).next().addClass("zdjbxxDetailInfoOver");
},function(){
//鼠标离开时移除divOver样式
$(this).next().removeClass("zdjbxxDetailInfoOver");
});
});
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
$(function (){
initComplexArea('seachprov', 'seachcity', 'seachdistrict', area_array, sub_array, '44', '0', '0');
});
function choiceOneZdjbxx(id){
//Ajax异步请求一条宗地基本信息 :① 需要将选择的这个宗地信息跟业务号关联;②成功后将信息刷新父页面的局部div,让其加载刚刚选择的宗地信息;
$.ajax({
type:"POST", //请求方式
url:"${ctx}/reg/base/regBaseZdjbxx/relationYwh", //请求路径
cache: false, //(默认: true,dataType为script和jsonp时默认为false) jQuery 1.2 新功能,设置为 false 将不缓存此页面。
data:"ywh=${YWH}&id="+id, //传参
dataType: "html", //返回值类型 使用json的话也可以,但是需要在JS中编写迭代的html代码,如果格式样式复杂的话还是用html返回类型好
success:function(data){
//给父页面的div html()宗地基本信息的内容 通过ID
if(window.opener) {
window.opener.document.getElementById('queryRegedinfo').innerHTML = data;
}
window.close();
}
});
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">宗地信息</a></li>
</ul>
<form id="searchForm" action="${ctx}/reg/base/regBaseZdjbxx/listView" method="post" class="breadcrumb form-search">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<ul class="ul-form">
<li><label>行政区县:</label>
<select id="seachprov" class="input-medium" name="xzqx"
onChange="changeComplexProvince(this.value, sub_array, 'seachcity', 'seachdistrict');">
</select>
</li>
<li><label>地籍区:</label>
<select id="seachcity" class="input-medium" name="djq"
onChange="changeCity(this.value,'seachdistrict');">
</select>
</li>
<li><label>地籍子区:</label>
<span id="seachdistrict_div">
<select id="seachdistrict" class="input-medium" name="djzq"></select>
</span>
</li>
<li><label>权利人:</label>
<input name=""/>
</li>
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="检 索"/></li>
<li class="clearfix"></li>
</ul>
</form>
<sys:message content="${message}"/>
<div class="form-horizontal">
<div class="current_fwinfo">本次检索宗地信息共【${zdcount}】个</div>
<div class="zdjbxxdivs">
<c:forEach items="${page.list}" var="regBaseZdjbxx" varStatus="status">
<div class="one_zdjbxx" onclick="choiceOneZdjbxx('${regBaseZdjbxx.id}');">
<div class="zdjbxx_xuhao">${status.index+1}</div>
<div id="zdjbxxdetailinfo_${status.index}" class="zdjbxxdetailinfo">
<ul>
<li class="zdjbxxdetailstatus">【土地状态】:${fns:getDictLabel(regBaseZdjbxx.status, 'reg_bus_zdzt', '')}</li>
</ul>
<ul>
<li>【宗地代码】:${regBaseZdjbxx.zddm}</li>
<li>【不动产单元号】:${regBaseZdjbxx.bdcdyh}</li>
</ul>
<ul>
<li>【宗地面积】:${regBaseZdjbxx.zdmj}</li>
<li>【用途】:${regBaseZdjbxx.yt}</li>
</ul>
<ul>
<li>【价格】:${regBaseZdjbxx.jg}</li>
<li>【坐落】:${regBaseZdjbxx.zl}</li>
</ul>
<ul>
<li>【权利人】:${regBaseZdjbxx.qlrxm}</li>
<li>【身份证号】:${regBaseZdjbxx.sfzh}</li>
</ul>
<ul>
<li>【宗地四至-东】:${regBaseZdjbxx.zdszd}</li>
<li>【宗地四至-南】:${regBaseZdjbxx.zdszn}</li>
</ul>
<ul>
<li>【宗地四至-西】:${regBaseZdjbxx.zdszx}</li>
<li>【宗地四至-北】:${regBaseZdjbxx.zdszb}</li>
</ul>
</div>
<div class="zdjbxx_zl">${regBaseZdjbxx.zl}</div>
</div>
</c:forEach>
</div>
</div>
<br>
<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
</body>
</html>