fileTreeList.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <titlemenu></titlemenu>
  2. <div class="dj-list">
  3. <div class="dj-list-body">
  4. <div class="dj-list-content content1">
  5. <div class="card">
  6. <div activate-input class="key-header" style="padding-top: 20px;">
  7. <div class="row clearfix">
  8. <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 form-inline">
  9. <input size="80" ng-model="selectData.fileName" class="form-control key-input" type="text"
  10. placeholder=" 输入关键字查找">
  11. <a class="btn btn-default1" ng-click="searchFile()">
  12. 搜索
  13. </a>
  14. </div>
  15. </div>
  16. </div>
  17. <div class="key-body">
  18. <div class="panel tab-body1">
  19. <div class="row clearfix">
  20. <div class="col-md-3 col-lg-3 col-xs-12 col-sm-12">
  21. <div class="card" style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);">
  22. <div class="header">
  23. <div class="title" style="font-weight: bold;font-size: 16px;"> <i class="material-icons" style="float: left;margin-right: 7px;font-size: 20px;">folder</i>制度查询</div>
  24. </div>
  25. <div class="body tree-body" style="height: 800px !important;">
  26. <div class="menu">
  27. <script type="text/ng-template" id="nodes.html">
  28. <li class="row">
  29. <div ng-click="clickTreeChild(tree)" ng-class="selectData.filetypeid==tree.id?'party_active':'' ">
  30. <i ng-if="tree.childCount>0" class="material-icons">{{tree.expand ? 'expand_more' :
  31. 'chevron_right'}}</i>
  32. <span class="icon-name" ng-class="tree.childCount>0?'':'icon-name-spac'">{{tree.name}}</span>
  33. </div>
  34. <div ng-hide="!tree.expand">
  35. <div class="treeitem"
  36. ng-repeat="tree in tree.children" ng-include="'nodes.html'"></div>
  37. </div>
  38. </li>
  39. </script>
  40. <ul class="list-group" ng-repeat="tree in navList" ng-include="'nodes.html'">
  41. </ul>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
  47. <div class="table-responsive list-table-panel">
  48. <table class="table table-bordered table-striped table-hover js-basic-example dataTable table-text-clip">
  49. <thead>
  50. <tr>
  51. <th class="col-md-1">制度编号</th>
  52. <th class="col-md-9">文件名称</th>
  53. <th class="col-md-2">操作</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. <tr ng-repeat="f in fileList">
  58. <td class="text-center">{{f.filecode}}</td>
  59. <td class="td_long_content" title="{{ f.filename}}"><a href="javascript:void(0)" ng-click="viewFile(f.fileid,f.filename)">{{ f.filename}}</a></td>
  60. <td class="text-center">
  61. <button class="btn td-btn bg-light-first waves-effect" title="查看"
  62. data-placement="center" data-animation="am-fade-and-scale"
  63. ng-click="viewFile(f.fileid,f.filename)">
  64. 查看
  65. </button>
  66. <button class="btn td-btn bg-light-second waves-effect" title="下载"
  67. ng-click="downloadFile(f.fileid)">
  68. 下载
  69. </button>
  70. </td>
  71. </tr>
  72. <tr ng-if="fileList.length<=0">
  73. <td colspan="5" style="text-align:center">暂无数据</td>
  74. </tr>
  75. </tbody>
  76. </table>
  77. </div>
  78. <!--参数含义:page-Index:当前页面,page-Size:每页显示多少数据,total-Length:数据总长度-->
  79. <pagination ng-if="fileList.length>0" data-pageindex="selectData.pageindex"
  80. data-pagesize="selectData.pagesize" data-ptotal="selectData.ptotal"></pagination>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </div>