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
477540b1
Commit
477540b1
authored
Jan 03, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情优化
parent
8587a43e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+10
-3
user.js
public/resource/js/user.js
+10
-1
No files found.
public/resource/js/RemarkFollowIndex.js
View file @
477540b1
...
@@ -203,13 +203,19 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -203,13 +203,19 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
//上一页 获取客户详情
//上一页 获取客户详情
_doc
.
on
(
'click'
,
'#user_up'
,
function
()
{
_doc
.
on
(
'click'
,
'#user_up'
,
function
()
{
user_type
=
'last'
;
user_type
=
'last'
;
// checkLogin();
//点击客户详情 初始化客户动态 带看动态
$
(
'.modal-title-genjing-con>span:nth-of-type(1)'
).
addClass
(
'text-info'
).
siblings
().
removeClass
(
'text-info'
);
//初始化客户动态 带看动态两个表格切换
$
(
'.follow-up-modal-list-area:nth-of-type(1)'
).
show
().
siblings
().
hide
();
user
.
getInfor
();
user
.
getInfor
();
});
});
//下一页 获取客户详情
//下一页 获取客户详情
_doc
.
on
(
'click'
,
'#user_down'
,
function
()
{
_doc
.
on
(
'click'
,
'#user_down'
,
function
()
{
user_type
=
'next'
;
user_type
=
'next'
;
checkLogin
();
//点击客户详情 初始化客户动态 带看动态
$
(
'.modal-title-genjing-con>span:nth-of-type(1)'
).
addClass
(
'text-info'
).
siblings
().
removeClass
(
'text-info'
);
//初始化客户动态 带看动态两个表格切换
$
(
'.follow-up-modal-list-area:nth-of-type(1)'
).
show
().
siblings
().
hide
();
user
.
getInfor
();
user
.
getInfor
();
});
});
//客户列表 收藏夹
//客户列表 收藏夹
...
@@ -1382,7 +1388,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1382,7 +1388,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
}
});
});
},
},
//
新增客户页面
//
客户详情页面 编辑和客户详情共用
Caozuo
:
function
()
{
//获取跟进详情的数据
Caozuo
:
function
()
{
//获取跟进详情的数据
//隐藏拨打电话 如果客户在保护期 并且客户不是我的
//隐藏拨打电话 如果客户在保护期 并且客户不是我的
if
((
user_info_obj
.
id
*
1
==
user
.
agent_id_infor
*
1
)
||
user
.
baohu
*
1
){
if
((
user_info_obj
.
id
*
1
==
user
.
agent_id_infor
*
1
)
||
user
.
baohu
*
1
){
...
@@ -1938,6 +1944,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1938,6 +1944,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
$
(
'.call-user-five'
).
html
(
''
);
$
(
'.call-user-five'
).
html
(
''
);
$
(
'.detail-modal-body-sec-2'
).
show
();
$
(
'.detail-modal-body-sec-2'
).
show
();
user
.
Caozuo
();
user
.
Caozuo
();
user
.
getUserLogNew
();
//点击上一条 下一条初始化页面
user
.
pageNoUser
=
1
;
user
.
pageNoUser
=
1
;
$
(
'#caozuo_table2'
).
html
(
''
);
$
(
'#caozuo_table2'
).
html
(
''
);
user
.
getGenjincon
();
user
.
getGenjincon
();
...
...
public/resource/js/user.js
View file @
477540b1
...
@@ -330,11 +330,19 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -330,11 +330,19 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
//上一页 获取客户详情
//上一页 获取客户详情
_doc
.
on
(
'click'
,
'#user_up'
,
function
()
{
_doc
.
on
(
'click'
,
'#user_up'
,
function
()
{
user_type
=
'last'
;
user_type
=
'last'
;
//点击客户详情 初始化客户动态 带看动态
$
(
'.modal-title-genjing-con>span:nth-of-type(1)'
).
addClass
(
'text-info'
).
siblings
().
removeClass
(
'text-info'
);
//初始化客户动态 带看动态两个表格切换
$
(
'.follow-up-modal-list-area:nth-of-type(1)'
).
show
().
siblings
().
hide
();
user
.
getInfor
();
user
.
getInfor
();
});
});
//下一页 获取客户详情
//下一页 获取客户详情
_doc
.
on
(
'click'
,
'#user_down'
,
function
()
{
_doc
.
on
(
'click'
,
'#user_down'
,
function
()
{
user_type
=
'next'
;
user_type
=
'next'
;
//点击客户详情 初始化客户动态 带看动态
$
(
'.modal-title-genjing-con>span:nth-of-type(1)'
).
addClass
(
'text-info'
).
siblings
().
removeClass
(
'text-info'
);
//初始化客户动态 带看动态两个表格切换
$
(
'.follow-up-modal-list-area:nth-of-type(1)'
).
show
().
siblings
().
hide
();
user
.
getInfor
();
user
.
getInfor
();
});
});
//二级联动
//二级联动
...
@@ -1604,7 +1612,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1604,7 +1612,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
}
});
});
},
},
//
新增客户页面
//
客户详情页面 编辑和客户详情共用
Caozuo
:
function
()
{
//获取跟进详情的数据
Caozuo
:
function
()
{
//获取跟进详情的数据
//隐藏拨打电话 如果客户在保护期 并且客户不是我的
//隐藏拨打电话 如果客户在保护期 并且客户不是我的
if
((
user_info_obj
.
id
*
1
==
user
.
agentbaohu
*
1
)
||
user
.
baohu
*
1
){
if
((
user_info_obj
.
id
*
1
==
user
.
agentbaohu
*
1
)
||
user
.
baohu
*
1
){
...
@@ -2214,6 +2222,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -2214,6 +2222,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
}
console
.
log
(
670
)
console
.
log
(
670
)
user
.
Caozuo
();
user
.
Caozuo
();
user
.
getUserLogNew
();
user
.
pageNoUser
=
1
;
user
.
pageNoUser
=
1
;
$
(
'#caozuo_table2'
).
html
(
''
);
$
(
'#caozuo_table2'
).
html
(
''
);
user
.
getGenjincon
();
user
.
getGenjincon
();
...
...
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