Commit 09370a92 authored by agping's avatar agping

修改

parent d3632b31
<script id="user_list_tpl" type="text/template"> <script id="user_list_tpl" type="text/template">
[% if(it[0]) { %] [% if(it[0]) { %] [% for(var item in it){ %]
[% for(var item in it){ %]
<tr> <tr>
<td>[%= it[item]['id'] %]</td> <td>[%= it[item]['id'] %]</td>
<td> <td>
[% if(it[item]["user_name"] != null) { %] [% if(it[item]["user_name"] != null) { %] [%= it[item]["user_name"] %] [% } %]
[%= it[item]["user_name"] %]
[% } %]
</td> </td>
<td>[%= hideTel(it[item]["user_phone"]) %]</td> <td>[%= hideTel(it[item]["user_phone"]) %]</td>
<td>[%= it[item]["create_time"] %]</td> <td>[%= it[item]["create_time"] %]</td>
<td> <td>
[% if(it[item]["follow_time"] != null) { %] [% if(it[item]["follow_time"] != null) { %] [%= it[item]["follow_time"] %] [% } %]
[%= it[item]["follow_time"] %]
[% } %]
</td> </td>
<td> <td>
[% if(it[item]["status"] == -1) { %] [% if(it[item]["status"] == -1) { %] 未注册 [% }else if(it[item]["status"] == 0) { %] 注册 [% }else{ %] 删除 [% } %]
未注册
[% }else if(it[item]["status"] == 0) { %]
注册
[% }else{ %]
删除
[% } %]
</td> </td>
<td> <td>
[% if (it[item]['first_login_time'] == null){ %] [% if (it[item]['first_login_time'] == null){ %] [% }else{ %] [% } %]
[% }else{ %]
[% } %]
</td> </td>
<td> <td>
[% if (it[item]['user_nick'] != null){ %] [% if (it[item]['user_nick'] != null){ %] [%= it[item]["user_nick"] %] [% } %]
[%= it[item]["user_nick"] %]
[% } %]
</td> </td>
<td> <td>
[% if (it[item]['registration_time'] != null){ %] [% if (it[item]['registration_time'] != null){ %] [%= it[item]["registration_time"] %] [% } %]
[%= it[item]["registration_time"] %]
[% } %]
</td> </td>
<td> <td>
[% if (it[item]['first_login_time'] != null){ %] [% if (it[item]['first_login_time'] != null){ %] [%= it[item]["first_login_time"] %] [% } %]
[%= it[item]["first_login_time"] %]
[% } %]
</td> </td>
<td> <td>
[% if((check_auth('auth_vip ') && it[item]['vip']) || (it[item]['agent_id'] == it[item]['current_agent_id'])) { %]
<a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'> <a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'>
详细信息 详细信息
</a> </a>
...@@ -56,13 +36,14 @@ ...@@ -56,13 +36,14 @@
<a class="btn1 btn-success take-look" href="#modal-takeLook" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-name='[%= it[item]["user_name"] %]' data-phone='[%= it[item]["user_phone"] %]'> <a class="btn1 btn-success take-look" href="#modal-takeLook" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-name='[%= it[item]["user_name"] %]' data-phone='[%= it[item]["user_phone"] %]'>
约带看 约带看
</a> </a>
[% } %]
<!--<a class="btn1 btn-danger " href="#modal-delete" data-toggle="modal" onclick="delete_user(this)" data-id='[%= it[item]["id"] %]'>--> <!--<a class="btn1 btn-danger " href="#modal-delete" data-toggle="modal" onclick="delete_user(this)" data-id='[%= it[item]["id"] %]'>-->
<!--删除--> <!--删除-->
<!--</a>--> <!--</a>-->
</td> </td>
</tr> </tr>
[% } %] [% } %] [% }else{ %]
[% }else{ %]
<tr> <tr>
<td colspan="7" style="text-align:center;"> 暂无数据</td> <td colspan="7" style="text-align:center;"> 暂无数据</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