<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" /><meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta name="keywords" content="百联保">
<meta name="description" content="百联保是百川信（厦门）网络技术有限公司基于金融创新并响应互联网＋计划搭建的第三方金融服务平台。秉承开拓金融创新，减轻企业负担的服务理念，百联保利用互联网平台优势并结合保险的市场作用，将与保证金、银行保函、担保公司保函具备同等效力的保证保险保函纳入经贸合作的担保形式之一，旨在减轻企业资金负担，简化申办流程，缩短办理周期，为企业客户提供低成本、高效率、安全专业的新型互联网金融服务。">

<title>百联保—评标结果</title>
<link href="<c:url value='/resources/css/public.css' />" rel="stylesheet" type="text/css" />
<link href="<c:url value='/resources/css/personal_center.css' />" rel="stylesheet" type="text/css" />

</head>
<body>
<jsp:include page="../../header.jsp"/>
					<!-- 查看弹出窗口 开始 -->
					<div class="details_popup" id="details_popup">
						
					</div>
					<!-- 查看弹出窗口 结束 -->
<!-- 个人中心  企业资料 内容部分 开始 -->
        <div class="per_centerwar"><!-- per_centerwar start -->
        	<div class="per_centersub"><!-- per_centersub star -->
            	<div class="per_cenleftwar"><!-- per_cenleftwar star -->
                	<div class="my_acount">
                    	<p><img src="<c:url value='/resources/images/my_acount.jpg' />" width="32" height="32" title="我的账户"></p>
                    	<p>我的账户</p>
                    </div>
                    <div class="clear"></div>
                    <div class="acount_list">
                    	<ul>
                            <li>
                                <a href="<c:url value='/BID/biddingAgency/orderRecordIndex' />">
                                    <label><img src="<c:url value='/resources/images/refer.png' />" width="22" height="21"></label>
                                    <span>信息查询</span>
                                </a>
                            </li>
                            <div class="clear"></div>
                            <li class="acount_active">
                                <a href="<c:url value='/BID/biddingAgency/biddingMessageIndex' />">
                                    <label><img src="<c:url value='/resources/images/com_data.png' />" width="21" height="15"></label>
                                    <span>评标结果</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div><!-- per_cenleftwar end -->
                <div class="per_cenrightwar"><!-- per_cenrightwar start -->
                  <div class="company_data "><!-- company_data start -->
                    <form id="biddingMessageFrom" action="<c:url value='/BID/biddingAgency/addBiddingMessage?ACCESS_TOKEN=${ACCESS_TOKEN}' />" method="post"><!-- form start -->
                    <div class="company_title"><p>评标结果</p></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span><strong>*</strong>项目名称</span>
                                <span><input type="text" name="projectName" id="projectName" onblur="validateForms(this)"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	<p>
                                <span><strong>*</strong>招标文件编号</span>
                                <span><input type="text" name="invitationCode" id="invitationCode" onblur="validateForms(this)"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                    </div><!-- company_conbox end -->
                    <div class="clear"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span><strong>*</strong>评标公示日期</span>
                                <span  class="select_time">
                                	<input placeholder="" name="bidTime" class="laydate-icon" onClick="laydate({elem: '#hetytrt'})" id="hetytrt" onchange="validateForms(this)">
                                </span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	<p>
                                <span>预计开工日期</span>
                                <span  class="select_time">
                                	<input placeholder="" name="workingTime" class="laydate-icon" onClick="laydate({elem: '#hetytrt2'})" id="hetytrt2">
                                </span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                    </div><!-- company_conbox end -->
                    <div class="clear"></div>
                    <div class="border_bottom"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span><strong>*</strong>第一中标候选人</span>
                                <span><input type="text" name="companyName_1" id="companyName_1" onblur="validateForms(this)"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	
                        </div>
                    </div><!-- company_conbox end -->
                    <div class="clear"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span><strong>*</strong>联系人</span>
                                <span><input type="text" name="linkman_1" id="linkman_1" onblur="validateForms(this)"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	<p>
                                <span><strong>*</strong>联系人电话</span>
                                <span><input type="text" name="linkphone_1" id="linkphone_1" onblur="validateForms(this)"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        
                    </div><!-- company_conbox end -->
                    
                    <div class="clear"></div>
                    <div class="border_bottom"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span>第二中标候选人</span>
                                <span><input type="text" name="companyName_2" id="companyName_2"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	
                        </div>
                    </div><!-- company_conbox end -->
                    <div class="clear"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span>联系人</span>
                                <span><input type="text" name="linkman_2" id="linkman_2"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	<p>
                                <span>联系人电话</span>
                                <span><input type="text" name="linkphone_2" id="linkphone_2"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        
                    </div><!-- company_conbox end -->
                    
                    <div class="clear"></div>
                    <div class="border_bottom"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span>第三中标候选人</span>
                                <span><input type="text" name="companyName_3" id="companyName_3"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	
                        </div>
                    </div><!-- company_conbox end -->
                    <div class="clear"></div>
                    <div class="company_conbox"><!-- company_conbox start -->
                    	<div class="text_box1">
                        	<p>
                                <span>联系人</span>
                                <span><input type="text" name="linkman_3" id="linkman_3"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        <div class="text_box2">
                        	<p>
                                <span>联系人电话</span>
                                <span><input type="text" name="linkphone_3" id="linkphone_3"></span>
                                <label class="hint_red"><img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空"></label>
                            </p>
                        </div>
                        
                    </div><!-- company_conbox end -->
                    
                    <!-- 修改 开始 -->
                    <div class="clear"></div>
                    <div class="amend"><input type="button" value="提交" onclick="messageFrom()"></div>
                    <!-- 修改 结束 -->
                    </form><!-- form end -->
                   
					
                   
                  </div><!-- company_data end -->
                  
                  <!--历史信息 开始-->
                  <div class="bg_f3f4f5"></div>
                  <div class="company_data">
                  	
					<div class="company_title"><p>历史信息</p></div>
                    <div class="meslist_war" id="listPageImplant">
                    	<div class="meslist_title">
                        	<ul>
                            	<li>项目名称</li>
                            	<li>招标文件编号</li>
                                <li>评标结果公示日期</li>
                                <li>预计开工日期</li>
                                <li>添加时间</li>
                                <li>操作</li>
                            </ul>
                        </div>
                        <div class="meslist_content">
                        <c:if test="${biddingMessageList.size()>0 }">
                        <c:forEach items="${biddingMessageList }" var="list">
							<ul class="clearfix">
                            	<li>${list.projectName }</li>
                            	<li>${list.invitationCode }</li>
                                <li><fmt:formatDate pattern='yyyy-MM-dd' value='${list.bidTime }'/></li>
                                <li><fmt:formatDate pattern='yyyy-MM-dd' value='${list.workingTime }'/></li>
                                <li><fmt:formatDate pattern='yyyy-MM-dd HH:mm' value='${list.createOn }'/></li>
                                <li><a href="javascript:void(0);" onclick="detailBidMsg('${list.oid }');">查看</a></li>
                            </ul>
						</c:forEach>
						</c:if>
						<c:if test="${biddingMessageList.size()==0 }">
						<div class="null-infor"><p>暂无信息！</p></div>
						</c:if>
                        </div>
                        <div class="meslist_paging">
                        	<div class="meslist_pagleft">
                            	<p>
                            	
                                	<span>显示<c:if test="${dwzPage.totalPage == 1 }">1-${dwzPage.totalCount}</c:if>
									<c:if test="${dwzPage.totalPage > 1 }">
									<c:if test="${dwzPage.pageNum == 1 }">
									1-${dwzPage.numPerPage}
									</c:if>
									<c:if test="${dwzPage.pageNum > 1 }">
									${(dwzPage.pageNum -1) * dwzPage.numPerPage + 1}-${dwzPage.pageNum * dwzPage.numPerPage}
									</c:if>
									</c:if>条，共${dwzPage.totalCount}条记录，每页显示记录</span>
                                    <span>
                                    	<select style="background:url(<c:url value='/resources/images/bzbx_pulldown.gif' />) 90% no-repeat;" id="numPerPage"  onchange="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','1')">
                                        	<option value="10" <c:if test="${10 == dwzPage.numPerPage }">selected="selected"</c:if>>10</option>
											<option value="20" <c:if test="${20 == dwzPage.numPerPage }">selected="selected"</c:if>>20</option>
											<option  value="50" <c:if test="${50 == dwzPage.numPerPage }">selected="selected"</c:if>>50</option>
                                        </select>
                                    </span>
                                </p>
                            </div>
                            <div class="meslist_pagright">
                            	<ul>
                                	<li><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','1')">第一页</a></li>
                                    <li><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','<c:if test="${dwzPage.pageNum == dwzPage.totalPage }">${dwzPage.totalPage }</c:if><c:if test="${dwzPage.pageNum != dwzPage.totalPage }">${dwzPage.pageNum+1 }</c:if>')">下一页</a></li>
                                    <c:if test="${dwzPage.totalPage<6 }">
                                    <c:forEach begin="1" end="${dwzPage.totalPage }" varStatus="index">
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${index.index }')" <c:if test="${dwzPage.pageNum == index.index }"> class="active_ff6"</c:if>>${index.index }</a></span></li>
                                    </c:forEach>
                                    
                                    </c:if>
                                    <c:if test="${dwzPage.totalPage>5 }">
                                    
                                    <c:if test="${dwzPage.pageNum == dwzPage.totalPage }">
                                    <li><span>...</span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-4 }')">${dwzPage.pageNum-4 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-3 }')">${dwzPage.pageNum-3 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-2 }')">${dwzPage.pageNum-2 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-1 }')">${dwzPage.pageNum-1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum }')" class="active_ff6">${dwzPage.pageNum }</a></span></li>
                                    </c:if>
                                    <c:if test="${dwzPage.pageNum == 1 }">
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum }')" class="active_ff6">${dwzPage.pageNum }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+1 }')">${dwzPage.pageNum+1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+2 }')">${dwzPage.pageNum+2 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+3 }')">${dwzPage.pageNum+3 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+4 }')">${dwzPage.pageNum+4 }</a></span></li>
                                    <li><span>...</span></li>
                                    </c:if>
                                    <c:if test="${dwzPage.pageNum == 1 && dwzPage.pageNum == dwzPage.totalPage}">
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum }')" class="active_ff6">${dwzPage.pageNum }</a></span></li>
                                    </c:if>
                                    <c:if test="${dwzPage.pageNum != 1 && dwzPage.pageNum != dwzPage.totalPage}">
                                    
                                    <c:if test="${dwzPage.pageNum - 1 == 1}">
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-1 }')">${dwzPage.pageNum-1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum }')" class="active_ff6">${dwzPage.pageNum }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+1 }')">${dwzPage.pageNum+1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+2 }')">${dwzPage.pageNum+2 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+3 }')">${dwzPage.pageNum+3 }</a></span></li>
                                    <li><span>...</span></li>
                                    </c:if>
                                    <c:if test="${dwzPage.pageNum - 1 != 1 && dwzPage.totalPage - dwzPage.pageNum != 1}">
                                    <li><span>...</span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-2 }')">${dwzPage.pageNum-2 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-1 }')">${dwzPage.pageNum-1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum }')" class="active_ff6">${dwzPage.pageNum }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+1 }')">${dwzPage.pageNum+1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+2 }')">${dwzPage.pageNum+2 }</a></span></li>
                                    <li><span>...</span></li>
                                    </c:if>
                                    <c:if test="${dwzPage.totalPage - dwzPage.pageNum == 1}">
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-3 }')">${dwzPage.pageNum-3 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-2 }')">${dwzPage.pageNum-2 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum-1 }')">${dwzPage.pageNum-1 }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum }')" class="active_ff6">${dwzPage.pageNum }</a></span></li>
                                    <li><span><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.pageNum+1 }')">${dwzPage.pageNum+1 }</a></span></li>
                                    </c:if>
                                    
                                    </c:if>
                                    </c:if>
                                    <li><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','<c:if test="${dwzPage.pageNum == 1 }">${dwzPage.pageNum }</c:if><c:if test="${dwzPage.pageNum != 1 }">${dwzPage.pageNum-1 }</c:if>')">上一页</a></li>
                                    <li><a href="javascript:void(0);" onclick="pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','${dwzPage.totalPage }')">末页</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                  </div>
                  <!--历史信息 结束-->
                </div><!-- per_cenrightwar end -->
            </div><!-- per_centersub end -->
            <div class="clear"></div>
        </div><!-- per_centerwar end -->
        <!-- 个人中心  企业资料 内容部分 结束 -->
