2015-08-15 05:54:30 +00:00
|
|
|
<div ms-controller="requestList" class="col-md-9">
|
2015-08-11 11:15:25 +00:00
|
|
|
<h1>加入小组请求管理</h1>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<tr>
|
|
|
|
<th>创建时间</th>
|
|
|
|
<th>小组</th>
|
2015-08-15 05:54:30 +00:00
|
|
|
<th>用户</th>
|
2015-08-11 11:15:25 +00:00
|
|
|
<th>附加消息</th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
2015-08-15 05:54:30 +00:00
|
|
|
<tr ms-repeat="requestList">
|
|
|
|
<td>{{ el.create_time|date("yyyy-MM-dd HH:mm:ss")}}</td>
|
2015-08-11 11:15:25 +00:00
|
|
|
<td>{{ el.group.name }}</td>
|
|
|
|
<td>{{ el.user.username }}</td>
|
|
|
|
<td>{{ el.message }}</td>
|
|
|
|
|
|
|
|
<td>
|
2015-08-15 05:54:30 +00:00
|
|
|
<button class="btn-sm btn-success" ms-click="processRequest(el, true)">同意</button>
|
|
|
|
<button class="btn-sm btn-danger" ms-click="processRequest(el, false)">拒绝</button>
|
2015-08-11 11:15:25 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="text-right">
|
2015-08-15 05:54:30 +00:00
|
|
|
页数:{{ page }}/{{ totalPage }}
|
|
|
|
<button ms-attr-class="getBtnClass('pre')" ms-click="getPrevious">上一页</button>
|
|
|
|
<button ms-attr-class="getBtnClass('next')" ms-click="getNext">下一页</button>
|
2015-08-11 11:15:25 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2015-08-15 05:54:30 +00:00
|
|
|
<script src="/static/js/app/admin/group/joinGroupRequestList.js"></script>
|