Explorar o código

用户认证改为任何时候都可编辑

LiFei %!s(int64=4) %!d(string=hai) anos
pai
achega
a0eac9c890

+ 40 - 40
happy-job-base-system/src/main/webapp/webpage/modules/sys/hpuser/authform.jsp

@@ -77,15 +77,15 @@
 
 
 		$(document).ready(function() {
-            if(${hpMember.authenticationStatus==3}){
-                $("#realName").attr('readonly',true);
-                $("#idCardNumber").attr('readonly',true);
-                $("#birthYear").attr('readonly',true);
-                $("#gener").attr('disabled',true);
-                $("#province").attr('disabled',true);
-                $("#city").attr('disabled',true);
-                $("#isMainNation").attr('disabled',true);
-			}
+            <%--if(${hpMember.authenticationStatus==3}){--%>
+                <%--$("#realName").attr('readonly',true);--%>
+                <%--$("#idCardNumber").attr('readonly',true);--%>
+                <%--$("#birthYear").attr('readonly',true);--%>
+                <%--$("#gener").attr('disabled',true);--%>
+                <%--$("#province").attr('disabled',true);--%>
+                <%--$("#city").attr('disabled',true);--%>
+                <%--$("#isMainNation").attr('disabled',true);--%>
+			<%--}--%>
             $('#birthYear').datetimepicker({
                 format: "YYYY",
             });
@@ -294,16 +294,16 @@
 			<div class="form-group col-sm-12">
 					<label class="col-sm-3 control-label"><font color="red">*</font>性别:</label>
 					<div class="col-sm-5">
-						<c:choose>
-							<c:when test="${hpMember.authenticationStatus==3}">
-								<form:radiobutton path="gender" id="gender" value="1" htmlEscape="false" label="男" class="i-checks" disabled="true" />
-								<form:radiobutton path="gender" id="gender" value="2" htmlEscape="false" label="女" class="i-checks" disabled="true" />
-							</c:when>
-							<c:otherwise>
+						<%--<c:choose>--%>
+							<%--<c:when test="${hpMember.authenticationStatus==3}">--%>
+								<%--<form:radiobutton path="gender" id="gender" value="1" htmlEscape="false" label="男" class="i-checks" disabled="true" />--%>
+								<%--<form:radiobutton path="gender" id="gender" value="2" htmlEscape="false" label="女" class="i-checks" disabled="true" />--%>
+							<%--</c:when>--%>
+							<%--<c:otherwise>--%>
 								<form:radiobutton path="gender" id="gender" value="1" htmlEscape="false" label="男" class="i-checks"  />
 								<form:radiobutton path="gender" id="gender" value="2" htmlEscape="false" label="女" class="i-checks"  />
-							</c:otherwise>
-						</c:choose>
+							<%--</c:otherwise>--%>
+						<%--</c:choose>--%>
 
 					</div>
 			</div>
@@ -330,16 +330,16 @@
 			<div class="form-group col-sm-12">
 					<label class="col-sm-3 control-label"><font color="red">*</font>四大民族:</label>
 					<div class="col-sm-5">
-						<c:choose>
-							<c:when test="${hpMember.authenticationStatus==3}">
-								<form:radiobutton path="isMainNation" id="isMainNation" value="1" htmlEscape="false" label="是" class="i-checks" disabled="true"/>
-								<form:radiobutton path="isMainNation" id="isMainNation" value="0" htmlEscape="false" label="否" class="i-checks" disabled="true"/>
-							</c:when>
-							<c:otherwise>
+						<%--<c:choose>--%>
+							<%--<c:when test="${hpMember.authenticationStatus==3}">--%>
+								<%--<form:radiobutton path="isMainNation" id="isMainNation" value="1" htmlEscape="false" label="是" class="i-checks" disabled="true"/>--%>
+								<%--<form:radiobutton path="isMainNation" id="isMainNation" value="0" htmlEscape="false" label="否" class="i-checks" disabled="true"/>--%>
+							<%--</c:when>--%>
+							<%--<c:otherwise>--%>
 								<form:radiobutton path="isMainNation" id="isMainNation" value="1" htmlEscape="false" label="是" class="i-checks"/>
 								<form:radiobutton path="isMainNation" id="isMainNation" value="0" htmlEscape="false" label="否" class="i-checks"/>
-							</c:otherwise>
-						</c:choose>
+							<%--</c:otherwise>--%>
+						<%--</c:choose>--%>
 
 					</div>
 			</div>
@@ -347,28 +347,28 @@
 			<div class="form-group col-sm-12">
 					<label class="col-sm-3 control-label"><font color="red">*</font>身份证正面:</label>
 					<div class="col-sm-5">
-						<c:choose>
-							<c:when test="${hpMember.idCardFront eq null || hpMember.idCardFront eq ''}">
+						<%--<c:choose>--%>
+							<%--<c:when test="${hpMember.idCardFront eq null || hpMember.idCardFront eq ''}">--%>
 								<sys:imgUpload path="idCardFront" value="${hpMember.idCardFront}" type="file" title="上传身份证正面照" uploadPath="/omcandidate" fileNumLimit="1"/>
-							</c:when>
-							<c:otherwise>
-								<img onclick="jp.showPic('${ctxp}${hpMember.idCardFront}')" src="${ctxp}${hpMember.idCardFront}" style="width: 200px;height: 120px;cursor: pointer;">
-							</c:otherwise>
-						</c:choose>
-					</div>
+							<%--</c:when>--%>
+							<%--<c:otherwise>--%>
+								<%--<img onclick="jp.showPic('${ctxp}${hpMember.idCardFront}')" src="${ctxp}${hpMember.idCardFront}" style="width: 200px;height: 120px;cursor: pointer;">--%>
+							<%--</c:otherwise>--%>
+						<%--</c:choose>--%>
+					<%--</div>--%>
 			</div>
 			<div class="form-group col-sm-12">
 					<label class="col-sm-3 control-label"><font color="red">*</font>身份证反面:</label>
 					<div class="col-sm-5">
 
-						<c:choose>
-							<c:when test="${hpMember.idCardBack eq null || hpMember.idCardBack eq ''}">
+						<%--<c:choose>--%>
+							<%--<c:when test="${hpMember.idCardBack eq null || hpMember.idCardBack eq ''}">--%>
 								<sys:imgUpload path="idCardBack" value="${hpMember.idCardBack}" type="file" title="上传身份证反面照" uploadPath="/omcandidate" fileNumLimit="1"/>
-							</c:when>
-							<c:otherwise>
-								<img onclick="jp.showPic('${ctxp}${hpMember.idCardBack}')" src="${ctxp}${hpMember.idCardBack}" style="width: 200px;height: 120px;cursor: pointer;">
-							</c:otherwise>
-						</c:choose>
+							<%--</c:when>--%>
+							<%--<c:otherwise>--%>
+								<%--<img onclick="jp.showPic('${ctxp}${hpMember.idCardBack}')" src="${ctxp}${hpMember.idCardBack}" style="width: 200px;height: 120px;cursor: pointer;">--%>
+							<%--</c:otherwise>--%>
+						<%--</c:choose>--%>
 					</div>
 			</div>
 			<%--<div class="form-group col-sm-12">--%>