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
9e33a220
Commit
9e33a220
authored
Aug 10, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复1
parent
5fbfc271
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
27 deletions
+20
-27
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+1
-1
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+19
-26
customerinfo_details_new_081001.js
public/app/js/customerinfo_details_new_081001.js
+0
-0
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
9e33a220
...
...
@@ -159,7 +159,7 @@
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new5
3
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new5
4
"
></script>
</body>
...
...
public/app/js/customerinfo_details_new.js
View file @
9e33a220
...
...
@@ -391,27 +391,24 @@ function loadMain(){
e
.
preventDefault
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
// if((_this.attr('data-markid') == '1') || (_this.attr('data-markid') == '4')){
// //如果选择了未打通,或取消拨打,则直接关闭
// if(_this.parent().parent().index() === 0){
// //只有在.genjin-mark-area-putong,电话跟进特有,下的标签才会隐藏
// _genjinModal.hide();//跟进模态框关闭
// return false;
// }
// };
if
(
!
_this
.
hasClass
(
'genjin-mark-active'
)){
_this
.
addClass
(
'genjin-mark-active'
).
siblings
().
removeClass
(
'genjin-mark-active'
);
};
if
(
_this
.
attr
(
'data-markid'
)
==
'1'
){
//如果选择了未打通,则直接关闭
if
(
_this
.
parent
().
parent
().
index
()
===
0
){
//只有在.genjin-mark-area-putong,电话跟进特有,下的标签才会隐藏
genjinSave
(
'sp1'
);
return
false
;
}
};
});
//跟进的提交按钮点击事件
_btnSave
.
click
(
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
genjinSave
();
});
function
genjinSave
(
type
){
var
_genjinMarkOBj
=
$
(
'.genjin-mark-area-zhuangtai .genjin-mark-active'
),
_genjinMarkOBj2
=
$
(
'.genjin-mark-area-putong .genjin-mark-active'
),
_beizhuObjVal
=
$
.
trim
(
_beizhuObj
.
val
()),
...
...
@@ -427,14 +424,20 @@ function loadMain(){
// return false;
// };
if
((
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'1'
)
||
(
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'4'
)){
// if((_genjinMarkOBj2.attr('data-markid') == '1') || (_genjinMarkOBj2.attr('data-markid') == '4')){
//
// }else{
// if(_genjinMarkOBj.length == 0){
// layerTipsX('请选择状态跟进标签');
// return false;
// };
// };
}
else
{
if
(
_genjinMarkOBj
.
length
==
0
){
layerTipsX
(
'请选择状态跟进标签'
);
return
false
;
};
};
var
_data
=
{
'AuthToken'
:
_token
,
'content'
:
_beizhuObjVal
,
...
...
@@ -442,17 +445,6 @@ function loadMain(){
'agent_id'
:
_userId
,
'user_status'
:
_genjinMarkOBj
.
attr
(
'data-markid'
)
};
if
(
type
===
'sp1'
){
if
(
_beizhuObjVal
){
}
else
{
_data
[
'content'
]
=
'未打通'
;
};
if
(
_genjinMarkOBj
.
length
==
0
){
_data
[
'user_status'
]
=
'-1'
;
};
};
if
(
isCallFlag
){
//电话跟进
if
(
_genjinMarkOBj2
.
length
==
0
){
...
...
@@ -518,7 +510,8 @@ function loadMain(){
};
}
});
}
});
function
freePhone
(
obj
){
$
.
ajax
({
...
...
public/app/js/customerinfo_details_new_081001.js
0 → 100644
View file @
9e33a220
This diff is collapsed.
Click to expand it.
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