searchproject.jsp 9.87 KB
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String contextPath = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath();
	String text = "";
	if (request.getParameter("text") != null) {
		text = java.net.URLDecoder.decode(request.getParameter("text"), "UTF-8");
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%-- <jsp:include page="../jspinc/inceasyui.jsp"></jsp:include> --%>
<title>审批查询</title>
<link href="../../libs/layui/2.2.5/css/layui.css" rel="stylesheet"/>
<jsp:include page="projectinclude.jsp"></jsp:include>
<link href="../../libs/zui/css/zui.datatable.css" rel="stylesheet" />
<link href="../../css/projecttask/dealingproject.css" rel="stylesheet" />
<script src="../../common/js/config.js"></script>
<script src="../../common/js/global/global.localStorage.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/projecttask/common.js"></script>

<script type="text/javascript" src="../../libs/layui/2.2.5/layui.all.js"></script>
<script type="text/javascript" src="../../libs/layui/2.2.5/layui.js"></script>
<script type="text/javascript" src="../../js/projecttask/dataTable.js"></script>
<script src="../../libs/zui/js/zui.js"></script>
<script src="../../libs/zui/js/zui.datatable.js"></script>
<script src="../../js/projecttask/js/projectDate.js"></script>
<script src="../../libs/vue/vue.js"></script>
<script src="../../js/projecttask/js/projectDate.js"></script>
<script src="../../js/projecttask/calculateTime.js"></script><!--hyh 修改  将路径改为审批内calculateTime.js 2017/10/14 -->
<!-- <script src="../assets/js/searchEvent.js"></script> -->

<script type="text/javascript" src="../../js/projecttask/searchproject.js"></script>
<style>
body {
	padding: 16px;
}

nav span {
	font-size: 14px !important;
}

/*查询*/
.search {
	margin-left: 15px;
	float: left;
}

.search input[type="text"] {
	width: 190px;
	height: 30px;
	padding-left: 8px;
	border: 1px solid #cac8c8;
	border-radius: 2px;
}

label {
	width: 65px; 
	text-align: center;
}

.search select {
	width: 190px;
	height: 30px;
	border: 1px solid #cac8c8;
	border-radius: 2px;
}

.search .btn-info {
	margin-left: -5px;
	box-shadow: none;
	margin-right: 4px;
}

.spandate {
	margin-left: -6px;
	width: 32px;
	height: 30px;
	padding-left: 8px;
	padding-top: 5px;
	border: 1px solid #0096eb;
	border-radius: 2px;
}

.layui-layer-content {
	color: white;
}

input.workinput.wicon.mr25 {
	background-image:
		<%-- url("<%=basePath%>/assets/images/subpage/icon-calendar.png"); --%>
	background-repeat: no-repeat;
	background-position: 175px center;
}

.search label {
	margin-right: 10px;
}

.search button {
	height: 30px;
}

.search input[type="text"] {
	border: 1px solid #cac8c8;
}

.table>tbody>tr:hover {
	background-color: #f2f6fc;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color: #e6e5e5;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #e6e5e5;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #e6e5e5;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #e6e5e5;
}
.bindingAssignee {
	color:#0096eb;
	font-size: 15px;
	position: relative;
	margin-left: -26px;
	margin-top: 6px;
	cursor:pointer;
}
.projectTypes {
	color:#0096eb;
	font-size: 15px;
	position: relative;
	margin-left: -26px;
	margin-top: 6px;
	cursor:pointer;
}
.remove{
    position: absolute;
    color: red;
    font-size: 15px;
    top: 9px;
	right: 55px;
    cursor: pointer;
}
#operationishsow,#export_ecxel,#export_ecxelAll{
	display:none
}
.btn-delete{
	color: #0096eb;
	border: 1px solid #0096eb;
}
.btn-delete:hover {
	color: white;
	background-color: #0096eb;
}

#sreachChange:hover {
	color: white !important;
	background-color: #0096eb !important;
}
</style>
<!--ljy 2017-09-06 添加  -->
<style>
 tr td{
	cursor: pointer;
 }
