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) { %] [%= it[item]["user_name"] %] [% } %]
[% if(it[item]["user_name"] != null) { %] </td>
[%= it[item]["user_name"] %] <td>[%= hideTel(it[item]["user_phone"]) %]</td>
[% } %] <td>[%= it[item]["create_time"] %]</td>
</td> <td>
<td>[%= hideTel(it[item]["user_phone"]) %]</td> [% if(it[item]["follow_time"] != null) { %] [%= it[item]["follow_time"] %] [% } %]
<td>[%= it[item]["create_time"] %]</td> </td>
<td> <td>
[% if(it[item]["follow_time"] != null) { %] [% if(it[item]["status"] == -1) { %] 未注册 [% }else if(it[item]["status"] == 0) { %] 注册 [% }else{ %] 删除 [% } %]
[%= it[item]["follow_time"] %] </td>
[% } %] <td>
</td> [% if (it[item]['first_login_time'] == null){ %] [% }else{ %] [% } %]
<td> </td>
[% if(it[item]["status"] == -1) { %] <td>
未注册 [% if (it[item]['user_nick'] != null){ %] [%= it[item]["user_nick"] %] [% } %]
[% }else if(it[item]["status"] == 0) { %] </td>
注册 <td>
[% }else{ %] [% if (it[item]['registration_time'] != null){ %] [%= it[item]["registration_time"] %] [% } %]
删除 </td>
[% } %] <td>
</td> [% if (it[item]['first_login_time'] != null){ %] [%= it[item]["first_login_time"] %] [% } %]
<td> </td>
[% if (it[item]['first_login_time'] == null){ %] <td>
[% if((check_auth('auth_vip ') && it[item]['vip']) || (it[item]['agent_id'] == it[item]['current_agent_id'])) { %]
[% }else{ %] <a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'>
详细信息
[% } %] </a>
</td> <a class="btn1 btn-success genj_ure" href="#modal-add" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
<td> 跟进
[% if (it[item]['user_nick'] != null){ %] </a>
[%= it[item]["user_nick"] %] <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"] %]'>
[% } %] 约带看
</td> </a>
<td> [% } %]
[% if (it[item]['registration_time'] != null){ %]
[%= it[item]["registration_time"] %] <!--<a class="btn1 btn-danger " href="#modal-delete" data-toggle="modal" onclick="delete_user(this)" data-id='[%= it[item]["id"] %]'>-->
[% } %] <!--删除-->
</td> <!--</a>-->
<td> </td>
[% if (it[item]['first_login_time'] != null){ %] </tr>
[%= it[item]["first_login_time"] %] [% } %] [% }else{ %]
[% } %] <tr>
</td> <td colspan="7" style="text-align:center;"> 暂无数据</td>
<td> </tr>
<a class="btn1 btn-success caozuo" href="#modal-record" data-toggle="modal" data-phone='[%= it[item]["user_phone"] %]' data-id='[%= it[item]["id"] %]'> [% } %]
详细信息 </script>
</a> \ No newline at end of file
<a class="btn1 btn-success genj_ure" href="#modal-add" data-toggle="modal" data-id='[%= it[item]["id"] %]'>
跟进
</a>
<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 class="btn1 btn-danger " href="#modal-delete" data-toggle="modal" onclick="delete_user(this)" data-id='[%= it[item]["id"] %]'>-->
<!--删除-->
<!--</a>-->
</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="7" style="text-align:center;"> 暂无数据</td>
</tr>
[% } %]
</script>
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