taskstart.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <div>
  2. <table class="table table-bordered tlist">
  3. <thead>
  4. <tr>
  5. <td colspan="6" style="text-align:center; background-color:#f5f5f5">
  6. <span style="color:black;"><strong>发起任务</strong></span>
  7. <span><button type="button" class="btn btn-link"
  8. style="float:right;margin-right:5%; color:black;padding:1px;" data-placement="center"
  9. data-animation="am-fade-and-scale"
  10. ng-click="ToMission()"><strong>发起</strong></button></span>
  11. </td>
  12. </tr>
  13. <tr>
  14. <th>任务类型</th>
  15. <th>任务描述</th>
  16. <th>完成时间</th>
  17. <th>负责人</th>
  18. <th>环节进度</th>
  19. <th>操作</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <tr ng-repeat="item in items">
  24. <td>{{item.TaskType}}</td>
  25. <td style="width:25%">
  26. <div style='display:-webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;overflow:hidden;'
  27. ng-click="showDetail(item)">{{item.TaskNote}}
  28. </div>
  29. </td>
  30. <td>{{item.TaskLimitTime}}</td>
  31. <td>{{item.TaskerName}}</td>
  32. <td>{{item.Progress}}%</td>
  33. <td>
  34. <button ng-if="item.TaskType=='普通'&&item.FlowID==null" type="button" class="btn btn-success btn-sm"
  35. value="修改" ng-click="editTask(item,1)">
  36. <span class="glyphicon glyphicon-pencil"></span>
  37. </button>
  38. <button ng-if="item.TaskType=='普通'&&item.FlowID==null" type="button" value="删除"
  39. class="btn btn-danger btn-sm" ng-click="deleteTask(item.TaskbaseID)">
  40. <span class="glyphicon glyphicon-remove"></span>
  41. </button>
  42. <button ng-if="item.FlowID!=null" type="button" class="btn btn-success btn-sm" value="查看"
  43. ng-click="check(item)">
  44. <span class="glyphicon glyphicon-eye-open"></span>
  45. </button>
  46. </td>
  47. </tr>
  48. <tr ng-if="items.length<1">
  49. <td colspan="6" style="text-align:center">暂无数据</td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. <pagination data-pageindex="page.pageIndex" data-pagesize="page.pageSize"
  54. data-ptotal="page.totalCount"></pagination>
  55. </div>