</style>
</head>
<body>
	<div class="data-operation">
	<div id="operationishsow">
		<div class="div-advanced-search">
			<div class="search">
				<label>登记日期</label> 
				<input id="signStartTime" type="text" placeholder="开始时间"> 
				<span>-</span> 
				<input id="signEndTime" type="text" placeholder="结束时间" />
			</div>
			<%--<div class="search">
				<label>发证日期</label> 
				<input id="dateStartTime" type="text" placeholder="开始时间"> 
				<span>-</span> 
				<input id="dateEndTime" type="text" placeholder="结束时间" />
			</div>--%>
 			<div class="search">
				<label>办结日期</label> 
				<input id="limitStartTime" type="text" placeholder="开始时间" /> 
				<span>-</span> 
				<input id="limitEndTime" type="text" placeholder="结束时间" />
			</div>
			<div class="search">
				<label>经办人</label>
				<input id="bindingAssignee" type="text" style="height: 30px;"/>
			</div>
			<%--<div id="Assignee" class="search" style="position: relative;width:300px;">
				<label style=" margin-right: 20px; width: 55px; ">经办人</label>
				<input id="bindingAssignee" type="text" oninput="valchange(this)" style="padding-right: 38px;"/>
				<a class="glyphicon glyphicon-plus bindingAssignee" title="选择人员" onclick="openSelects()"></a>
			</div>--%>
		</div>
 		<div class="div-advanced-search" style="padding-top: 10px;">
			<div class="search">
				<label>所属部门</label>
				<input id="bindingUnit" type="text" style="height: 30px;"/>
			</div> 	
			<div class="search" style="position: relative;">
				<label style="width: 35px;">状态</label>
				<select id="StatusQuery" style=" width: 145px; " class="selectpicker" onchange="statschange()">
					<option value="所有">所有</option>
					<option value="在办">在办</option>
					<option value="办结">办结</option>
					<option value="退件">退件</option>
					<option value="回退">回退</option>
					<option value="退件办结">退件办结</option>
				</select>
			</div>								
			<div id="optionType" class="search" style="position: relative;width:300px;">
				<label>业务类型</label>
				<input id="projectTypes" type="text" oninput="valchange(this)" style="padding-right: 38px;"/>
				<a class="glyphicon glyphicon-plus projectTypes" title="选择类型" onclick="selectProjecType()"></a>
			</div>
		</div>
	</div> 
		<div class="div-advanced-search" style="padding-top: 10px;">
			<div class="search">
				<label style="margin-left: -10px;">关键字</label> <input id="searchInput"
					placeholder="按项目编号、项目名称、建设单位、建设位置、主办科室搜索"
					style="width: 790px; height: 40px; margin-right: 10px;" type="text"
					value="<%=text%>">
				<button type="button" id="query_bycondition" class="btn btn-info"
					style="margin-right: 12px; margin-top: -5px;height: 40px;" >
					<span class="glyphicon glyphicon-search"></span>查找
				</button>
				<button type="button" id="clean_query" class="btn btn-delete"
					style="margin-top: -5px;height: 40px;">
					<span class="glyphicon glyphicon-repeat"
						style="padding-right: 8px;"></span>重置
				</button>
				<button type="button" id="export_ecxel" class="btn btn-delete"
					style="margin-top: -5px;height: 40px;">
					<span class="glyphicon glyphicon-repeat"
						style="padding-right: 8px;"></span>导出Excel
				</button>
				<button type="button" id="export_ecxelAll" class="btn btn-delete"
					style="margin-top: -5px;height: 40px;">
					<span class="glyphicon glyphicon-repeat"
						style="padding-right: 8px;"></span>导出Excel(全部)
				</button>
				<%--<button type="button" id="openPage"
					style="margin-top: -5px;height: 40px;border-radius: 2px;
					background-color: white;border: 1px solid #0096eb;color: #0096eb;">
					<span style="padding-right: 8px;padding-left: 8px;">打开新页面</span>
				</button>--%>
				<button type="button" id="sreachChange"
					style="margin-top: -5px;height: 40px;border-radius: 2px;
					background-color: white;border: 1px solid #0096eb;color: #0096eb;">
					<span style="padding-right: 8px;padding-left: 8px;" id="content">高级查询</span>
				</button>
			</div>
		</div>
		<div style="clear: both;"></div>
		<div style="border-bottom: 1px solid #cac8c8; margin-top: 20px;"></div>

		<div id="nvaTab" style="visibility:hidden; width:100%">
			<table class="layui-hide" id="dataList" lay-filter="listEvent"></table>
			<div id="page" style="float:right"></div>
		</div>
<!-- 		<div id="nvaTab" class="data-list"
			style="margin-top: 10px; display: none;">
			<div style="width: 100%;" dir="ltr" id="gbox_gridTable"
				class="ui-jqgrid ui-widget ui-widget-content ui-corner-all">

				<div style="width: 100%;" id="gview_gridTable"
					class="ui-jqgrid-view">

					<div class="ui-state-default ui-jqgrid-hdiv" style="width: 100%;">
						<table class="table datatable">

						</table>
					</div>
				</div>
			</div>
			<div class="ui-jqgrid-resize-mark" id="rs_mgridTable">&nbsp;</div>
			<div class="nav-page" id="pageZero">
				<div>
					共<span id="total_records"></span>条,共<span id="total_page"></span>页
				</div>
				<nav style="cursor:pointer;">
				<ul class="pagination">
				</ul>
				</nav>
			</div>
		</div> -->
<!-- 		<div id="msg" style="display: none;">
			<div style="text-align: center; margin-top: 200px; color: #b9b4b4; font-size: 20px;">未搜索到相关信息</div>
		</div> -->
		<div id="msg" style="display: none;position: absolute;top: 50%;left: 50%;">
			<div style="color: #b9b4b4;font-size: 20px;position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);">没有相关数据</div>
		</div>	
		<div>
			<div id="promptDiv"
				style="width: 500px; margin: 0 auto; margin-top: 200px;">
				<img alt="" src="../../image/projecttask/prompt.png"
					style="margin: -15px 10px 0px 0px;"> <span
					style="font-size: 28px; color: #c1c1c1">请于上方输入条件开始查找</span>
			</div>
		</div>
	</div>
</body>
</html>