当前位置:   article > 正文

miniui表格_miniui可折叠表格

miniui可折叠表格

  1. <body>
  2. <jsp:include page="DownloadAndPolicySearch.jsp" flush="true"/>
  3. <script type="text/javascript">
  4. function searchPolicyForPage() {
  5. var ttt = $("#searchInpput").val();
  6. grid.load({'key':ttt});
  7. }
  8. </script>
  9. <div class="top">
  10. <div class="content">
  11. <a href="<%=request.getContextPath() %>/fabao/shouye.htm" class="logo"></a>
  12. <a href="#" class="search" οnclick="gotoSearch();"></a>
  13. <input tyle="text" placeholder="点击搜索" οnclick="gotoSearch();" name="searchInpput" id="searchInpput" class="searchInp f_r"/><br/>
  14. <a href="<%=request.getContextPath() %>/fabao/shouye.htm" class="menu_a f_r">首页</a>
  15. </div>
  16. </div>
  17. <div class="content" style="padding-top: 50px;">
  18. <div class="f_l" style="width:290px;height: 750px;background: #f0f0f0;margin-bottom: 50px;">
  19. <a href="<%=request.getContextPath() %>/fabao/list.htm" class="menu_b">发包公告</a>
  20. <a href="<%=request.getContextPath() %>/fabao/listZhongbiao.htm" class="menu_b">中标公示</a>
  21. <a href="<%=request.getContextPath() %>/fabao/listFeibiao.htm" class="menu_b">废标公示</a>
  22. <a href="<%=request.getContextPath() %>/fabao/listDownload.htm" class="menu_b menu_b_ac">下载专区</a>
  23. <a href="<%=request.getContextPath() %>/fabao/listPolicy.htm" class="menu_b">政策法规</a>
  24. </div>
  25. <div class="f_r" style="width:900px;height: 750px;background: #f0f0f0">
  26. <div class="list_title">下载专区</div>
  27. <div class="mini-fit">
  28. <div id="grid" class="mini-datagrid" style="width:100%;height:100%;" allowResize="false"
  29. pageSize="26" showPageSize="true" showPager="true" idField="id" multiSelect="false" showTotalCount="true"
  30. url="<%=request.getContextPath() %>/fabao/getDownloadList.action" >
  31. <div property="columns">
  32. <div type="indexcolumn" headerAlign="center" width="5">序号</div>
  33. <div field="w_bdmc" width="70" headerAlign="center" allowSort="true" renderer="test">表单名称</div>
  34. <div field="w_sj" width="25" headerAlign="center" align="center" allowSort="true" >发布时间</div>
  35. <div displayField="下载" width="15" headerAlign="center" align="center" allowSort="true" renderer="test2">点击下载</div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="content bottom cl">
  42. <%=ConstantBean.COPYRIGHT_QIDU %>
  43. </div>
  44. </body>
  45. </html>
  46. <script type="text/javascript">
  47. mini.parse();
  48. var grid = mini.get("grid");
  49. if(('${key }' != null || '${issueDate }' != null || '${projectType }'!=null || '${projectCode }'!=null || '${deadline }'!=null)){
  50. var projectName = '${key }';
  51. var issueDate = '${issueDate }';
  52. var projectType = '${projectType }';
  53. var projectCode = '${projectCode }';
  54. var deadline = '${deadline }';
  55. grid.load({'key':projectName,'issueDate':issueDate,'projectType':projectType,'projectCode':projectCode,'deadline':deadline});
  56. }else if(('${key }' == null ||('${key }' == "") && ('${issueDate }' == null || '${issueDate }' == "") && ('${projectType }'==null || '${projectType }'=="") && ('${projectCode }'==null|| '${projectCode }'=="") && ('${deadline }'==null|| '${deadline }'==""))){
  57. grid.load();
  58. }
  59. function test2(e){
  60. var row = e.record;
  61. return "<a href='<%=request.getContextPath() %>/fabao/download.action?filename="+row.filename+"' >下载</a>";
  62. }
  63. </script>

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/171145
推荐阅读
相关标签
  

闽ICP备14008679号