ui-dropFiles.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <div class="row fontcolor-two margin-top-15" id="searchid">
  2. <div class="col-md-12 formheard_pad worknumber">
  3. <div class="pull-left fontsizes-16 font-weight-500">
  4. 附件列表
  5. </div>
  6. </div>
  7. <table class="table table-hover margin-bottom-10" id="sample-table-1" style="table-layout: fixed;">
  8. <thead>
  9. <tr>
  10. <!-- <th class="center">序号</th> -->
  11. <th style="width: 80%">附件名称</th>
  12. <!-- <th class="hidden-xs">上传者</th> -->
  13. <!-- <th>上传时间</th> -->
  14. <!-- <th>任务Id</th> -->
  15. <!-- <th class="hidden-xs">文件类型</th> -->
  16. <th class="center">附件下载</th>
  17. <!-- <th class="center">附件预览</th> -->
  18. </tr>
  19. </thead>
  20. <tbody>
  21. <tr ng-repeat="attachment in attachments">
  22. <!-- <td class="center">{{$index + 1}}</td> -->
  23. <td title="{{attachment.name}}"><strong>{{attachment.name}}</strong></td>
  24. <!-- <td>{{attachment.userName}}</td> -->
  25. <!-- <td>{{attachment.addTime|date:'yyyy-MM-dd HH:mm:ss'}}</td> -->
  26. <!-- <td>{{attachment.taskId}}</td> -->
  27. <!-- <td>{{attachment.suffix}}</td> -->
  28. <td class="center">
  29. <!-- <div class="visible-md visible-lg hidden-sm hidden-xs">
  30. <a ng-href="{{attachment.link}}" ng-init="attachment.link=downloadUrl(attachment.id)" class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="下载"><i class="fa fa-download"></i></a>
  31. </div> -->
  32. <div class="visible-md visible-lg hidden-sm hidden-xs">
  33. <a ng-click="download(attachment.id,attachment.name,attachment.token)" class="btn btn-transparent btn-xs"
  34. tooltip-placement="top" tooltip="下载"><i class="fa fa-download"></i></a>
  35. </div>
  36. </td>
  37. <!-- <td class="center">
  38. <div class="visible-md visible-lg hidden-sm hidden-xs">
  39. <a ng-click="view(attachment.id,attachment.token,attachment.name,attachment.type)" class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="预览"><i class="fa fa-file-text-o"></i></a>
  40. </div>
  41. </td> -->
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. <style>
  47. .table .center{
  48. text-align: center;
  49. }
  50. </style>