<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="contextPath" value="${pageContext.request.contextPath}"></c:set>

<%@include file="/WEB-INF/page/header.jsp"%>
<script>
	changeMenu(2, 1);//左边菜单active
</script>

<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-lg-10">
		<h2>保单信息</h2>
		<ol class="breadcrumb">
			<li>主页</li>
			<li class="active"><strong>认证信息</strong></li>
		</ol>
	</div>

</div>

<div class="wrapper wrapper-content animated fadeInRight">
	<div class="row">
		<div class="col-lg-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content text-center">
					<c:if test="${sessionScope.SESSION_COMPANY.companyState==0}">
						<h1>企业尚未认证，请提交资料认证，通过后可接单！</h1>
						<br>
						<button class="btn  btn-primary btn-lg" type="button" onclick="jumpTo()">提交资料认证</button>
						<br>
					</c:if>
					<c:if test="${sessionScope.SESSION_COMPANY.companyState==1}">
						<h1>企业资料认证中...</h1>
					</c:if>
					<c:if test="${sessionScope.SESSION_COMPANY.companyState==2}">
						<h3>${sessionScope.SESSION_COMPANY.companyStateRemark}</h3>
						<br>
						企业认证失败，请在 资料设置 中完善资料！
						<br>
						
					</c:if>
				</div>
			</div>
		</div>
	</div>

</div>



<%@include file="/WEB-INF/page/footer.jsp"%>

<script>
function jumpTo(){
	location.href='${contextPath}/company/setting1';
}

</script>