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
564204d2
Commit
564204d2
authored
Jan 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解绑记录
parent
6d12a070
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
1 deletion
+30
-1
user.js
public/resource/js/user.js
+30
-1
No files found.
public/resource/js/user.js
View file @
564204d2
...
...
@@ -198,7 +198,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user
.
agent_id_phone
=
''
;
});
//客户列表 客户绑定记录
_doc
.
on
(
'click'
,
'.relationalRecord '
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
var
id_
=
$
(
this
).
attr
(
"data-id"
);
user
.
relationalRecord
(
id_
);
});
//客户动态 加载更多
_doc
.
on
(
'click'
,
'.user-log-more'
,
function
(
e
)
{
e
.
preventDefault
();
...
...
@@ -1945,6 +1952,28 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
});
},
//绑定记录
relationalRecord
:
function
(
id
)
{
$
.
ajax
({
url
:
'/index/getUserBindHistory'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"user_id"
:
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
var
temp
=
document
.
getElementById
(
'relational_record_list'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#agent_phone_binding"
).
html
(
doTtmpl
(
data
.
data
.
data
));
}
else
{
}
}
});
},
//获取站点 标签
getSiteTags
:
function
()
{
$
.
ajax
({
...
...
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