regBusSlsqQueryWay.jsp
2.77 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
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>查询办理进程</title>
<meta name="decorator" content="default"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<style>
#queryPage{
max-width:768px;
padding:0 3%;
}
.scanCode{
width:100%;
margin:25% auto 20%;
font-size: 15px;
}
.scanCodeBtn[type="button"]{
width:100%;
padding:15% 0;
background:#317eac;
color:#ffffff;
font-size:18px;
border:1px solid #317eac;
}
#queryPage #inputForm{margin:0 0;}
.manualInput{
width:100%;
border:1px solid #317eac;
}
.manualInput h3{
padding:0 3%;
background:#317eac;
color:#ffffff;
font-size:15px;
}
.form-horizontal .control-group{
border-bottom:none;
padding:10% 3% 6% 3%;
}
.form-horizontal .control-label{
width:24%;
line-height:30px;
text-align:left;
padding-top:0;
float:left;
font-weight:900;
font-size:15px;
}
.form-horizontal .controls{margin-left:30%;font-size:14px;}
.input-xlarge{width:85%;}
.control-button{
padding:0 3% 6% 3%;
}
.control-button .btnQuery{
width:100%;
padding:10px 14px;
color:#ffffff;
background:#317eac;
color:#ffffff;
}
.controls p{
color:#ff0000;
display:none;
}
</style>
<script type="text/javascript">
$(function(){
if('${bj}' == 1){
alert('${context}')
document.getElementById('divlativ').innerHTML='${context}';
$("#ywh").val('${ywh}');
}else{
document.getElementById("divlativ").style.display="none";
}
$(".btnQuery").on("click",function(){
var ywh = $("#ywh").val();
if(ywh!=""){
$(this).closest(".form-horizontal").find(".input-idNumber").next().hide();
var url = "${ctx}/reg/wechatInterface/findSel?bj=1&ywh="+ywh;
document.inputForms.action = url;
document.inputForms.submit();
}else {
$(this).closest(".form-horizontal").find(".input-idNumber").next().show();
}
})
})
</script>
</head>
<body>
<div id="queryPage">
<form:form id="inputForm" name="inputForms" modelAttribute="regBusSlsq" action="#" method="post" class="form-horizontal">
<div class="manualInput">
<h3>手动输入查询</h3>
<div class="control-group">
<label class="control-label">业务号</label>
<div class="controls">
<input id="ywh" class="input-xlarge input-idNumber" maxlength="50" type="text" placeholder="请输入业务号" required/>
<p>*请输入业务号码</p>
</div>
</div>
<div class="control-button">
<input id="btnQuery" class="btn btnQuery" type="button" value="查询"/>
</div>
</div>
<div class="scanCode" id="divlativ">
</div>
</form:form>
</div>
</body>
</html>