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
5b3a464d
Commit
5b3a464d
authored
Jul 02, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户跟进详情修改
parent
7cfaa76a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+16
-5
No files found.
public/app/js/customerinfo_details_new.js
View file @
5b3a464d
...
...
@@ -181,11 +181,12 @@ function loadMain(){
});
});
if
(
data
[
'data'
][
'user_info'
][
'user_status'
]
==
0
||
data
[
'data'
][
'user_info'
][
'user_status'
]
==
1
||
data
[
'data'
][
'user_info'
][
'user_status'
]
==
-
1
){
_markAreaObj
.
find
(
'a[data-markid="'
+
data
[
'data'
][
'user_info'
][
'user_status'
]
+
'"]'
).
addClass
(
'genjin-mark-active'
).
siblings
().
removeClass
(
'genjin-mark-active'
);
}
else
{
layerTipsX
(
'状态标签返回有误'
);
}
//标签没有默认状态了
// if(data['data']['user_info']['user_status'] == 0 || data['data']['user_info']['user_status'] == 1 || data['data']['user_info']['user_status'] == -1 ){
// _markAreaObj.find('a[data-markid="'+data['data']['user_info']['user_status']+'"]').addClass('genjin-mark-active').siblings().removeClass('genjin-mark-active');
// }else{
// layerTipsX('状态标签返回有误');
// }
}
else
{
layerTipsX
(
data
[
'msg'
]);
...
...
@@ -324,6 +325,14 @@ function loadMain(){
}
};
if
(
isCallFlag
&&
((
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'1'
)
||
(
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'4'
))){
if
(
_isFreeFlag
)
{
freePhone
();
};
layer
.
close
(
_index
);
return
false
;
//如果是电话跟进,选择了没打通或者取消拨打,则关掉不进行提交
}
else
{
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/add_phone_follow_up'
,
...
...
@@ -369,6 +378,8 @@ function loadMain(){
};
}
});
}
});
function
freePhone
(
obj
){
...
...
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