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
5d994799
Commit
5d994799
authored
Jan 11, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e9b4bd39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
user.js
public/resource/js/user.js
+13
-5
No files found.
public/resource/js/user.js
View file @
5d994799
...
...
@@ -53,8 +53,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
agent_id_call_vip
:
""
,
pageNoUser
:
1
,
//客户详情 客户动态初始化分页
moreUser
:
0
,
//标识点击加载更多 还有没有数据
isExitsNew
:
0
,
init
:
function
()
{
user
.
isExitsNew
=
0
;
//初始化dot
$
(
"body"
).
append
(
template
);
//初始化城市 区域筛选
...
...
@@ -183,6 +185,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
e
.
stopPropagation
();
user
.
moreUser
=
1
;
user
.
getGenjincon
(
user
.
pageNoUser
++
)
});
//点击 无效
...
...
@@ -2267,7 +2270,12 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
});
},
getGenjincon
:
function
()
{
//获取客户动态(客户详情)
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user
.
isExitsNew
);
if
(
user
.
isExitsNew
==
1
){
user
.
getGenjincontwo
();
}
else
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
// checkLogin();
$
.
ajax
({
url
:
'/index/followUpLogNew'
,
...
...
@@ -2317,17 +2325,17 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
// $('.follow-up-modal-list-area').scrollTop(0);
}
else
{
user
.
isExitsNew
=
1
;
//数据为空 num 置1
user
.
pageNoUser
=
1
;
user
.
getGenjincontwo
();
}
}
});
}
},
getGenjincontwo
:
function
()
{
//获取客户动态(客户详情)
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
// checkLogin();
...
...
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