|  | @@ -0,0 +1,216 @@
 | 
	
		
			
				|  |  | +<%@ page contentType="text/html;charset=UTF-8" %>
 | 
	
		
			
				|  |  | +<%@ include file="/webpage/include/taglib.jsp"%>
 | 
	
		
			
				|  |  | +<html>
 | 
	
		
			
				|  |  | +<head>
 | 
	
		
			
				|  |  | +	<title>午餐预定人管理</title>
 | 
	
		
			
				|  |  | +	<meta name="decorator" content="default"/>
 | 
	
		
			
				|  |  | +	<script type="text/javascript">
 | 
	
		
			
				|  |  | +        $(document).ready(function() {
 | 
	
		
			
				|  |  | +            //搜索框收放
 | 
	
		
			
				|  |  | +            $('#moresee').click(function(){
 | 
	
		
			
				|  |  | +                if($('#moresees').is(':visible'))
 | 
	
		
			
				|  |  | +                {
 | 
	
		
			
				|  |  | +                    $('#moresees').slideUp(0,resizeListWindow2);
 | 
	
		
			
				|  |  | +                    $('#moresee i').removeClass("glyphicon glyphicon-menu-up").addClass("glyphicon glyphicon-menu-down");
 | 
	
		
			
				|  |  | +                }else{
 | 
	
		
			
				|  |  | +                    $('#moresees').slideDown(0,resizeListWindow2);
 | 
	
		
			
				|  |  | +                    $('#moresee i').removeClass("glyphicon glyphicon-menu-down").addClass("glyphicon glyphicon-menu-up");
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +        function reset() {
 | 
	
		
			
				|  |  | +            $("#searchForm").resetForm();
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        window.onload=function(){
 | 
	
		
			
				|  |  | +            $('#department').html('<option value="${department}">${department}</option>')
 | 
	
		
			
				|  |  | +            $('#specific').html('<option value="${specific}">${specific}</option>')
 | 
	
		
			
				|  |  | +            layui.form.render("select");
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +	</script>
 | 
	
		
			
				|  |  | +	<style>
 | 
	
		
			
				|  |  | +		body{
 | 
	
		
			
				|  |  | +			background-color:transparent;
 | 
	
		
			
				|  |  | +			filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#26FFFFFF, endColorstr=#26FFFFFF);
 | 
	
		
			
				|  |  | +			color:#ffffff;
 | 
	
		
			
				|  |  | +			background-color:rgba(255,255,255,0);
 | 
	
		
			
				|  |  | +			height:100%;
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  | +	</style>
 | 
	
		
			
				|  |  | +</head>
 | 
	
		
			
				|  |  | +<body>
 | 
	
		
			
				|  |  | +<div class="wrapper wrapper-content">
 | 
	
		
			
				|  |  | +	<sys:message content="${message}"/>
 | 
	
		
			
				|  |  | +	<div class="layui-row">
 | 
	
		
			
				|  |  | +		<div class="full-width fl">
 | 
	
		
			
				|  |  | +			<div class="layui-row contentShadow shadowLR" id="queryDiv">
 | 
	
		
			
				|  |  | +				<form:form id="searchForm" modelAttribute="theOrder" action="${ctx}/wexin/theOrderInformation/" method="post" class="form-inline layui-form">
 | 
	
		
			
				|  |  | +					<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
 | 
	
		
			
				|  |  | +					<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
 | 
	
		
			
				|  |  | +					<table:sortColumn id="orderBy" name="orderBy" value="${page.orderBy}" callback="sortOrRefresh();"/>
 | 
	
		
			
				|  |  | +					<div class="commonQuery lw6">
 | 
	
		
			
				|  |  | +						<div  class="layui-item query athird ">
 | 
	
		
			
				|  |  | +							<label class="layui-form-label">团队</label>
 | 
	
		
			
				|  |  | +							<div class="layui-input-block with-icon">
 | 
	
		
			
				|  |  | +								<select name="team" id="team" lay-verify="required" lay-filter="cityfilter">
 | 
	
		
			
				|  |  | +									<option value=""></option>
 | 
	
		
			
				|  |  | +									<option value="潘中" <c:if test="${team=='潘中'}">selected</c:if>>潘中</option>
 | 
	
		
			
				|  |  | +									<option value="盛小兰" <c:if test="${team=='盛小兰'}">selected</c:if>>盛小兰</option>
 | 
	
		
			
				|  |  | +									<option value="王春生" <c:if test="${team=='王春生'}">selected</c:if>>王春生</option>
 | 
	
		
			
				|  |  | +									<option value="其他" <c:if test="${team=='其他'}">selected</c:if>>其他</option>
 | 
	
		
			
				|  |  | +								</select>
 | 
	
		
			
				|  |  | +							</div>
 | 
	
		
			
				|  |  | +						</div>
 | 
	
		
			
				|  |  | +						<div  class="layui-item query athird ">
 | 
	
		
			
				|  |  | +							<label class="layui-form-label">部门</label>
 | 
	
		
			
				|  |  | +							<div class="layui-input-block">
 | 
	
		
			
				|  |  | +								<select name="department" id="department" lay-verify="required" lay-filter="quyufilter"></select>
 | 
	
		
			
				|  |  | +							</div>
 | 
	
		
			
				|  |  | +						</div>
 | 
	
		
			
				|  |  | +						<div class="layui-item athird">
 | 
	
		
			
				|  |  | +							<div class="input-group">
 | 
	
		
			
				|  |  | +								<a href="#" id="moresee"><i class="glyphicon glyphicon-menu-down"></i></a>
 | 
	
		
			
				|  |  | +								<button id="searchReset" class="fixed-btn searchReset fr" onclick="resetSearch()">重置</button>
 | 
	
		
			
				|  |  | +								<button id="searchQuery" class="fixed-btn searchQuery fr" onclick="search()">查询</button>
 | 
	
		
			
				|  |  | +							</div>
 | 
	
		
			
				|  |  | +						</div>
 | 
	
		
			
				|  |  | +						<div style="    clear:both;"></div>
 | 
	
		
			
				|  |  | +						<div id="moresees" class="lw7" style="clear:both;display:none;height: 70px;">
 | 
	
		
			
				|  |  | +							<div  class="layui-item query athird ">
 | 
	
		
			
				|  |  | +								<label class="layui-form-label">具体部门</label>
 | 
	
		
			
				|  |  | +								<div class="layui-input-block">
 | 
	
		
			
				|  |  | +									<select name="specific" id="specific" lay-verify="required" lay-filter="specificfilter"></select>
 | 
	
		
			
				|  |  | +								</div>
 | 
	
		
			
				|  |  | +							</div>
 | 
	
		
			
				|  |  | +						</div>
 | 
	
		
			
				|  |  | +					</div>
 | 
	
		
			
				|  |  | +				</form:form>
 | 
	
		
			
				|  |  | +			</div>
 | 
	
		
			
				|  |  | +		</div>
 | 
	
		
			
				|  |  | +		<div class="full-width fl">
 | 
	
		
			
				|  |  | +			<div class="layui-form contentDetails contentShadow shadowLBR">
 | 
	
		
			
				|  |  | +				<div class="nav-btns">
 | 
	
		
			
				|  |  | +					<shiro:hasPermission name="wexin:theorderinformation:export">
 | 
	
		
			
				|  |  | +						<table:exportExcel url="${ctx}/wexin/theOrderInformation/export"></table:exportExcel><!-- 导出按钮 -->
 | 
	
		
			
				|  |  | +					</shiro:hasPermission>
 | 
	
		
			
				|  |  | +					<button class="nav-btn nav-btn-refresh" data-toggle="tooltip" data-placement="left" onclick="sortOrRefresh()" title="刷新"><i class="glyphicon glyphicon-repeat"></i> 刷新</button>
 | 
	
		
			
				|  |  | +					<div style="clear: both;"></div>
 | 
	
		
			
				|  |  | +				</div>
 | 
	
		
			
				|  |  | +				<table class="oa-table layui-table" id="contentTable1"></table>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +				<!-- 分页代码 -->
 | 
	
		
			
				|  |  | +				<table:page page="${page}"></table:page>
 | 
	
		
			
				|  |  | +				<div style="clear: both;"></div>
 | 
	
		
			
				|  |  | +			</div>
 | 
	
		
			
				|  |  | +		</div>
 | 
	
		
			
				|  |  | +	</div>
 | 
	
		
			
				|  |  | +	<div id="changewidth"></div>
 | 
	
		
			
				|  |  | +</div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +<script src="${ctxStatic}/layer-v2.3/layui/layui.all.js" charset="utf-8"></script>
 | 
	
		
			
				|  |  | +<script>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    layui.use(['table','form'], function(){
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        var form = layui.form;
 | 
	
		
			
				|  |  | +        layui.form.on('select(cityfilter)',function(data) {
 | 
	
		
			
				|  |  | +                if (data.value == "") {
 | 
	
		
			
				|  |  | +                    $('#department').html('<option value="">请选择部门</option>');
 | 
	
		
			
				|  |  | +                    layui.form.render("select");
 | 
	
		
			
				|  |  | +                } else {
 | 
	
		
			
				|  |  | +                    if (data.value == "潘中") {
 | 
	
		
			
				|  |  | +                        $('#department').html('<option value="">请选择部门</option>')
 | 
	
		
			
				|  |  | +						$('#department').append(new Option("财务", "财务"));
 | 
	
		
			
				|  |  | +                        $('#department').append(new Option("工程", "工程"));
 | 
	
		
			
				|  |  | +                        $('#department').append(new Option("管理咨询", "管理咨询"));
 | 
	
		
			
				|  |  | +                        $('#department').append(new Option("资产评估", "资产评估"));
 | 
	
		
			
				|  |  | +                        $('#department').append(new Option("其他", "其他"));
 | 
	
		
			
				|  |  | +                    } else if (data.value == "盛小兰") {
 | 
	
		
			
				|  |  | +                        $('#department').html('<option value="">请选择部门</option>')
 | 
	
		
			
				|  |  | +                    } else if (data.value == "王春生") {
 | 
	
		
			
				|  |  | +                        $('#department').html('<option value="">请选择部门</option>')
 | 
	
		
			
				|  |  | +                    } else if (data.value == "其他") {
 | 
	
		
			
				|  |  | +                        $('#department').html('<option value="">请选择部门</option>')
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                    layui.form.render("select");
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        layui.form.on('select(quyufilter)',function(data) {
 | 
	
		
			
				|  |  | +            if (data.value == "") {
 | 
	
		
			
				|  |  | +                $('#specific').html('<option value="">请选择具体部门</option>');
 | 
	
		
			
				|  |  | +                layui.form.render("select");
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  | +                if (data.value == "财务") {
 | 
	
		
			
				|  |  | +                    $('#specific').html('<option value="">请选择具体部门</option>')
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("审计部", "审计部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("证券一部", "证券一部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("证券二部", "证券二部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("证券三部", "证券三部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("其他", "其他"));
 | 
	
		
			
				|  |  | +                } else if (data.value == "工程") {
 | 
	
		
			
				|  |  | +                    $('#specific').html('<option value="">请选择具体部门</option>')
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("工程一部", "工程一部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("工程二部", "工程二部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("工程三部", "工程三部"));
 | 
	
		
			
				|  |  | +                    $('#specific').append(new Option("其他", "其他"));
 | 
	
		
			
				|  |  | +                } else if (data.value == "管理咨询") {
 | 
	
		
			
				|  |  | +                    $('#specific').html('<option value="">请选择具体部门</option>')
 | 
	
		
			
				|  |  | +                } else if (data.value == "资产评估") {
 | 
	
		
			
				|  |  | +                    $('#specific').html('<option value="">请选择具体部门</option>')
 | 
	
		
			
				|  |  | +                } else if (data.value == "其他") {
 | 
	
		
			
				|  |  | +                    $('#specific').html('<option value="">请选择具体部门</option>')
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                layui.form.render("select");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        layui.table.render({
 | 
	
		
			
				|  |  | +            limit:${ page.pageSize }
 | 
	
		
			
				|  |  | +            ,elem: '#contentTable1'
 | 
	
		
			
				|  |  | +            ,page: false
 | 
	
		
			
				|  |  | +            ,cols: [[
 | 
	
		
			
				|  |  | +                {field:'index',align:'center', title: '序号',width:40}
 | 
	
		
			
				|  |  | +                ,{field:'name', align:'center',title: '姓名',minWidth:100,templet:function(d){
 | 
	
		
			
				|  |  | +                        return "<span title='"+ d.name +"'>" + d.name + "</span>";
 | 
	
		
			
				|  |  | +                    }}
 | 
	
		
			
				|  |  | +                ,{field:'team', align:'center',title: '团队',minWidth:100,templet:function(d){
 | 
	
		
			
				|  |  | +                        return "<span title='"+ d.team +"'>" + d.team + "</span>";
 | 
	
		
			
				|  |  | +                    }}
 | 
	
		
			
				|  |  | +                ,{field:'department', align:'center',title: '部门',minWidth:100,templet:function(d){
 | 
	
		
			
				|  |  | +                        return "<span title='"+ d.department +"'>" + d.department + "</span>";
 | 
	
		
			
				|  |  | +                    }}
 | 
	
		
			
				|  |  | +                ,{field:'createDate',align:'center', title: '创建时间',  width:180}
 | 
	
		
			
				|  |  | +            ]]
 | 
	
		
			
				|  |  | +            ,data: [
 | 
	
		
			
				|  |  | +                <c:if test="${ not empty page.list}">
 | 
	
		
			
				|  |  | +                <c:forEach items="${page.list}" var="theOrder" varStatus="index">
 | 
	
		
			
				|  |  | +                <c:if test="${index.index != 0}">,</c:if>
 | 
	
		
			
				|  |  | +                {
 | 
	
		
			
				|  |  | +                    "index":"${index.index+1}"
 | 
	
		
			
				|  |  | +                    ,"id":"${theOrder.id}"
 | 
	
		
			
				|  |  | +                    ,"name":"${theOrder.name}"
 | 
	
		
			
				|  |  | +                    ,"team":"${theOrder.team}"
 | 
	
		
			
				|  |  | +                    ,"department":"${theOrder.department}"
 | 
	
		
			
				|  |  | +                    ,"createDate":"<fmt:formatDate value="${theOrder.createDate}" pattern="yyyy-MM-dd HH:ss:mm"/>"
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                </c:forEach>
 | 
	
		
			
				|  |  | +                </c:if>
 | 
	
		
			
				|  |  | +            ]
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    resizeListTable();
 | 
	
		
			
				|  |  | +    $("a").on("click",addLinkVisied);
 | 
	
		
			
				|  |  | +</script>
 | 
	
		
			
				|  |  | +<script>
 | 
	
		
			
				|  |  | +    resizeListWindow2();
 | 
	
		
			
				|  |  | +    $(window).resize(function(){
 | 
	
		
			
				|  |  | +        resizeListWindow2();
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +</script>
 | 
	
		
			
				|  |  | +</body>
 | 
	
		
			
				|  |  | +</html>
 |