|
@@ -0,0 +1,212 @@
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
+<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>咨询项目一览表</title>
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
+ <style>
|
|
|
+ .op-btn.op-btn-invalid{
|
|
|
+ background:#f0ad4e ;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+ <%@include file="/webpage/include/treetable.jsp" %>
|
|
|
+ <script type="text/javascript">
|
|
|
+ var validateForm;
|
|
|
+ $(document).ready(function() {
|
|
|
+ validateForm = $("#inputForm").validate({
|
|
|
+ submitHandler: function(form){
|
|
|
+ loading('正在提交,请稍等...');
|
|
|
+ form.submit();
|
|
|
+ },
|
|
|
+ rules:{
|
|
|
+ number:{
|
|
|
+ required:true
|
|
|
+ },
|
|
|
+ businessType:{
|
|
|
+ required:true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ messages:{
|
|
|
+ },
|
|
|
+ errorContainer: "#messageBox",
|
|
|
+ errorPlacement: function(error, element) {
|
|
|
+ $("#messageBox").text("输入有误,请先更正。");
|
|
|
+ if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
|
|
|
+ error.appendTo(element.parent().parent());
|
|
|
+ } else {
|
|
|
+ error.insertAfter(element);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ //搜索框收放
|
|
|
+ $('#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");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ </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="ruralProjectReportInfo" action="${ctx}/ruralCostProjectReport/ruralCostProjectReport/list" method="post" class="form-inline">
|
|
|
+ <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 lw7">
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">年份:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:select path="year" class="form-control simple-select">
|
|
|
+ <form:option value="" label=""/>
|
|
|
+ <c:forEach items="${yearList}" var="year">
|
|
|
+ <option value="${year}" <c:if test="${yearValue==year}">selected</c:if> >${year}</option>
|
|
|
+ </c:forEach>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">月份:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:select path="month" class="form-control simple-select">
|
|
|
+ <form:option value="" label=""/>
|
|
|
+ <c:forEach items="${monthList}" var="month">
|
|
|
+ <option value="${month}" <c:if test="${monthValue==month}">selected</c:if> >${month}</option>
|
|
|
+ </c:forEach>
|
|
|
+ </form: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>
|
|
|
+ <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 with-icon">
|
|
|
+ <sys:treeselect id="create" name="createId" value="${createId}" labelName="createNameStr" labelValue="${createName}"
|
|
|
+ title="用户" url="/sys/office/treeDataAll?type=3" cssClass="form-control required layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item query athird">
|
|
|
+ <label class="layui-form-label">委托单位:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <form:input path="clientName" htmlEscape="false" maxlength="255" class=" form-control layui-input"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form:form>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="full-width fl">
|
|
|
+ <div class="contentShadow layui-form contentDetails">
|
|
|
+ <div class="nav-btns">
|
|
|
+ <table:exportExcel url="${ctx}/ruralCostProjectReport/ruralCostProjectReport/export"></table:exportExcel><!-- 导出按钮 -->
|
|
|
+ <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', function(){
|
|
|
+ layui.table.render({
|
|
|
+ limit:${ page.pageSize }
|
|
|
+ ,elem: '#contentTable1'
|
|
|
+ ,page: false
|
|
|
+ ,cols: [[
|
|
|
+ // {checkbox: true, fixed: true},
|
|
|
+ {field:'index',align:'center', title: '序号',width:40}
|
|
|
+ ,{field:'year',align:'center', sort:true,title: '年份'}
|
|
|
+ ,{field:'month',align:'center', sort:true,title: '月份'}
|
|
|
+ ,{field:'clientName',align:'center', title: '委托单位'}
|
|
|
+ ,{field:'projectName',align:'center', title: '项目名称',minWidth:200,templet:function(d){
|
|
|
+ return "<a class=\"attention-info\" title=\""+d.projectName+"\" href=\"javascript:void(0);\" onclick=\"openDialogView('查看项目信息', '${ctx}/ruralProject/ruralProjectRecords/view?id=" + d.id + "','95%', '95%')\">" + d.projectName + "</a>";
|
|
|
+ }}
|
|
|
+ ,{field:'projectId', align:'center',minWidth:110,title: '项目编号'}
|
|
|
+ ,{field:'reportNum',align:'center',minWidth:150, title: '报告号'}
|
|
|
+ ,{field:'filesNum',align:'center',minWidth:150, title: '案卷号'}
|
|
|
+ ,{field:'areaName',align:'center', title: '项目所在地'}
|
|
|
+ ,{field:'reviewFee',align:'center',minWidth:100, title: '送审金额(元)'}
|
|
|
+ ,{field:'approvalFee',align:'center',minWidth:100, title: '审定金额(元)'}
|
|
|
+ ,{field:'verifyFee',align:'center',minWidth:120, title: '核增核减额(元)'}
|
|
|
+ ,{field:'verifyRate',align:'center',minWidth:120, title: '核增核减率(%)'}
|
|
|
+ ,{field:'principalUser',align:'center', title: '项目负责人'}
|
|
|
+ ,{field:'officeName',align:'center', title: '所属部门'}
|
|
|
+
|
|
|
+
|
|
|
+ ]]
|
|
|
+ ,data: [
|
|
|
+ <c:if test="${ not empty page.list}">
|
|
|
+ <c:forEach items="${page.list}" var="workContractInfo" varStatus="index">
|
|
|
+ <c:if test="${index.index != 0}">,</c:if>
|
|
|
+ {
|
|
|
+ "index":"${index.index+1}"
|
|
|
+ ,"id":"${workContractInfo.id}"
|
|
|
+ ,"year":"${workContractInfo.year}"
|
|
|
+ ,"month":"${workContractInfo.month}"
|
|
|
+ ,"clientName":"${workContractInfo.clientName}"
|
|
|
+ ,"projectName":"${workContractInfo.projectName}"
|
|
|
+ ,"projectId":"${workContractInfo.projectId}"
|
|
|
+ ,"reportNum":"${workContractInfo.reportNum}"
|
|
|
+ ,"filesNum":"${workContractInfo.filesNum}"
|
|
|
+ ,"areaName":"${workContractInfo.areaName}"
|
|
|
+ ,"reviewFee":"${workContractInfo.reviewFee}"
|
|
|
+ ,"approvalFee":"${workContractInfo.approvalFee}"
|
|
|
+ ,"verifyFee":"${workContractInfo.verifyFee}"
|
|
|
+ ,"verifyRate":"${workContractInfo.verifyRate}"
|
|
|
+ ,"principalUser":"${workContractInfo.principalUser}"
|
|
|
+ ,"officeName":"${workContractInfo.officeName}"
|
|
|
+ }
|
|
|
+ </c:forEach>
|
|
|
+ </c:if>
|
|
|
+ ]
|
|
|
+ // ,even: true
|
|
|
+ // ,height: 315
|
|
|
+ });
|
|
|
+
|
|
|
+ })
|
|
|
+
|
|
|
+ resizeListTable();
|
|
|
+</script>
|
|
|
+<script>
|
|
|
+ resizeListWindow2();
|
|
|
+ $(window).resize(function(){
|
|
|
+ resizeListWindow2();
|
|
|
+ });
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|