1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <div class="row fontcolor-two margin-top-15" id="searchid">
- <div class="col-md-12 formheard_pad worknumber">
- <div class="pull-left fontsizes-16 font-weight-500">
- 附件列表
- </div>
- </div>
- <table class="table table-hover margin-bottom-10" id="sample-table-1" style="table-layout: fixed;">
- <thead>
- <tr>
- <!-- <th class="center">序号</th> -->
- <th style="width: 80%">附件名称</th>
- <!-- <th class="hidden-xs">上传者</th> -->
- <!-- <th>上传时间</th> -->
- <!-- <th>任务Id</th> -->
- <!-- <th class="hidden-xs">文件类型</th> -->
- <th class="center">附件下载</th>
- <!-- <th class="center">附件预览</th> -->
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="attachment in attachments">
- <!-- <td class="center">{{$index + 1}}</td> -->
- <td title="{{attachment.name}}"><strong>{{attachment.name}}</strong></td>
- <!-- <td>{{attachment.userName}}</td> -->
- <!-- <td>{{attachment.addTime|date:'yyyy-MM-dd HH:mm:ss'}}</td> -->
- <!-- <td>{{attachment.taskId}}</td> -->
- <!-- <td>{{attachment.suffix}}</td> -->
- <td class="center">
- <!-- <div class="visible-md visible-lg hidden-sm hidden-xs">
- <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>
- </div> -->
- <div class="visible-md visible-lg hidden-sm hidden-xs">
- <a ng-click="download(attachment.id,attachment.name,attachment.token)" class="btn btn-transparent btn-xs"
- tooltip-placement="top" tooltip="下载"><i class="fa fa-download"></i></a>
- </div>
- </td>
- <!-- <td class="center">
- <div class="visible-md visible-lg hidden-sm hidden-xs">
- <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>
- </div>
- </td> -->
- </tr>
- </tbody>
- </table>
- </div>
- <style>
- .table .center{
- text-align: center;
- }
- </style>
|