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
abfaf3fb
Commit
abfaf3fb
authored
Jan 11, 2019
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拨打电话修改
parent
7649a1b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
25 deletions
+22
-25
user_genjing_modal.js
public/resource/js/user_genjing_modal.js
+22
-25
No files found.
public/resource/js/user_genjing_modal.js
View file @
abfaf3fb
...
@@ -645,8 +645,8 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -645,8 +645,8 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
if
(
!
_this
.
hasClass
(
'genjin-mark-active'
)){
if
(
!
_this
.
hasClass
(
'genjin-mark-active'
)){
_this
.
addClass
(
'genjin-mark-active'
).
siblings
().
removeClass
(
'genjin-mark-active'
);
_this
.
addClass
(
'genjin-mark-active'
).
siblings
().
removeClass
(
'genjin-mark-active'
);
};
};
if
(
_this
.
attr
(
'data-markid'
)
==
'1'
){
if
(
_this
.
attr
(
'data-markid'
)
==
'1'
||
_this
.
attr
(
'data-markid'
)
==
'4'
){
//如果选择了未打通,则直接关闭
//如果选择了未打通,
或者取消拨打,
则直接关闭
if
(
_this
.
parent
().
parent
().
index
()
===
0
){
if
(
_this
.
parent
().
parent
().
index
()
===
0
){
//只有在.genjin-mark-area-putong,电话跟进特有,下的标签才会隐藏
//只有在.genjin-mark-area-putong,电话跟进特有,下的标签才会隐藏
//genjinSave('sp1');
//genjinSave('sp1');
...
@@ -669,8 +669,13 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -669,8 +669,13 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
_genjinMarkOBj2
=
$
(
'.genjin-mark-area-putong .genjin-mark-active'
),
_genjinMarkOBj2
=
$
(
'.genjin-mark-area-putong .genjin-mark-active'
),
_beizhuObjVal
=
$
.
trim
(
_beizhuObj
.
val
()),
_beizhuObjVal
=
$
.
trim
(
_beizhuObj
.
val
()),
_isFreeFlag
=
true
;
//是否释放
_isFreeFlag
=
true
;
//是否释放
//取消自动关闭
if
((
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'1'
)){
if
(
_beizhuObjVal
==
''
){
layerTipsX
(
'请填写跟进信息'
);
return
false
;
};
if
((
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'1'
)
||
(
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'4'
)){
//如果选择了未打通,或取消拨打,则直接关闭
//如果选择了未打通,或取消拨打,则直接关闭
if
(
isCallFlag
&&
_isFreeFlag
){
if
(
isCallFlag
&&
_isFreeFlag
){
//释放
//释放
...
@@ -678,10 +683,6 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -678,10 +683,6 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
};
};
_genjinModal
.
hide
();
//跟进模态框关闭
_genjinModal
.
hide
();
//跟进模态框关闭
return
false
;
return
false
;
};
if
((
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'1'
)
||
(
_genjinMarkOBj2
.
attr
(
'data-markid'
)
==
'4'
)){
}
else
{
}
else
{
if
(
_genjinMarkOBj
.
length
==
0
){
if
(
_genjinMarkOBj
.
length
==
0
){
layerTipsX
(
'请选择状态跟进标签'
);
layerTipsX
(
'请选择状态跟进标签'
);
...
@@ -695,19 +696,20 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -695,19 +696,20 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
'agent_id'
:
_userId
,
'agent_id'
:
_userId
,
'user_status'
:
_genjinMarkOBj
.
attr
(
'data-markid'
)
'user_status'
:
_genjinMarkOBj
.
attr
(
'data-markid'
)
};
};
if
(
type
===
'sp1'
){
//
if(type === 'sp1'){
if
(
_beizhuObjVal
){
//
if(_beizhuObjVal){
//
}
else
{
//
}else{
_data
[
'content'
]
=
'未打通'
;
//
_data['content'] = '未打通';
};
//
};
//
if
(
_genjinMarkOBj
.
length
==
0
){
//
if(_genjinMarkOBj.length == 0){
_data
[
'user_status'
]
=
user
.
customerInfo
.
user_status
;
//
_data['user_status'] = user.customerInfo.user_status;
};
//
};
};
//
};
if
(
isCallFlag
){
if
(
isCallFlag
){
//电话跟进
//电话跟进
if
(
_genjinMarkOBj2
.
length
==
0
){
if
(
_genjinMarkOBj2
.
length
==
0
){
layerTipsX
(
'请选择普通跟进标签'
);
layerTipsX
(
'请选择普通跟进标签'
);
return
false
;
return
false
;
...
@@ -719,12 +721,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
...
@@ -719,12 +721,7 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
}
}
}
else
{
}
else
{
//普通跟进
//普通跟进
if
(
_beizhuObjVal
==
''
){
_data
[
'type'
]
=
1
;
layerTipsX
(
'请填写跟进信息'
);
return
false
;
}
else
{
_data
[
'type'
]
=
1
;
}
};
};
$
.
ajax
({
$
.
ajax
({
...
...
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