|
|
|
|
@@ -10,67 +10,167 @@
|
|
|
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
|
<div class="theme-panel hidden-xs hidden-sm">
|
|
|
|
|
<button type="button" class="btn btn-default" onclick="location='${ctx}/cfg/request/list'"><spring:message code="refresh"></spring:message></button>
|
|
|
|
|
<button type="button" class="btn btn-primary"
|
|
|
|
|
onClick="javascript:window.location='${ctx}/cfg/request/form'"><spring:message code="add"></spring:message></button>
|
|
|
|
|
onClick="javascript:window.location='${ctx}/cfg/request/form'">
|
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
|
<spring:message code="add"></spring:message><spring:message code="requestInfo"></spring:message></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h3 class="page-title">
|
|
|
|
|
<spring:message code="requestInfo"></spring:message>
|
|
|
|
|
<small><spring:message code="date_list"/></small>
|
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
<h5 class="page-header"></h5>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="portlet box blue">
|
|
|
|
|
<div class="portlet-title">
|
|
|
|
|
<div class="caption">
|
|
|
|
|
<i class="fa fa-cogs"></i><spring:message code="date_list"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="portlet">
|
|
|
|
|
|
|
|
|
|
<div class="portlet-body">
|
|
|
|
|
|
|
|
|
|
<div class="row" >
|
|
|
|
|
<form:form id="searchForm" modelAttribute="requestInfo" action="${ctx}/cfg/request/list" method="post" class="form-search">
|
|
|
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
|
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<spring:message code="state"/> : <form:select path="isAudit" class="select2">
|
|
|
|
|
<form:option value=""><spring:message code="select"></spring:message></form:option>
|
|
|
|
|
<form:option value="0"><spring:message code="created"></spring:message></form:option>
|
|
|
|
|
<form:option value="1"><spring:message code="approved"></spring:message></form:option>
|
|
|
|
|
</form:select>
|
|
|
|
|
<form:form id="searchForm" modelAttribute="requestInfo" action="${ctx}/cfg/request/list" method="post" class="form-search">
|
|
|
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
|
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
|
|
|
|
|
|
|
|
<select id="seltype">
|
|
|
|
|
<option value=""><spring:message code="select"></spring:message></option>
|
|
|
|
|
<option value="requestTitle"><spring:message code="title"></spring:message></option>
|
|
|
|
|
<option value="requestNumber"><spring:message code="request_number"></spring:message></option>
|
|
|
|
|
<option value="requestContent"><spring:message code="content"></spring:message></option>
|
|
|
|
|
</select> <input id="intype">
|
|
|
|
|
|
|
|
|
|
<form:select path="timeType">
|
|
|
|
|
<form:option value=""><spring:message code="select"></spring:message></form:option>
|
|
|
|
|
<form:option value="requestTime"><spring:message code="request_time"></spring:message></form:option>
|
|
|
|
|
<form:option value="createTime"><spring:message code="operate_time"></spring:message></form:option>
|
|
|
|
|
</form:select>
|
|
|
|
|
<!-- 筛选按钮展开状态-->
|
|
|
|
|
<input id="isFilterAction" name="isFilterAction" type="hidden" value="${requestInfo.isFilterAction }"/>
|
|
|
|
|
|
|
|
|
|
<spring:message code="begin_date"></spring:message> : <input id="beginDate" name="beginDate" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
|
|
|
|
|
value="<fmt:formatDate value="${requestInfo.beginDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/>
|
|
|
|
|
<spring:message code="end_date"></spring:message> : <input id="endDate" name="endDate" type="text" readonly="readonly" maxlength="20" class="input-medium Wdate"
|
|
|
|
|
value="<fmt:formatDate value="${requestInfo.endDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/>
|
|
|
|
|
<button type="button" class="btn btn-default btn-sm" onclick="return page()">
|
|
|
|
|
<i class="fa fa-edit"></i><spring:message code="search"></spring:message>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form:form>
|
|
|
|
|
<!-- 搜索内容与操作按钮栏 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<form:select path="isAudit" class="selectpicker select2 input-small" >
|
|
|
|
|
<form:option value="">所有状态</form:option>
|
|
|
|
|
<form:option value="0"><spring:message code="created"></spring:message></form:option>
|
|
|
|
|
<form:option value="1"><spring:message code="approved"></spring:message></form:option>
|
|
|
|
|
</form:select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<select id="seltype" class="selectpicker select2 input-small" >
|
|
|
|
|
<option value="requestTitle"><spring:message code="title"></spring:message></option>
|
|
|
|
|
<option value="requestNumber"><spring:message code="request_number"></spring:message></option>
|
|
|
|
|
<option value="requestContent"><spring:message code="content"></spring:message></option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<input id="intype" class="form-control input-medium" placeholder="请输入标题" type="text">
|
|
|
|
|
|
|
|
|
|
<div class="input-group-btn">
|
|
|
|
|
<button class="btn btn-default btn-search" type="button" onclick="page()"><i class="fa fa-search"></i></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<button type="button" class="btn btn-default" id="filter-btn"> 筛选 <i class="fa fa-angle-double-down"></i></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="pull-right">
|
|
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-default">
|
|
|
|
|
<i class="fa fa-edit"></i> 编辑</button>
|
|
|
|
|
<button type="button" class="btn btn-default">
|
|
|
|
|
<i class="fa fa-trash"></i> 删除</button>
|
|
|
|
|
<!-- <button type="button" class="btn btn-default">
|
|
|
|
|
<i class="fa fa-download"></i> 导出</button> -->
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
|
|
|
<i class="fa fa-wrench"></i> 审核
|
|
|
|
|
<i class="fa fa-angle-down"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<ul class="dropdown-menu pull-right">
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="passOpt()"><i class="fa fa-check"></i> 通过</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="noPassOpt()"><i class="fa fa-remove"></i> 未通过</a></li>
|
|
|
|
|
<li><a href="javascript:void(0);" onclick="cancelPassOpt()"><i class="fa fa-undo"></i> 配置取消</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<a class="btn btn-icon-only btn-default setfields tooltips"
|
|
|
|
|
data-container="body" data-placement="top" data-original-title="自定义列字段" href="javascript:;">
|
|
|
|
|
<i class="icon-wrench"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!-- /搜索内容与操作按钮栏-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 筛选搜索内容栏默认隐藏-->
|
|
|
|
|
<div class="col-md-12 filter-action-select-panle hide" >
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<label>来函时间:</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<input id="beginDate" name="beginDate" type="text" readonly="readonly" maxlength="20" class="form-control input-small Wdate"
|
|
|
|
|
value="<fmt:formatDate value="${requestInfo.beginDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<label>到</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<input id="endDate" name="endDate" type="text" readonly="readonly" maxlength="20" class="form-control input-small Wdate"
|
|
|
|
|
value="<fmt:formatDate value="${requestInfo.endDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<label>操作时间:</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<input id="beginDate" name="beginDate" type="text" readonly="readonly" maxlength="20" class="form-control input-small Wdate"
|
|
|
|
|
value="<fmt:formatDate value="${requestInfo.beginDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<label>到</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<input id="endDate" name="endDate" type="text" readonly="readonly" maxlength="20" class="form-control input-small Wdate"
|
|
|
|
|
value="<fmt:formatDate value="${requestInfo.endDate}" pattern="yyyy-MM-dd"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:true});"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="page-header"></h5>
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
<div class="pull-left">
|
|
|
|
|
<button type="button" class="btn blue" onclick="page()"> <i class="fa fa-search"></i> 搜索 </button>
|
|
|
|
|
<button type="button" class="btn btn-default" onclick="reset()"> <i class="fa fa-refresh"></i> 重置 </button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- /筛选搜索内容栏 结束-->
|
|
|
|
|
|
|
|
|
|
</form:form>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="table-responsive"> -->
|
|
|
|
|
<sys:message content="${message}"/>
|
|
|
|
|
<table id="contentTable" class="table table-striped table-bordered table-condensed">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th><input type="checkbox" class="ckboxs"></th>
|
|
|
|
|
<th><spring:message code="seq"></spring:message></th>
|
|
|
|
|
<th><spring:message code="request_number"></spring:message></th>
|
|
|
|
|
<th><spring:message code="request_organization"></spring:message></th>
|
|
|
|
|
@@ -87,6 +187,7 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<c:forEach items="${page.list}" var="requestInfo">
|
|
|
|
|
<tr>
|
|
|
|
|
<td><input type="checkbox" class="ckbox"></td>
|
|
|
|
|
<td>${requestInfo.id }</td>
|
|
|
|
|
<td>${requestInfo.requestNumber }</td>
|
|
|
|
|
<td>${requestInfo.requestOrg }</td>
|
|
|
|
|
@@ -114,7 +215,7 @@
|
|
|
|
|
<td>${requestInfo.requestContent }</td>
|
|
|
|
|
<td>${requestInfo.taskName }</td>
|
|
|
|
|
<td>
|
|
|
|
|
<div class="btn-group btn-xs">
|
|
|
|
|
<%-- <div class="btn-group btn-xs">
|
|
|
|
|
<a class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown" href="#"><spring:message code="operation"></spring:message><span class="caret"></span></a>
|
|
|
|
|
<ul class="dropdown-menu btn-xs">
|
|
|
|
|
<!-- 审核未通过可修改 -->
|
|
|
|
|
@@ -122,14 +223,20 @@
|
|
|
|
|
<c:when test="${requestInfo.isAudit eq '1'}">
|
|
|
|
|
<li><a href="${ctx}/cfg/request/requestCancelExamine?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="cancel"></spring:message></a></li>
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:when test="${requestInfo.isAudit ne '2'}">
|
|
|
|
|
<li><a href="${ctx}/cfg/request/requestExamineNo?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="unapproved"></spring:message></a></li>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/requestExamine?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="approved"></spring:message></a></li>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/form?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="edit"></spring:message></a></li>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/delete?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="delete"></spring:message></a></li>
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/requestExamine?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="examine"></spring:message></a></li>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/requestExamine?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="approved"></spring:message></a></li>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/form?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="edit"></spring:message></a></li>
|
|
|
|
|
<li><a href="${ctx}/cfg/request/delete?id=${requestInfo.id}" onclick="return confirmx('<spring:message code="confirm_message"/>', this.href)"><spring:message code="delete"></spring:message></a></li>
|
|
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div> --%>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
@@ -145,9 +252,26 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
|
|
//筛选功能初始化
|
|
|
|
|
filterActionInit();
|
|
|
|
|
|
|
|
|
|
$("#isAudit").change(function(){
|
|
|
|
|
page();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#seltype").change(function(){
|
|
|
|
|
$("#intype").attr("placeholder","请输入"+$(this).find("option:selected").text());
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function reset(){
|
|
|
|
|
$("#searchForm").reset();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//查询
|
|
|
|
|
function page(n,s){
|
|
|
|
|
$("#intype").attr("name",$("#seltype").val());
|
|
|
|
|
@@ -160,19 +284,6 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
.input-medium {
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
.Wdate {
|
|
|
|
|
border: #c2cad8 1px solid;
|
|
|
|
|
height: 26px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
|
min-width: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|