baa8ac5492d54e159fea01e2120f43f0f23795c7.svn-base
3.78 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
<%@ 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() {
var zsbhs = ${bhList};
var zsbh = document.getElementById("zsbh");
if(zsbhs) {
for(var i=0;i<zsbhs.length;i++) {
var opt = document.createElement("option");
opt.innerHTML = zsbhs[i];
zsbh.appendChild(opt);
}
}
});
function isOK(){
var options1=$("#zsbh option:selected"); //获取选中的项
var options2=$("#bdcqlsx option:selected");
// alert(options.val()); 拿到选中项的值
// alert(options.text()); 拿到选中项的文本
var oldbm = ${ysxlh};
var newbm = options1.text().trim();
var newqlsx = options2.val().trim();
if(oldbm==newbm){
alert("证书编码与原编码相同,请检查。");
return;
}
var oldqlsx = ${fn:length(pageList)};
var ywh = ${ywh};
$.ajax({
type:"POST",
url:"${ctx}/reg/base/regBaseZsglbSub/checkData",
data:{"newbm":newbm,"oldbm":oldbm,"newqlsx":newqlsx,"oldqlsx":oldqlsx,"ywh":ywh},
datatype:"json",
success:function(model1){
if(model1.successbj==1){
alert(model1.msg);
return;
}else{
var url="${ctx}/reg/bus/regBusSz/jcblist?ywh=${ywh}&sqzsbs=${sqzsbs}";
window.location = url;
}
},
error:function(model1){
alert("修改失败!");
}
});
}
function isNotNull(val){
if(val != null && val != 'null' && val != undefined && val != 'undefined' && val != ''){
return true ;
}
return false;
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active">维护缮证信息列表</li>
</ul>
<br>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th >权利人</th>
<th >共有情况</th>
<th>坐落</th>
<th >权利类型</th>
<th >权利性质</th>
<th >使用期限</th>
<th >不动产单元号</th>
<th >用途</th>
<th >面积</th>
</tr>
</thead>
<tbody>
<c:forEach items="${pageList}" var="subList" varStatus="status">
<tr>
<td colspan="2">
<font color="blue">不动产权利第${status.index+1 }页</font>
</td>
<c:if test="${fn:length(pageList) eq status.index+1 }">
<td>
当前证书编码:<font color="red">${ysxlh }</font>
</td>
<td colspan="6">
目标证书编码:
<select id="zsbh" class="input-small required">
</select>
不动产权利<select id="bdcqlsx" class="input-mini required">
<option value="2">二</option>
<option value="3">三</option>
</select>
</td>
</c:if>
</tr>
<c:forEach items="${subList }" var="regBaseZsglbSub">
<tr>
<td>
${regBaseZsglbSub.qlrmc}
</td>
<td>
${regBaseZsglbSub.gyqk}
</td>
<td>
${regBaseZsglbSub.zl}
</td>
<td>
${fns:getDictLabel(regBaseZsglbSub.qllx, 'reg_bus_qllx', '')}
</td>
<td>
${regBaseZsglbSub.qlxz}
</td>
<td>
${regBaseZsglbSub.syqx}
</td>
<td style="word-wrap:break-word;word-break:break-all;" >
${regBaseZsglbSub.bdcdyh}
</td>
<td>
${regBaseZsglbSub.yt}
</td>
<td>
${regBaseZsglbSub.mj}
</td>
</tr>
</c:forEach>
</c:forEach>
</tbody>
</table>
<input id="btnCancel" class="btn btn-primary" type="button" value="返 回" onclick="history.go(-1)"/>
<input id="btnSure" class="btn btn-primary" type="button" onclick="isOK();" value="确定"/>
</body>
</html>