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
2474d232
Commit
2474d232
authored
Jan 14, 2019
by
agping
Committed by
hujun
Jan 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拨打电话修改
parent
fe6baf90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
user_genjing_modal.js
public/resource/js/user_genjing_modal.js
+9
-11
No files found.
public/resource/js/user_genjing_modal.js
View file @
2474d232
...
@@ -1083,11 +1083,11 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -1083,11 +1083,11 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
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){
$
(
'.user_call'
).
show
();
//
$('.user_call').show();
}
else
{
//
}else{
$
(
'.user_call'
).
hide
();
//
$('.user_call').hide();
};
//
};
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
'url'
:
'/index/userDetail'
,
'url'
:
'/index/userDetail'
,
...
@@ -1141,13 +1141,11 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -1141,13 +1141,11 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
}
else
{
}
else
{
$
(
'#user_is_collect'
).
html
(
'取消收藏'
);
$
(
'#user_is_collect'
).
html
(
'取消收藏'
);
};
};
//vip客户 查看权限
//拨打电话显示 隐藏
if
(
user
.
agent_id_call_vip
*
1
==
1
){
if
(
data
.
data
.
is_outpace_call_num
*
1
==
1
){
if
(
check_auth
(
'auth_vip'
)
||
(
user
.
agent_id_call
*
1
==
user
.
agent_id_call_current
*
1
)
||
(
data
.
data
.
is_can_look
==
0
)){
$
(
'.user_call'
).
show
();
}
else
{
$
(
'.user_call'
).
hide
();
$
(
'.user_call'
).
hide
();
};
}
else
{
$
(
'.user_call'
).
show
();
};
};
//获取 站点城市(编辑)
//获取 站点城市(编辑)
data
.
data
.
user_info
[
'site_ids'
]
&&
$
.
each
(
$
(
'.roomTagEdit'
),
function
(
i
,
item
)
{
data
.
data
.
user_info
[
'site_ids'
]
&&
$
.
each
(
$
(
'.roomTagEdit'
),
function
(
i
,
item
)
{
...
...
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