<jsp:include page="../../index/multi_f.jsp" />
<script src="<c:url value='/resources/script/jquery-1.8.3.min.js' />" type="text/javascript"></script>
<script src="<c:url value='/resources/js/insurance.js' />" type="text/javascript"></script>
<script type="text/javascript" src="<c:url value='/resources/js/date/laydate.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/commonJS/normalCheck.js' />"></script>
<script type="text/javascript" src="<c:url value='/resources/commonJS/validateIdent.js' />"></script>
<script type="text/javascript">
var baseUrl = '${pageContext.request.contextPath }';
$(function(){
	$(window).scroll(function(event){
		var scrollTop = $("body").scrollTop();
		$("#details_popup").css("top",150+scrollTop+"px");
	});
});
function localHref(){
	location.href=baseUrl + "/user/personal/init?ACCESS_TOKEN=${ACCESS_TOKEN}";
}
function validateForms(o){
	if($("#"+o.id).val() == ""){
		$(o).parent().next().html('<img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="不能为空">');
		$(o).parent().next().attr("style","display:block;");
		return;
	}else{
		$(o).parent().next().attr("style","display:none;");
	}
	
}
function detailBidMsg(id_){
	$.ajax({
		type: 'POST',
		url:baseUrl + '/BID/biddingAgency/biddingMsgDetail/'+id_,
		dataType:"html",
		cache: false,
		success: function(data){
			$(".details_popup").html(data);
			$(".details_popup").show();
		}
	});
}
function detailClose(){
	$(".details_popup").hide();
}
function messageFrom(){
	var mycars=new Array("projectName","companyName","linkman","linkphone"
			,"hetytrt","hetytrt2");
	
	for(i=0;i<mycars.length;i++){
		if($("#"+mycars[i]).val() == ""){
			$("#"+mycars[i]).parent().next().html('<img src="<c:url value='/resources/images/reg_error.png' />" width="18" height="18" title="身份证格式不正确">');
			$("#"+mycars[i]).parent().next().attr("style","display:block;");
			return;
		}else{
			$("#"+mycars[i]).parent().next().attr("style","display:none;");
			
		}
	}
	$.ajax({
		type: 'POST',
		url:baseUrl + '/BID/biddingAgency/addBiddingMessage',
		data:$("#biddingMessageFrom").serialize(),
		dataType:"json",
		cache: false,
		success: function(json){
			if(json.statusCode == '200') {
				alert(json.message);
				//更新列表
				pageReturnHtml('<c:url value="/BID/biddingAgency/biddingMessageList/${biddingAgency.oid }" />','1');
			}
			if(json.statusCode == '300') {
				alert(json.message);
			}
		}
	});
}

function checkEmail(value) {
	var re = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
	return re.test(value);
}

</script>
</html>
