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
bf3a1f05
Commit
bf3a1f05
authored
Aug 23, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拨打电话修改
parent
abf9e488
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
21 deletions
+31
-21
shop_detail_pc.js
public/app/js/shop_detail_pc.js
+9
-8
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+7
-4
myCollectionUserList.js
public/resource/js/myCollectionUserList.js
+7
-4
user.js
public/resource/js/user.js
+8
-5
No files found.
public/app/js/shop_detail_pc.js
View file @
bf3a1f05
...
...
@@ -14,8 +14,8 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'], functio
isGenjinSave
:
false
,
//是否正在保存跟进
selectPhone
:
''
,
//所选中的号码
telHide
:
''
,
//拨打隐号返回的号码
activeLandlordPhone
:
''
,
//当前点击的房东号码
activeLandlord
Name
:
''
,
//当前点击的房东姓名
tempFollowId
:
''
,
//临时的跟进id
activeLandlord
:
''
,
//当前点击的房东
content
:
''
,
//跟进的内容,填写
d
:
{}
},
...
...
@@ -191,8 +191,7 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'], functio
},
showModal1
(
t
)
{
let
_this
=
this
;
_this
.
activeLandlordPhone
=
t
.
phone
;
_this
.
activeLandlordName
=
t
.
name
;
_this
.
activeLandlord
=
t
;
_this
.
modalShow1
=
true
;
},
//点击拨打,调用隐号接口
...
...
@@ -217,7 +216,7 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'], functio
//url: '/index/bindAXB',
data
:
{
'phone_a'
:
_this
.
selectPhone
,
'phone_b'
:
_this
.
activeLandlord
P
hone
,
'phone_b'
:
_this
.
activeLandlord
.
p
hone
,
'AuthToken'
:
_this
.
user_info_obj
.
AuthToken
},
timeout
:
30000
,
...
...
@@ -228,6 +227,7 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'], functio
success
:
function
(
_data
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
telHide
=
_data
.
data
.
phone
;
_this
.
tempFollowId
=
_data
.
data
.
follow_id
;
console
.
log
(
_this
.
telHide
);
_this
.
modalShow1
=
false
;
_this
.
modalShow2
=
true
;
...
...
@@ -274,9 +274,10 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'], functio
'agent_phone'
:
_this
.
user_info_obj
.
phone
,
'agent_name'
:
_this
.
user_info_obj
.
name
,
'house_id'
:
_this
.
d
.
id
,
'follow_id'
:
_this
.
tempFollowId
,
'follow_up_info'
:
_this
.
content
,
'landlord_phone'
:
_this
.
activeLandlord
P
hone
,
'landlord_name'
:
_this
.
activeLandlord
N
ame
'landlord_phone'
:
_this
.
activeLandlord
.
p
hone
,
'landlord_name'
:
_this
.
activeLandlord
.
n
ame
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -312,7 +313,7 @@ require(['vue', 'css!style/shop_detail_pc.css', 'jquery0325', 'common'], functio
url
:
'/index/agentsUnBind'
,
data
:
{
'phone_a'
:
_this
.
selectPhone
,
//经纪人手机号
'phone_b'
:
_this
.
activeLandlord
P
hone
,
//客户手机号
'phone_b'
:
_this
.
activeLandlord
.
p
hone
,
//客户手机号
'phone_x'
:
_this
.
telHide
,
//中间号
'AuthToken'
:
_this
.
user_info_obj
.
AuthToken
},
...
...
public/resource/js/RemarkFollowIndex.js
View file @
bf3a1f05
...
...
@@ -19,7 +19,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
_userPhone
=
user_info_obj
.
phone
,
//当前用户的手机号
_selectPhone
=
''
,
//拨号列表里选择的号码,也是当前用户对应的手机号,可能和_userPhone是一样的
_customerPhone
=
''
,
//当前客户的手机号
_backPhone
=
''
;
//绑定之后返回的号码
_backPhone
=
''
,
//绑定之后返回的号码
_temp_follow_id
=
''
;
//临时的跟进id
var
user
=
{
pageNo
:
1
,
...
...
@@ -540,6 +541,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
else
{
_data
[
'labels_id'
]
=
_genjinMarkOBj2
.
attr
(
'data-markid'
);
_data
[
'type'
]
=
0
;
_data
[
'follow_id'
]
=
_temp_follow_id
;
//跟进id
(
_genjinMarkOBj2
.
attr
(
'data-free'
)
==
0
)
&&
(
_isFreeFlag
=
false
);
}
}
else
{
...
...
@@ -596,7 +598,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
function
freePhone
(
obj
){
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/
index
/agentsUnBind'
,
url
:
ServerHostTempC
+
'/
broker
/agentsUnBind'
,
data
:
{
'AuthToken'
:
_token
,
'phone_x'
:
_backPhone
,
...
...
@@ -813,7 +815,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
if
(
_selectPhone
&&
user
.
customerInfo
.
user_phone
){
$
.
ajax
({
type
:
'POST'
,
url
:
'/
index
/bindAXB'
,
url
:
'/
broker
/bindAXB'
,
data
:
{
'AuthToken'
:
_token
,
'phone_a'
:
_selectPhone
,
...
...
@@ -830,6 +832,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
_backPhone
=
data
[
'data'
][
'data'
][
'phone'
];
_temp_follow_id
=
data
[
'data'
][
'follow_id'
];
//临时的跟进id
console
.
log
(
_backPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
$
(
'.call-hide-area>p:nth-of-type(3)'
).
html
(
_backPhone
);
...
...
@@ -1089,7 +1092,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
console
.
log
(
params
);
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/
index
/agentsUnBind'
,
'url'
:
'/
broker
/agentsUnBind'
,
data
:
params
,
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
public/resource/js/myCollectionUserList.js
View file @
bf3a1f05
...
...
@@ -19,7 +19,8 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
_userPhone
=
user_info_obj
.
phone
,
//当前用户的手机号
_selectPhone
=
''
,
//拨号列表里选择的号码,也是当前用户对应的手机号,可能和_userPhone是一样的
_customerPhone
=
''
,
//当前客户的手机号
_backPhone
=
''
;
//绑定之后返回的号码
_backPhone
=
''
,
//绑定之后返回的号码
_temp_follow_id
=
''
;
//临时的跟进id
var
user
=
{
pageNo
:
1
,
...
...
@@ -552,6 +553,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
}
else
{
_data
[
'labels_id'
]
=
_genjinMarkOBj2
.
attr
(
'data-markid'
);
_data
[
'type'
]
=
0
;
_data
[
'follow_id'
]
=
_temp_follow_id
;
//跟进id
(
_genjinMarkOBj2
.
attr
(
'data-free'
)
==
0
)
&&
(
_isFreeFlag
=
false
);
}
}
else
{
...
...
@@ -608,7 +610,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
function
freePhone
(
obj
){
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/
index
/agentsUnBind'
,
url
:
ServerHostTempC
+
'/
broker
/agentsUnBind'
,
data
:
{
'AuthToken'
:
_token
,
'phone_x'
:
_backPhone
,
...
...
@@ -825,7 +827,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
if
(
_selectPhone
&&
user
.
customerInfo
.
user_phone
){
$
.
ajax
({
type
:
'POST'
,
url
:
'/
index
/bindAXB'
,
url
:
'/
broker
/bindAXB'
,
data
:
{
'AuthToken'
:
_token
,
'phone_a'
:
_selectPhone
,
...
...
@@ -842,6 +844,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
_backPhone
=
data
[
'data'
][
'data'
][
'phone'
];
_temp_follow_id
=
data
[
'data'
][
'follow_id'
];
//临时的跟进id
console
.
log
(
_backPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
$
(
'.call-hide-area>p:nth-of-type(3)'
).
html
(
_backPhone
);
...
...
@@ -1098,7 +1101,7 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
console
.
log
(
params
);
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/
index
/agentsUnBind'
,
'url'
:
'/
broker
/agentsUnBind'
,
data
:
params
,
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
public/resource/js/user.js
View file @
bf3a1f05
...
...
@@ -18,7 +18,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
_userPhone
=
user_info_obj
.
phone
,
//当前用户的手机号
_selectPhone
=
''
,
//拨号列表里选择的号码,也是当前用户对应的手机号,可能和_userPhone是一样的
_customerPhone
=
''
,
//当前客户的手机号
_backPhone
=
''
;
//绑定之后返回的号码
_backPhone
=
''
,
//绑定之后返回的号码
_temp_follow_id
=
''
;
//临时的跟进id
var
user
=
{
...
...
@@ -679,6 +680,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
else
{
_data
[
'labels_id'
]
=
_genjinMarkOBj2
.
attr
(
'data-markid'
);
_data
[
'type'
]
=
0
;
_data
[
'follow_id'
]
=
_temp_follow_id
;
//跟进id
(
_genjinMarkOBj2
.
attr
(
'data-free'
)
==
0
)
&&
(
_isFreeFlag
=
false
);
}
}
else
{
...
...
@@ -735,7 +737,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
function
freePhone
(
obj
){
$
.
ajax
({
type
:
'POST'
,
url
:
'/
index
/agentsUnBind'
,
url
:
'/
broker
/agentsUnBind'
,
data
:
{
'AuthToken'
:
_token
,
'phone_x'
:
_backPhone
,
...
...
@@ -952,7 +954,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
if
(
_selectPhone
&&
user
.
customerInfo
.
user_phone
){
$
.
ajax
({
type
:
'POST'
,
url
:
'/
index
/bindAXB'
,
url
:
'/
broker
/bindAXB'
,
data
:
{
'AuthToken'
:
_token
,
'phone_a'
:
_selectPhone
,
...
...
@@ -969,6 +971,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
_backPhone
=
data
[
'data'
][
'data'
][
'phone'
];
_temp_follow_id
=
data
[
'data'
][
'follow_id'
];
//临时的跟进id
console
.
log
(
_backPhone
);
$
(
'.call-hide-area>p:nth-of-type(1)>span'
).
html
(
_selectPhone
);
$
(
'.call-hide-area>p:nth-of-type(3)'
).
html
(
_backPhone
);
...
...
@@ -1247,7 +1250,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
console
.
log
(
params
);
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/
index
/bindAXB'
,
'url'
:
'/
broker
/bindAXB'
,
data
:
params
,
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
@@ -1272,7 +1275,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
console
.
log
(
params
);
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/
index
/agentsUnBind'
,
'url'
:
'/
broker
/agentsUnBind'
,
data
:
params
,
dataType
:
"json"
,
success
:
function
(
data
)
{
...
...
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