修改来函,专项任务页面显示,时间查询按照修改时间查询,去掉多余样式
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="pull-left">
|
||||
<label><spring:message code="operate_time"/>:</label>
|
||||
<label><spring:message code="edit_time"/>:</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input id="dobeginDate" name="dobeginDate" type="text" readonly="readonly" maxlength="20" class="form-control input-small Wdate"
|
||||
@@ -160,8 +160,10 @@
|
||||
<th><spring:message code="task_org"></spring:message></th>
|
||||
<th><spring:message code="task_time"></spring:message></th>
|
||||
<th><spring:message code="state"></spring:message></th>
|
||||
<th><spring:message code="operator"></spring:message></th>
|
||||
<th><spring:message code="operate_time"></spring:message></th>
|
||||
<th><spring:message code="creator"></spring:message></th>
|
||||
<th><spring:message code="create_time"></spring:message></th>
|
||||
<th><spring:message code="editor"></spring:message></th>
|
||||
<th><spring:message code="edit_time"></spring:message></th>
|
||||
<th><spring:message code="auditor"></spring:message></th>
|
||||
<th><spring:message code="audit_time"></spring:message></th>
|
||||
</tr>
|
||||
@@ -182,17 +184,9 @@
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>${taskInfo.creatorName }</td>
|
||||
<td>
|
||||
<!-- 编辑时间为空则显示创建时间 -->
|
||||
<c:choose>
|
||||
<c:when test="${empty taskInfo.editTime}">
|
||||
<fmt:formatDate value="${taskInfo.createTime }" pattern="yyyy-MM-dd"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<fmt:formatDate value="${taskInfo.editTime }" pattern="yyyy-MM-dd"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td><fmt:formatDate value="${taskInfo.createTime }" pattern="yyyy-MM-dd"/></td>
|
||||
<td>${taskInfo.editorName }</td>
|
||||
<td><fmt:formatDate value="${taskInfo.editTime }" pattern="yyyy-MM-dd"/></td>
|
||||
<td>${taskInfo.auditorName }</td>
|
||||
<td><fmt:formatDate value="${taskInfo.auditTime }" pattern="yyyy-MM-dd"/></td>
|
||||
</tr>
|
||||
|
||||
@@ -81,16 +81,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.input-medium {
|
||||
width: 200px !important;
|
||||
}
|
||||
.Wdate {
|
||||
border: #c2cad8 1px solid;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="pull-left">
|
||||
<label><spring:message code="operate_time"/>:</label>
|
||||
<label><spring:message code="edit_time"/>:</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input id="dobeginDate" name="dobeginDate" type="text" readonly="readonly" maxlength="20" class="form-control input-small Wdate"
|
||||
@@ -175,11 +175,13 @@
|
||||
<th><spring:message code="request_organization"></spring:message></th>
|
||||
<th><spring:message code="request_time"></spring:message></th>
|
||||
<th><spring:message code="state"></spring:message></th>
|
||||
<th><spring:message code="operator"></spring:message></th>
|
||||
<th><spring:message code="operate_time"></spring:message></th>
|
||||
<th><spring:message code="title"></spring:message></th>
|
||||
<th><spring:message code="content"></spring:message></th>
|
||||
<th><spring:message code="special_task"></spring:message></th>
|
||||
<th><spring:message code="creator"/></th>
|
||||
<th><spring:message code="create_time"/></th>
|
||||
<th><spring:message code="editor"/></th>
|
||||
<th><spring:message code="edit_time"/></th>
|
||||
<th><spring:message code="auditor"></spring:message></th>
|
||||
<th><spring:message code="audit_time"></spring:message></th>
|
||||
</tr>
|
||||
@@ -199,21 +201,13 @@
|
||||
<c:when test="${requestInfo.isAudit eq '2'}"><span class="label label-warning"><spring:message code="unapproved"></spring:message></span></c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>${requestInfo.creatorName }</td>
|
||||
<td>
|
||||
<!-- 编辑时间为空则显示创建时间 -->
|
||||
<c:choose>
|
||||
<c:when test="${empty requestInfo.editTime}">
|
||||
<fmt:formatDate value="${requestInfo.createTime }" pattern="yyyy-MM-dd"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<fmt:formatDate value="${requestInfo.editTime }" pattern="yyyy-MM-dd"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>${requestInfo.requestTitle }</td>
|
||||
<td>${requestInfo.requestContent }</td>
|
||||
<td>${requestInfo.taskName }</td>
|
||||
<td>${requestInfo.creatorName }</td>
|
||||
<td><fmt:formatDate value="${requestInfo.createTime }" pattern="yyyy-MM-dd"/></td>
|
||||
<td>${requestInfo.editorName }</td>
|
||||
<td><fmt:formatDate value="${requestInfo.editTime }" pattern="yyyy-MM-dd"/></td>
|
||||
<td>${requestInfo.auditorName }</td>
|
||||
<td><fmt:formatDate value="${requestInfo.auditTime }" pattern="yyyy-MM-dd"/></td>
|
||||
</tr>
|
||||
@@ -268,11 +262,20 @@
|
||||
|
||||
function resetx(){
|
||||
// $("#searchForm").reset();
|
||||
$(':input','#searchForm')
|
||||
.not(':button,:submit,:reset,:hidden')
|
||||
.val('')
|
||||
.removeAttr('checked')
|
||||
.removeAttr('selected');
|
||||
// $(':input','#searchForm')
|
||||
// .not(':button,:submit,:reset,:hidden')
|
||||
// .val('')
|
||||
// .removeAttr('checked')
|
||||
// .removeAttr('selected');
|
||||
$("select.selectpicker").each(function(){
|
||||
$(this).selectpicker('val',$(this).find('option:first').val());
|
||||
$(this).find("option").attr("selected",false);
|
||||
$(this).find("option:first").attr("selected",true);
|
||||
});
|
||||
$(".Wdate").attr("value",'');
|
||||
$("#searchForm")[0].reset();
|
||||
$("#intype").attr("placeholder","<spring:message code='input'/> "+"<spring:message code='title'/>");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user