|
@@ -33,7 +33,13 @@
|
|
|
function edit(data){
|
|
|
location.href=$.app+"/hxhbtjpro/edit?id="+data;
|
|
|
}
|
|
|
-
|
|
|
+ function toExport(){
|
|
|
+ var dq = document.getElementById('dq').value;
|
|
|
+ var rq = document.getElementById('rq').value;
|
|
|
+ var url = $.app+"/hxhbtjpro/export?dq="+dq+"&rq="+rq;
|
|
|
+ $("#hxhbtjproform2").attr('action',url);
|
|
|
+ $("#hxhbtjproform2").submit();
|
|
|
+ }
|
|
|
function saveMain(){
|
|
|
if(isEmpty($('#rq').val())){
|
|
|
$.alert({
|
|
@@ -156,18 +162,21 @@
|
|
|
<td>
|
|
|
<input class="Wdate" id="rq" name="rq" value="${rq }" type="text" onFocus="WdatePicker({lang:'zh-cn',skin:'default',dateFmt:'yyyy-MM'})">
|
|
|
</td>
|
|
|
- <td class="right" >
|
|
|
+ <td class="right" style="width:40%">
|
|
|
<a class="btn btn-default btn-sm" href="#" onclick="searchMain()">
|
|
|
<i class="glyphicon glyphicon-search"></i>查询
|
|
|
</a>
|
|
|
<c:if test="${dq == null}">
|
|
|
<a class="btn btn-default btn-sm" href="#" onclick="tjMain()">
|
|
|
- <i class="glyphicon glyphicon-list-alt"></i>统计
|
|
|
- </a>
|
|
|
+ <i class="glyphicon glyphicon-list-alt"></i>统计
|
|
|
+ </a>
|
|
|
<a class="btn btn-default btn-sm" href="#" onclick="saveMain()">
|
|
|
- <i class="glyphicon glyphicon-floppy-disk"></i>保存
|
|
|
- </a>
|
|
|
+ <i class="glyphicon glyphicon-floppy-disk"></i>保存
|
|
|
+ </a>
|
|
|
</c:if>
|
|
|
+ <a class="btn btn-default btn-sm" href="javascript:void(0)" onclick="toExport()">
|
|
|
+ <i class="glyphicon glyphicon-list-alt"></i>导出
|
|
|
+ </a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
@@ -262,7 +271,7 @@
|
|
|
<jsp:include page="../../pageinfo.jsp"></jsp:include>
|
|
|
</c:if>
|
|
|
</form>
|
|
|
-
|
|
|
+ <form id="hxhbtjproform2" method="post"></form>
|
|
|
</div>
|
|
|
|
|
|
</div>
|