Commit 6d4ba29e authored by agping's avatar agping

经纪人列表修改

parent 1f54046f
{layout name="global/frame_tpl" /}
<input type="hidden" class="page-load" id="agent" />
<!--关联经纪人列表liudanjs文件-->
<style>
.J_preview{
width: 30px;
height: 30px;
border-radius: 15px;
}
</style>
<div id="page-content-wrapper">
<div class="container">
<div class="row">
......@@ -47,6 +53,7 @@
<tr>
<th>注册时间</th>
<th>用户ID</th>
<th>用户头像</th>
<th>姓名</th>
<th>手机号</th>
<th>角色</th>
......
define(['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css', 'pagination', 'bootstrapJs'], function (doT, template) {
define(['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css', 'pagination', 'bootstrapJs','ckfinder', 'ckfinderStart', 'blow-up'], function (doT, template) {
var agent = {
pageNo : 1,
pageSize : 15,
......@@ -246,7 +246,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css', 'pagin
params.groupname = $("input[name='groupname']").val();
params.store_name = $("input[name='store_name']").val();
$.ajax({
url: '/index/AgentList.html',
url: '/index/AgentList',
type: 'GET',
async: true,
data: params,
......@@ -257,6 +257,8 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css', 'pagin
$("#agentlist").html(doTempl(data.data.list));
/*分页代码*/
add_page(data.data.total, pageNo, agent.pageSize, agent.getList);
$ ('.J_preview').preview ();
}
})
},
......
......@@ -4,6 +4,11 @@
<tr data-groupname="[%= it[item]['groupname'] %]">
<td>[%= it[item]["create_time"] %]</td>
<td>[%= it[item]["id"] %]</td>
<td>
<input type="hidden" value='[%= it[item]["agent_img"] %]'>
<img src='[%= it[item]["agent_img"] %]' class="diagram-image J_preview"
data-bimg='[%= it[item]["agent_img"] %]'>
</td>
<td>[%= it[item]["name"] %]</td>
<td>[%= it[item]["phone"] %]</td>
<td>[%= it[item]["groupname"] %]</td>
......
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