Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
92e151c1
Commit
92e151c1
authored
Jan 31, 2018
by
刘丹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人列表
parent
93b8cf68
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
351 additions
and
87 deletions
+351
-87
agent.html
application/index/view/agent/agent.html
+185
-79
save_agent.html
application/index/view/agent/save_agent.html
+1
-1
auth_rule_box.html
application/index/view/auth/auth_rule_box.html
+1
-0
home.css
public/resource/css/home.css
+7
-0
public.css
public/resource/css/public.css
+1
-2
agent.js
public/resource/js/agent.js
+127
-0
agent_template_tpl.html
public/resource/template/agent_template_tpl.html
+29
-5
No files found.
application/index/view/agent/agent.html
View file @
92e151c1
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"agent"
/>
<!--关联js文件-->
<input
type=
"hidden"
class=
"page-load"
id=
"agent"
/>
<!--关联
经纪人列表liudan
js文件-->
<div
class=
"builder listbuilder-box"
style=
"min-height: 1426px; width: 1035px; float: left; margin-left: 20px;"
>
<!-- Tab导航 -->
<!-- 顶部工具栏按钮 -->
<div
class=
"builder-toolbar mt-10 mb-20"
>
<div
class=
"row"
>
<div
class=
"col-xs-12 col-sm-12 button-list clearfix"
>
<!-- 工具栏按钮 -->
<!--<div class="form-group">-->
<a
title=
"新增"
class=
"btn btn-primary btn-sm"
href=
"/index/saveAgentIndex"
>
新增
</a>
<a
title=
"删除"
target-form=
"ids"
class=
"btn btn-danger ajax-post confirm btn-sm"
model=
"User"
href=
"/admin.php/admin/user/setstatus/status/delete/model/User.html"
>
删除
</a>
<!--<a target-form="ids" class="btn btn-info btn-raised btn-sm" title="<i class="fa fa-comment-o"></i> 发送消息" onclick="send_msg()"><i class="fa fa-comment-o"></i> 发送消息</a> -->
<a
target-form=
"ids"
class=
"btn btn-info btn-sm"
title=
"<i class="fa fa-users"></i> 变更角色"
onclick=
"role_move()"
><i
class=
"fa fa-users"
></i>
变更角色
</a>
<!-- </div>-->
<!-- 搜索框 -->
<div
class=
"col-xs-12 col-sm-3 clearfix fr pr0"
>
<form
class=
"form form-inline"
method=
"get"
action=
"/admin.php/admin/user/index.html"
>
<div
class=
"form-group"
>
<div
class=
"input-group search-form"
>
<input
type=
"text"
name=
"search"
class=
"form-control search-input pull-right"
value=
""
placeholder=
"请输入ID/用户名/昵称"
>
<span
class=
"input-group-btn"
><button
id=
"search"
type=
"button"
class=
"btn btn-success search-btn"
><i
class=
"glyphicon glyphicon-search"
></i></button></span>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-10 col-lg-offset-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li><a
href=
"#"
>
经纪人列表
</a></li>
<li
class=
"active"
>
新增
</li>
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<li>
<a
href=
"#modal-edit"
data-toggle=
"modal"
class=
"btn btn-default edit_add"
><i
class=
"icon-plus"
></i>
新增
</a>
</li>
</ul>
</div>
</div>
</form>
</div>
</div>
</div>
<!--row-->
</div>
<!-- 数据列表 -->
<div
class=
"builder-container"
>
<div
class=
"row"
>
<div
class=
"builder-table col-sm-12"
>
<table
class=
"table table-responsive table-bordered table-hover dataTable"
>
<thead>
<tr>
<th
width=
"50"
class=
"checkbox-toggle"
><div
class=
"icheckbox_minimal-blue"
aria-checked=
"false"
aria-disabled=
"false"
style=
"position: relative;"
><input
class=
"check-all"
type=
"checkbox"
style=
"position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"
><ins
class=
"iCheck-helper"
style=
"position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"
></ins></div>
<!-- <span class="checkbox-toggle" style="color:#ddd;font-size:23px;cursor:pointer;"><i class="fa fa-square-o"></i></span> -->
</th>
<th>
UID
</th>
<th>
头像
</th>
<th>
用户名
</th>
<th>
手机号
</th>
<th>
门店名
</th>
<th>
区域
</th>
<th>
注册时间
</th>
<th>
状态
</th>
<th>
操作
</th>
</tr>
</thead>
<tbody
id=
"agentlist"
>
<!--<tr>-->
<!--<td><div class="icheckbox_minimal-blue" aria-checked="false" aria-disabled="false" style="position: relative;"><input class="ids" type="checkbox" value="1" name="ids[]" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"></ins></div></td>-->
<!--<td>1</td>-->
<!--<td><img style="width:40px;height:40px;" src="http://img.eacoomall.com/images/static/assets/img/default-avatar.svg"></td>-->
<!--<td>创始人</td>-->
<!--<td>admin</td>-->
<!--<td>admin@admin.com</td>-->
<!--<td></td>-->
<!--<td>2018-01-18 16:53:36</td>-->
<!--<td><span class="fa fa-check text-success"></span></td>-->
<!--<td>正常</td>-->
<!--<td><a title="编辑" class="btn btn-primary btn-xs" href="/admin.php/admin/user/edit/uid/1.html" style="margin-right:6px;">编辑</a><a title="删除" class="btn btn-danger btn-xs ajax-get confirm" model="User" href="/admin.php/admin/user/setstatus/status/delete/ids/1/model/User.html" style="margin-right:6px;">删除</a></td>-->
<!--</tr>-->
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"11"
>
<form
id=
"form_search"
>
<!-- 搜索框 -->
<div
class=
"col-xs-12 col-sm-3 clearfix fl margin-top-ld"
>
<form
class=
"form form-inline"
method=
"get"
action=
"/admin.php/admin/user/index.html"
>
<div
class=
"form-group"
>
<div
class=
"input-group search-form"
>
<input
type=
"text"
name=
"search"
class=
"form-control search-input pull-right"
value=
""
placeholder=
"请输入ID/用户名/昵称"
>
<span
class=
"input-group-btn"
>
<button
id=
"search"
type=
"button"
class=
"btn btn-success search-btn"
><i
class=
"glyphicon glyphicon-search"
></i></button>
</span>
</div>
</div>
</form>
</div>
<!--变更角色-->
<a
href=
"#modal-user"
data-toggle=
"modal"
class=
"btn btn-info btn-sm margin-top-ld User_add"
>
变更角色
</a>
</form>
</td>
</tr>
<tr>
<th>
全选
</th>
<th>
UID
</th>
<th>
头像
</th>
<th>
职位
</th>
<th>
用户名
</th>
<th>
手机号
</th>
<th>
门店名
</th>
<th>
区域
</th>
<th>
注册时间
</th>
<th>
状态
</th>
<th>
操作
</th>
</tr>
</thead>
<tbody
id=
"agentlist"
>
</tbody>
</table>
<!-- 列表底部按钮 -->
<div
class=
"paginations"
id=
"pagediv"
>
</tbody>
</table>
<!-- 列表底部按钮 -->
<div
class=
"paginations"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal fade mt100"
id=
"moveroleModal
"
>
<div
class=
"modal-dialog
modal-sm
"
>
<!--编辑-->
<div
class=
"modal fade"
id=
"modal-edit"
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"
><span
aria-hidden=
"true"
>
×
</span><span
class=
"sr-only"
>
关闭
</span></button>
<p
class=
"modal-title"
>
移动至
</p>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
经纪人信息
</h4>
</div>
<div
class=
"modal-body"
>
<form
action=
"/admin.php/admin/auth/addtogroup.html"
method=
"post"
class=
"form-move"
enctype=
"application/x-www-form-urlencoded"
>
<form
class=
"form-horizontal"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
用户名:
</label>
<input
class=
"form-control btn6"
data-rule-buga=
"false"
data-rule-required=
"true"
name=
"name"
placeholder=
"登录账户所用名称"
type=
"text"
value=
""
id=
"title"
>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
门店ID:
</label>
<input
type=
"number"
class=
"form-control btn6"
name=
"store_id"
value=
""
placeholder=
"填写门店ID"
>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
区域ID:
</label>
<input
type=
"number"
class=
"form-control btn6"
id=
"district_id"
name=
"district_id"
value=
""
placeholder=
"填写区域ID"
>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
手机号:
</label>
<input
type=
"number"
class=
"form-control btn6"
name=
"phone"
value=
""
placeholder=
"填写手机号"
>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
性别:
</label>
<div
class=
"radio radio-primary btn4 mr-10"
>
<label
for=
"sex0"
class=
"radio-label1"
>
<div
class=
"iradio_minimal-blue"
aria-checked=
"false"
aria-disabled=
"false"
style=
""
>
<input
type=
"radio"
name=
"sex"
id=
"sex0"
value=
"0"
checked=
""
>
</div>
保密
</label>
</div>
<div
class=
"radio radio-primary btn4 mr-10"
>
<label
for=
"sex0"
class=
"radio-label1"
>
<div
class=
"iradio_minimal-blue"
aria-checked=
"false"
aria-disabled=
"false"
style=
""
>
<input
type=
"radio"
name=
"sex"
id=
"sex1"
value=
"1"
>
</div>
男
</label>
</div>
<div
class=
"radio radio-primary btn4 mr-10"
>
<label
for=
"sex0"
class=
"radio-label1"
>
<div
class=
"iradio_minimal-blue"
aria-checked=
"false"
aria-disabled=
"false"
style=
""
>
<input
type=
"radio"
name=
"sex"
id=
"sex2"
value=
"2"
>
</div>
女
</label>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
人物角色:
</label>
<select
class=
"form-control btn6"
name=
"auth_group_id"
id=
"auth_group_id"
>
</select>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
是否允许访问后台:
</label>
<select
name=
"admin_off"
id=
"admin_off"
class=
"form-control btn6"
>
<option
value=
"0"
>
允许
</option>
<option
value=
"1"
>
不允许
</option>
</select>
</div>
<div
class=
"form-group"
>
<select
name=
"group_id"
class=
"form-control"
><option
value=
"1"
>
das
</option><option
value=
"2"
>
管理员
</option><option
value=
"3"
>
普通用户
</option><option
value=
"4"
>
客服
</option></select>
<label
class=
"col-sm-3 control-label"
>
个人说明:
</label>
<textarea
name=
"remarks"
id=
"remarks"
class=
"form-control btn6"
length=
"120"
rows=
"5"
placeholder=
"请填写个人说明"
>
</textarea>
</div>
<div
class=
"form-group"
>
<input
type=
"hidden"
name=
"uids"
>
<input
type=
"hidden"
name=
"batch"
>
<button
class=
"btn btn-primary btn-block submit ajax-post"
type=
"submit"
target-form=
"form-move"
>
确 定
</button>
<label
class=
"col-sm-3 control-label"
>
状态:
</label>
<select
name=
"status"
id=
"status"
class=
"form-control btn6"
>
<option
value=
"0"
>
正常
</option>
<option
value=
"1"
>
冻结
</option>
<option
value=
"2"
>
离职
</option>
</select>
</div>
</form>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary submit_edit"
data-dismiss=
"modal"
>
提交
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
</div>
\ No newline at end of file
<!--变更角色-->
<div
class=
"modal fade"
id=
"modal-user"
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"
>
×
</button>
<h4
class=
"modal-title"
>
移动选中的用户至
</h4>
</div>
<div
class=
"modal-body"
>
<form
class=
"form-horizontal"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
>
角色选择:
</label>
<select
name=
"status"
class=
"form-control btn6"
id=
"User_add"
>
<!--<option value="0">正常</option>-->
<!--<option value="1" >冻结</option>-->
<!--<option value="2">离职</option>-->
</select>
</div>
</form>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary submit_user"
data-dismiss=
"modal"
>
提交
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
application/index/view/agent/save_agent.html
View file @
92e151c1
...
...
@@ -115,7 +115,7 @@
<div
class=
"col-md-6"
>
<textarea
name=
"remarks"
id=
"remarks"
class=
"form-control"
length=
"120"
rows=
"5"
></textarea>
<p
class=
"help-block"
><i
class=
"fa fa-info-circle color-info1"
></i>
请填写个人说明
</p>
</div>
</div>
</div>
<div
class=
"form-group item_status "
>
<label
for=
"status"
class=
"col-md-2 control-label"
>
状态
</label>
<div
class=
"col-md-4"
>
...
...
application/index/view/auth/auth_rule_box.html
View file @
92e151c1
...
...
@@ -2,6 +2,7 @@
<!--关联js元素-->
<input
type=
"hidden"
class=
"page-load"
id=
"auth_rule_box"
/>
<!--关联js元素-->
<div
class=
"box box-solid"
style=
"min-height: 1426px; width: 1035px; float: left; margin-left: 20px;"
>
<div
class=
"box-body"
>
...
...
public/resource/css/home.css
View file @
92e151c1
...
...
@@ -203,4 +203,10 @@ body{
.but7
{
width
:
100%
!important
;
float
:
left
;
}
.fl
{
float
:
right
!important
;
}
.margin-top-ld
{
margin-top
:
15px
;
}
\ No newline at end of file
public/resource/css/public.css
View file @
92e151c1
...
...
@@ -189,4 +189,4 @@ a:hover{
.ld-Marheight
{
margin-top
:
7px
;
margin-left
:
7px
;
}
\ No newline at end of file
}
public/resource/js/agent.js
View file @
92e151c1
...
...
@@ -12,8 +12,135 @@ define (['doT', 'text!temp/agent_template_tpl.html', 'css!style/home.css','pagin
$
(
'#search'
).
click
(
function
(
pageNo
)
{
agent
.
getList
(
1
);
});
$
(
document
).
delegate
(
".edit"
,
"click"
,
function
()
{
//点击编辑
agent
.
house_id
=
$
(
this
).
attr
(
"data-id"
);
agent
.
Edit_add
();
agent
.
Edit
();
});
$
(
document
).
delegate
(
".submit_edit"
,
"click"
,
function
()
{
//提交编辑
agent
.
Submit_edit
();
agent
.
getList
();
});
$
(
document
).
delegate
(
".edit_add"
,
"click"
,
function
()
{
//新增
agent
.
Edit_add
();
});
$
(
document
).
delegate
(
".User_add"
,
"click"
,
function
()
{
//点击变更
//var user_check=$("input[name=ids]").is(":checked");
agent
.
User_add
();
});
$
(
document
).
delegate
(
".submit_user"
,
"click"
,
function
()
{
//提交变更
agent
.
Submit_user
();
agent
.
getList
();
});
},
Submit_user
:
function
(){
//提交变更的信息
var
v
=
''
;
var
_ids
=
''
;
$
(
"input[name=ids]:checked"
).
each
(
function
(
i
)
{
v
+=
','
+
$
(
this
).
val
();
_ids
=
v
.
substring
(
1
);
})
var
group_id
=
$
(
"#User_add"
).
val
();
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/index/updateRole'
,
data
:{
'ids'
:
_ids
,
'group_id'
:
group_id
},
dataType
:
"json"
,
success
:
function
(
data
){
if
(
data
.
code
==
200
){
}
else
{
alert
(
"重复提交"
);
}
}
});
},
User_add
:
function
(){
//获取变更角色
$
.
ajax
({
url
:
'/index/getAuth2'
,
type
:
'GET'
,
async
:
true
,
dataType
:
'json'
,
success
:
function
(
data
)
{
var
User_add
=
""
;
$
.
each
(
data
.
data
.
list
,
function
(
i
,
item
){
User_add
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
title
+
'</option>'
;
});
$
(
"#User_add"
).
html
(
User_add
);
}
});
},
Edit_add
:
function
(){
$
.
ajax
({
url
:
'/index/getAuth2'
,
type
:
'GET'
,
async
:
true
,
dataType
:
'json'
,
success
:
function
(
data
)
{
var
temp
=
document
.
getElementById
(
'get_auth_list'
).
innerHTML
;
var
doTempl
=
doT
.
template
(
temp
);
$
(
"#auth_group_id"
).
html
(
doTempl
(
data
.
data
.
list
));
//赋值
}
});
},
Edit
:
function
(){
//获取
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/saveAgent/group_id/'
,
//获取编辑数据
data
:
{
"id"
:
agent
.
house_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
$
(
"input[name = id]"
).
val
(
data
.
data
.
id
);
$
(
"input[name = phone]"
).
val
(
data
.
data
.
phone
);
$
(
"input[name = name]"
).
val
(
data
.
data
.
name
);
$
(
"input[name = store_id]"
).
val
(
data
.
data
.
store_id
);
$
(
"#admin_off"
).
val
(
data
.
data
.
admin_off
);
$
(
"#remarks"
).
val
(
data
.
data
.
remarks
);
$
(
"#status"
).
val
(
data
.
data
.
status
);
$
(
"#auth_group_id"
).
val
(
data
.
data
.
auth_group_id
);
if
(
data
.
data
.
sex
==
'0'
){
$
(
"#sex0"
).
attr
(
'checked'
,
true
);
}
else
if
(
data
.
data
.
sex
==
'1'
){
$
(
"#sex1"
).
attr
(
'checked'
,
true
);
}
else
{
$
(
"#sex2"
).
attr
(
'checked'
,
true
);
}
}
});
},
Submit_edit
:
function
(){
//提交编辑的信息
var
par
=
{}
par
.
id
=
agent
.
house_id
;
par
.
name
=
$
(
"input[name = name]"
).
val
();
par
.
store_id
=
$
(
"input[name = store_id]"
).
val
();
par
.
phone
=
$
(
"input[name = phone]"
).
val
();
if
(
par
.
phone
==
''
){
alert
(
'手机号必填!'
);
return
false
;
}
par
.
admin_off
=
$
(
"#admin_off"
).
val
();
par
.
district_id
=
$
(
'#district_id'
).
val
();
par
.
sex
=
$
(
"input[name =sex]:checked"
).
val
();
par
.
remarks
=
$
(
"#remarks"
).
val
();
par
.
auth_group_id
=
$
(
"#auth_group_id"
).
val
();
par
.
status
=
$
(
"#status"
).
val
();
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/index/saveAgent'
,
data
:
par
,
dataType
:
"json"
,
success
:
function
(
data
){
if
(
data
.
code
==
200
){
}
else
{
alert
(
data
.
msg
);
}
}
});
},
getList
:
function
(
pageNo
){
agent
.
pageNo
=
pageNo
;
var
params
=
{};
...
...
public/resource/template/agent_template_tpl.html
View file @
92e151c1
...
...
@@ -2,12 +2,22 @@
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
><
div
class
=
"icheckbox_minimal-blue"
style
=
""
aria
-
checked
=
"false"
aria
-
disabled
=
"false"
>
<!--<
input
type
=
"checkbox"
name
=
"ids[]"
value
=
"1"
class
=
"ids"
style
=
""
>-->
<
/div
>
<
td
>
<
input
type
=
"checkbox"
name
=
"ids"
value
=
"[%= it[item]['id'] %]"
>
<
/td
>
<
td
>
[
%=
it
[
item
][
"id"
]
%
]
<
/td
>
<
td
><
img
src
=
"./index/[%= it[item]['img'] %]"
alt
=
""
><
/td
>
<
td
>
[
%
if
(
it
[
item
][
"level"
]
==
10
)
{
%
]
经纪人
[
%
}
else
if
(
it
[
item
][
"level"
]
==
20
)
{
%
]
店长
[
%
}
else
if
(
it
[
item
][
"level"
]
==
30
)
{
%
]
总监
[
%
}
else
{
%
]
总监和店长
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"name"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"phone"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"store_name"
]
%
]
<
/td
>
...
...
@@ -16,8 +26,8 @@
<
td
>
[
%=
it
[
item
][
"status"
]
%
]
<
/td
>
<!--<
td
><
span
class
=
"fa fa-check text-success"
><
/span></
td
>-->
<
td
>
<
a
style
=
"margin-right:6px;"
href
=
"/index/saveAgentIndex.html?id=[%= it[item]['id'] %]"
class
=
"btn btn-primary btn-xs"
title
=
"编辑"
>
编辑
<
/a
>
<
a
style
=
"margin-right:6px;"
href
=
""
class
=
"btn btn-warning btn-xs ajax-get confirm"
title
=
"禁用"
>
禁用
<
/a
>
<
a
class
=
"btn1 btn-success edit"
href
=
"#modal-edit"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
编辑
<
/a
>
<
a
style
=
"margin-right:6px;"
href
=
""
class
=
"btn btn-warning btn-xs ajax-get confirm"
title
=
"禁用"
>
禁用
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
...
...
@@ -26,4 +36,17 @@
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--经纪人列表模板-->
<script
id=
"get_auth_list"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
option
value
=
"[%= it[item]['id'] %]"
>
[
%=
it
[
item
][
"title"
]
%
]
<
/option
>
[
%
}
%
]
[
%
}
%
]
</script>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment