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
6d4ba29e
Commit
6d4ba29e
authored
Jun 15, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人列表修改
parent
1f54046f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
agent.html
application/index/view/agent/agent.html
+8
-1
agent.js
public/resource/js/agent.js
+4
-2
agent_template_tpl.html
public/resource/template/agent_template_tpl.html
+5
-0
No files found.
application/index/view/agent/agent.html
View file @
6d4ba29e
{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>
...
...
public/resource/js/agent.js
View file @
6d4ba29e
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
();
}
})
},
...
...
public/resource/template/agent_template_tpl.html
View file @
6d4ba29e
...
...
@@ -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
>
...
...
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