Commit 4ba733e6 authored by agping's avatar agping

客户列表优化

parent 902cf510
......@@ -1395,6 +1395,48 @@
</div>
<!-- /.modal -->
</div>
<!-- 客户关联记录 -->
<div class="modal fade" id="modal-relationalRecord" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title">
客户关联记录
</h4>
</div>
<div class="modal-body" style="padding: 25px;">
<form class="form-horizontal">
<div class="form-group">
<table class="table table-striped table-bordered table-hover table-condensed">
<thead>
<tr>
<th class="text-center">操作</th>
<th class="text-center">操作人</th>
<th class="text-center">操作时间</th>
</tr>
</thead>
<tbody id='agent_phone_binding'>
</tbody>
</table>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--加载图标-->
<div id="main_loading_pic">
<img src="/resource/image/jz2.gif">
......
......@@ -72,6 +72,7 @@
<a class="btn1 is_invalid [%= sw3(it[item]['user_status']) %]" href="" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["user_status"] %]'>无效</a>
[% } %]
<a class="btn1 relationalRecord btn-info" href="#modal-relationalRecord" data-id='[%= it[item]["id"] %]' data-toggle="modal" >绑定记录</a>
</td>
</tr>
......@@ -81,3 +82,20 @@
</tr>
[% } %]
</script>
<!--客户列表 关联记录-->
<script id="relational_record_list" type="text/template">
[% if(it) { %]
[% for(var item in it){ %]
<tr class="text-center">
<td>[%= it[item]["model"] %]</td>
<td>[%= it[item]["model"] %]</td>
<td>[%= it[item]["create_time"] %]</td>
</tr>
[% } %]
[% }else{ %]
<tr>
<td colspan="8" 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