|
@@ -85,7 +85,9 @@ $(document).ready(function() {
|
|
|
|
|
|
});
|
|
|
|
|
|
-
|
|
|
+ $("#export").click(function(){//导出Excel文件
|
|
|
+ jp.downloadFile('${ctx}/oa/oaNotify/export?parentId='+parentId);
|
|
|
+ });
|
|
|
if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){//如果是移动端
|
|
|
|
|
|
|
|
@@ -101,16 +103,12 @@ $(document).ready(function() {
|
|
|
$("#search").click("click", function() {// 绑定查询按扭
|
|
|
$('#table').bootstrapTable('refresh');
|
|
|
});
|
|
|
- $("#export").click(function(){//导出Excel文件
|
|
|
- jp.downloadFile('${ctx}/oa/oaNotify/export?parentId='+parentId);
|
|
|
- });
|
|
|
$("#reset").click("click", function() {// 绑定查询按扭
|
|
|
$("#searchForm input").val("");
|
|
|
$("#searchForm select").val("");
|
|
|
$('#table').bootstrapTable('refresh');
|
|
|
});
|
|
|
});
|
|
|
-
|
|
|
function getIdSelections() {
|
|
|
return $.map($("#table").bootstrapTable('getSelections'), function (row) {
|
|
|
return row.id
|