|
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
|
|
<%@ taglib uri="/struts-tags" prefix="s"%>
|
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
|
|
<%
|
|
|
String path = request.getContextPath();
|
|
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
|
|
%>
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
<meta charset="utf-8" />
|
|
|
<title>公共租赁住房租赁管理系统</title>
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
|
<!-- App favicon -->
|
|
|
<link rel="shortcut icon" href="<%=basePath %>static/assets/images/favicon.ico">
|
|
|
|
|
|
<!-- App css -->
|
|
|
<link href="<%=basePath %>static/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="<%=basePath %>static/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
|
|
|
<link href="<%=basePath %>static/assets/css/app.min.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body class="authentication-bg">
|
|
|
|
|
|
<div class="account-pages my-5">
|
|
|
<div class="container">
|
|
|
<div class="row justify-content-center">
|
|
|
<div class="col-xl-10">
|
|
|
<div class="card">
|
|
|
<div class="card-body p-0">
|
|
|
<div class="row">
|
|
|
<div class="col-md-6 p-5">
|
|
|
<div class="mx-auto mb-5">
|
|
|
<a href="javascript:;">
|
|
|
<img src="<%=basePath %>static/assets/images/logo.png" alt="" height="24" />
|
|
|
<h3 class="d-inline align-middle ml-1 text-logo">信息补全</h3>
|
|
|
</a>
|
|
|
</div>
|
|
|
|
|
|
<h6 class="h5 mb-0 mt-4">Base info!</h6>
|
|
|
<p class="text-muted mt-1 mb-4">
|
|
|
输入您的基本信息
|
|
|
.</p>
|
|
|
|
|
|
<form action="<%=basePath %>system/updatebase.do" method="POST" class="authentication-form">
|
|
|
<div class="form-group">
|
|
|
<label class="form-control-label">姓名</label>
|
|
|
<div class="input-group input-group-merge">
|
|
|
<div class="input-group-prepend">
|
|
|
<span class="input-group-text">
|
|
|
<i class="icon-dual" data-feather="user"></i>
|
|
|
</span>
|
|
|
</div>
|
|
|
<input type="hidden" name="id" value="${id }"/>
|
|
|
<input type="text" required class="form-control" name="realname" id="realname" placeholder="输入姓名...">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group mt-4">
|
|
|
<label class="form-control-label">区域</label>
|
|
|
|
|
|
<div class="input-group input-group-merge">
|
|
|
<div class="input-group-prepend">
|
|
|
<span class="input-group-text">
|
|
|
<i class="icon-dual" data-feather="flag"></i>
|
|
|
</span>
|
|
|
</div>
|
|
|
<select style="width:68px;" id="province" name="pid">
|
|
|
<option value=""></option>
|
|
|
</select>
|
|
|
<select style="width:68px;" id="city" name="cid">
|
|
|
</select>
|
|
|
<select style="width:119px;" id="area" name="aid">
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group mt-4">
|
|
|
<label class="form-control-label">身份证</label>
|
|
|
|
|
|
<div class="input-group input-group-merge">
|
|
|
<div class="input-group-prepend">
|
|
|
<span class="input-group-text">
|
|
|
<i class="icon-dual" data-feather="edit"></i>
|
|
|
</span>
|
|
|
</div>
|
|
|
<input type="text" length="17" required class="form-control" id="ecard" name="ecard"
|
|
|
placeholder="输入身份证...">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<div class="form-group mb-0 text-center">
|
|
|
<button class="btn btn-primary btn-block" type="submit"> 提交信息
|
|
|
</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
|
|
|
|
|
|
</div>
|
|
|
<div class="col-lg-6 d-none d-md-inline-block">
|
|
|
<div class="auth-page-sidebar">
|
|
|
<div class="overlay"></div>
|
|
|
<div class="auth-user-testimonial">
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div> <!-- end card-body -->
|
|
|
</div>
|
|
|
<!-- end card -->
|
|
|
|
|
|
<div class="row mt-3">
|
|
|
<div class="col-12 text-center">
|
|
|
<p class="text-muted">Copyrights 2020
|
|
|
<a href="javascript:;" class="text-primary font-weight-bold ml-1">公共住房租赁管理系统</a>
|
|
|
版权所有
|
|
|
</p>
|
|
|
</div> <!-- end col -->
|
|
|
</div>
|
|
|
<!-- end row -->
|
|
|
|
|
|
</div> <!-- end col -->
|
|
|
</div>
|
|
|
<!-- end row -->
|
|
|
</div>
|
|
|
<!-- end container -->
|
|
|
</div>
|
|
|
<!-- end page -->
|
|
|
|
|
|
<!-- Vendor js -->
|
|
|
<script src="<%=basePath %>static/assets/js/vendor.min.js"></script>
|
|
|
|
|
|
<!-- App js -->
|
|
|
<script src="<%=basePath %>static/assets/js/app.min.js"></script>
|
|
|
|
|
|
<link href="<%=basePath %>static/toastr-master/toastr.min.css" rel="stylesheet" type="text/css" />
|
|
|
<script src="<%=basePath %>static/toastr-master/toastr.min.js"></script>
|
|
|
<script>
|
|
|
<c:if test="${!empty state }">
|
|
|
toastr.${state}('${message}', '提示');
|
|
|
setTimeout(function(){
|
|
|
window.location.href = "<%=basePath%>${url}";
|
|
|
},1500)
|
|
|
</c:if>
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<script>
|
|
|
loadRegion("province",1);
|
|
|
loadRegion("city",1);
|
|
|
loadRegion("area",52);
|
|
|
$("#province,#city,#area").change(function(){
|
|
|
sel = $(this).next("select").attr("id");
|
|
|
loadRegion(sel,$(this).val());
|
|
|
});
|
|
|
function loadRegion(sel,parentId)
|
|
|
{
|
|
|
//sel=="city"?$("#area").html(""):false
|
|
|
$("#"+sel).html("");
|
|
|
$.get("<%=basePath%>rg.sl?id="+parentId,function(e){
|
|
|
$("#"+sel).html(e);
|
|
|
sel=="city"?reload():false;
|
|
|
})
|
|
|
}
|
|
|
function reload()
|
|
|
{
|
|
|
sel = "area";
|
|
|
loadRegion(sel,$("#city").val());
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|
|
|
|