Commit 03309383 authored by agping's avatar agping

手机绑定修改

parent e9a5f8eb
...@@ -219,9 +219,20 @@ ...@@ -219,9 +219,20 @@
<div class="modal-body"> <div class="modal-body">
<form class="form-horizontal"> <form class="form-horizontal">
<div class="form-group"> <div class="form-group">
<div id="agent_phone_binding"> <table class="table table-striped table-bordered table-hover table-condensed">
555 <thead>
</div> <tr>
<th>绑定手机</th>
<th>请求时间</th>
<th>手机绑定状态</th>
</tr>
</thead>
<tbody id='agent_phone_binding'>
</tbody>
</table>
</div> </div>
</form> </form>
</div> </div>
......
...@@ -2,10 +2,17 @@ ...@@ -2,10 +2,17 @@
[% if(it) { %] [% if(it) { %]
[% for(var item in it){ %] [% for(var item in it){ %]
<tr class="text-center"> <tr class="text-center">
<td>[%= it[item]['created'] %]</td> <td>[%= it[item]["name"] %]</td>
<td>[%= it[item]['visitor_name'] %]</td> <td>[%= it[item]["id"] %]</td>
<td> <td>
<a class="btn1 btn-info review-images" href="#modal-time" data-toggle="modal" data-img='[%= it[item]["scene_photo"] %]'>允许</a> [% if(it[item]["status"] == 0) { %]
<a class="btn1 btn-info is_show" data-toggle="modal" data-id='[%= it[item]["id"] %]'>正常</a>
[% }else if(it[item]["status"] == 1) { %]
<a class="btn1 btn-default is_show" data-toggle="modal" data-id='[%= it[item]["id"] %]'>冻结</a>
[% }else{ %]
<a class="btn1 btn-default" data-toggle="modal" data-id='[%= it[item]["id"] %]'>离职</a>
[% } %]
<!--<a class="btn1 btn-info review-images" href="#modal-time" data-toggle="modal" data-img='[%= it[item]["scene_photo"] %]'>允许</a>-->
</td> </td>
</tr> </tr>
[% } %] [% } %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment