fileTabList.html 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. <ul class="nav nav-tabs tab-col-deep-orange" style="font-size: 16px;margin-top: 10px;" role="tablist">
  19. <li ng-repeat="nav in navList" ng-class="{active:isSelected(nav.filetypeid)}">
  20. <a ng-click="selectTab(nav.filetypeid)" data-toggle="tab">
  21. {{nav.filetypename}}
  22. </a>
  23. </li>
  24. </ul>
  25. <div class="panel tab-body1">
  26. <div class="row clearfix">
  27. <div class="col-md-3 col-lg-3 col-xs-12 col-sm-12">
  28. <div class="card" style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);">
  29. <div class="header">
  30. <div class="title">分类</div>
  31. </div>
  32. <div class="body">
  33. <ul class="list-group">
  34. <a ng-click="selectTree(it.filetypeid)" class="list-group-item"
  35. ng-class="{'tree-active':isTreeSelect(it.filetypeid)}" ng-repeat="it in treeList">
  36. {{it.filetypename}}
  37. </a>
  38. </ul>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">
  43. <div class="table-responsive list-table-panel">
  44. <table class="table table-bordered table-striped table-hover js-basic-example dataTable table-text-clip">
  45. <thead>
  46. <tr>
  47. <th class="col-md-2">制度编号</th>
  48. <th class="col-md-8">文件名称</th>
  49. <th class="col-md-2">操作</th>
  50. </tr>
  51. </thead>
  52. <tbody>
  53. <tr ng-repeat="f in fileList">
  54. <td class="text-center">{{f.filecode}}</td>
  55. <td title="{{ f.filename}}">{{ f.filename}}</td>
  56. <td class="text-center">
  57. <button class="btn td-btn bg-light-green waves-effect" title="查看"
  58. data-placement="center" data-animation="am-fade-and-scale"
  59. ng-click="viewFile(f.fileid,f.filename)">
  60. 查看
  61. </button>
  62. <button class="btn td-btn bg-pink waves-effect" title="下载"
  63. ng-click="downloadFile(f.fileid)">
  64. 下载
  65. </button>
  66. </td>
  67. </tr>
  68. <tr ng-if="fileList.length<=0">
  69. <td colspan="5" style="text-align:center">暂无数据</td>
  70. </tr>
  71. </tbody>
  72. </table>
  73. </div>
  74. <!--参数含义:page-Index:当前页面,page-Size:每页显示多少数据,total-Length:数据总长度-->
  75. <pagination ng-if="fileList.length>0" data-pageindex="selectData.pageindex"
  76. data-pagesize="selectData.pagesize" data-ptotal="selectData.ptotal"></pagination>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </div>