| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>未借阅列表</title>
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/plugins/ligerDateEditor.js" type="text/javascript"></script>
- <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/yongfu/common.js"></script>
- <script type="text/javascript">
- var grid = null;
- $(function () {
- grid = $("#maingrid4").ligerGrid({
- columns: [
- { display: '文档名称', name: 'borrow_affix', width: 300,align:'left'},
- { display: '类别', name: 'borrow_sort', width: 100},
- { display: '所属档案', name: 'borrow_table_name', width: 150},
- { display: '借用信息', name: 'borrow_msg', width: 150}
- ],
- fixedCellHeight: false, //是否固定单元格的高度
- pageSize:20,
- url: 'BorrowAction.do?task=listNotBorrow&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- enabledSort: true, //是否允许排序
- width: '99.8%',
- height: '99%'
-
- });
- $("#pageloading").hide();
- });
- function searchByKword(){
- var borrow_affix = document.getElementById("borrow_affix");
- var s = "";
- if(borrow_affix.value != "" && typeof(borrow_affix.value) != "undefined" ){
- s += "&borrow_affix=" + encodeURI(encodeURI(borrow_affix.value));
- }
- grid.set("newPage", "1");
- grid = $("#maingrid4").ligerGrid({
- columns: [
- { display: '文档名称', name: 'borrow_affix', width: 300,align:'left'},
- { display: '类别', name: 'borrow_sort', width: 100},
- { display: '所属档案', name: 'borrow_table_name', width: 150},
- { display: '借用信息', name: 'borrow_msg', width: 150}
- ],
- fixedCellHeight: false, //是否固定单元格的高度
- pageSize:20,
- url: 'BorrowAction.do?task=listNotBorrow&time=' + new Date().getTime()+s,
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- enabledSort: true, //是否允许排序
- width: '99.8%',
- height: '99%'
- });
- }
-
- function searchAll() {
- $("#borrow_affix").val("");
- searchByKword();
- }
- </script>
- </head>
- <body >
- <div class="default_search" >
- <ul class="list_search">
- <li class="title">文档名称:</li>
- <li class="text">
- <input type="text" name="borrow_affix" id="borrow_affix" >
- </li>
- </ul>
- <ul>
- <li class="search-button" >
- <input type="button" class='l-button' name="search" onclick="searchByKword()" value="查询"/>
- <input type="button" class='l-button' name="search" onclick="searchAll()" value="查询全部"/>
- </li>
- </ul>
- </div>
- <div style="clear: both;">
- <div id="maingrid4" style="margin: 0; padding: 0"></div>
- </div>
- </body>
- </html>
|