list.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <div class="card">
  2. <div class="header">系统公告</div>
  3. <div activate-input activate-select class="search-header">
  4. <div class="search-param-panel">
  5. <div class="search-input">
  6. <form class="form-horizontal">
  7. <div class="row clearfix form-inline">
  8. <div class="col-lg-2 col-md-2 dj-label">
  9. <label>公告标题</label>
  10. </div>
  11. <div class="col-lg-2 col-md-2">
  12. <div class="form-group">
  13. <div class="form-line">
  14. <input name="title" class="form-control" type="text"
  15. ng-model="selectparams.title"
  16. placeholder="" ng-keypress="($event.which === 13)?search():0" />
  17. </div>
  18. </div>
  19. </div>
  20. <div class="col-lg-2 col-md-2 dj-label">
  21. <label>开始时间</label>
  22. </div>
  23. <div class="col-lg-2 col-md-2">
  24. <div class="form-group">
  25. <div class="form-line">
  26. <input type="text" name="startDate" ng-model="selectparams.startDate"
  27. class="form-control" autocomplete="off"
  28. data-date-format="yyyy-MM-dd"
  29. start-view="0" bs-datepicker ng-keypress="($event.which === 13)?search():0" />
  30. </div>
  31. </div>
  32. </div>
  33. <div class="col-lg-2 col-md-2 dj-label">
  34. <label>结束时间</label>
  35. </div>
  36. <div class="col-lg-2 col-md-2">
  37. <div class="form-group">
  38. <div class="form-line">
  39. <input type="text" name="endDate" ng-model="selectparams.endDate"
  40. class="form-control" autocomplete="off"
  41. data-date-format="yyyy-MM-dd"
  42. start-view="0" bs-datepicker ng-keypress="($event.which === 13)?search():0" />
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </form>
  48. </div>
  49. <div class="search-btn">
  50. <button class="btn btn-default1"
  51. ng-click="search()">
  52. 查询
  53. </button>
  54. </div>
  55. </div>
  56. <div class="search-tool">
  57. <div class="search-btn">
  58. <button class="btn btn-default1"
  59. ng-click="addAnnounce()" function-code="990101">
  60. 新增
  61. </button>
  62. <button type="button"
  63. class="btn btn-default1" function-code="990103" ng-click="delAnnounce()">
  64. 删除
  65. </button>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="body">
  70. <div class="table-responsive list-table-panel">
  71. <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
  72. <thead>
  73. <tr>
  74. <th class="th-select" th-select-all datalist="dataList"></th>
  75. <th class="th-rownum">序号</th>
  76. <th>标题</th>
  77. <th>有效时间</th>
  78. <th>发布部门</th>
  79. <th>是否置顶</th>
  80. <th>发送人</th>
  81. <th>发送时间</th>
  82. <th>操作</th>
  83. </tr>
  84. </thead>
  85. <tbody>
  86. <tr ng-repeat="it in dataList">
  87. <td class="text-center">
  88. <input type="checkbox" ng-model="it.rowChecked" />
  89. </td>
  90. <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
  91. <td>{{it.Title}}</td>
  92. <td>{{it.StartTime | date: 'yyyy-MM-dd'}}至{{it.EndTime | date: 'yyyy-MM-dd'}}</td>
  93. <td></td>
  94. <td>{{it.IsTop?"是":"否"}}</td>
  95. <td>{{it.CreateUserName}}</td>
  96. <td>{{it.CreateTime | date: 'yyyy-MM-dd'}}</td>
  97. <td>
  98. <button type="button"
  99. class="btn btn-default1" function-code="990102" ng-click="editAnnounce(it.AnnouncementID)">
  100. 修改
  101. </button>
  102. </td>
  103. </tr>
  104. <tr ng-if="pageInfo.ptotal==0">
  105. <td colspan="9" style="text-align:center">暂无数据</td>
  106. </tr>
  107. </tbody>
  108. </table>
  109. </div>
  110. <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
  111. data-ptotal="pageInfo.ptotal"></pagination>
  112. </div>
  113. </div>