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
d814508d
Commit
d814508d
authored
Aug 22, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户跟进修改
parent
9e6ebfa6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+8
-7
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+1
-1
No files found.
public/resource/js/RemarkFollowIndex.js
View file @
d814508d
...
@@ -36,6 +36,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -36,6 +36,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
agent_id_infor
:
0
,
agent_id_infor
:
0
,
baohu
:
''
,
baohu
:
''
,
agentbaohu
:
''
,
agentbaohu
:
''
,
remark_id
:
''
,
isAjaxSaving
:
false
,
isAjaxSaving
:
false
,
customerInfo
:
{},
customerInfo
:
{},
init
:
function
()
{
init
:
function
()
{
...
@@ -277,6 +278,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -277,6 +278,7 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
user
.
user_phone
=
$
(
this
).
attr
(
"data-phone"
);
user
.
user_phone
=
$
(
this
).
attr
(
"data-phone"
);
user
.
baohu
=
$
(
this
).
attr
(
"data-baohu"
);
user
.
baohu
=
$
(
this
).
attr
(
"data-baohu"
);
user
.
agent_id_infor
=
$
(
this
).
attr
(
"data-agentId"
);
user
.
agent_id_infor
=
$
(
this
).
attr
(
"data-agentId"
);
user
.
remark_id
=
$
(
this
).
attr
(
"data-remark"
);
$
(
'.call-user-five'
).
html
(
''
);
$
(
'.call-user-five'
).
html
(
''
);
$
(
'.detail-modal-body-sec-2'
).
show
();
$
(
'.detail-modal-body-sec-2'
).
show
();
$
(
'#take_look_name'
).
html
(
$
(
this
).
attr
(
"data-name"
));
$
(
'#take_look_name'
).
html
(
$
(
this
).
attr
(
"data-name"
));
...
@@ -1520,12 +1522,11 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1520,12 +1522,11 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
getUserFavorites
:
function
(
params
)
{
//客户 收藏夹
getUserFavorites
:
function
(
params
)
{
//客户 收藏夹
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
$
.
ajax
({
$
.
ajax
({
url
:
'/broker/getLastOrNextUserID'
,
//上一页 下一页 调用接口
url
:
'/broker/getLastOrNextUserIDPhoneFollowPu'
,
//上一页 下一页 调用接口
// url: 'https://pre2.tonglianjituan.com'+'/broker/getLastOrNextUserID',
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
{
data
:
{
"
user_id"
:
user
.
user
_id
,
"
id"
:
user
.
remark
_id
,
"agent_id"
:
user_info_obj
.
id
,
"agent_id"
:
user_info_obj
.
id
,
"type"
:
user_type
,
"type"
:
user_type
,
"AuthToken"
:
user_info_obj
.
AuthToken
"AuthToken"
:
user_info_obj
.
AuthToken
...
@@ -1557,16 +1558,16 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
...
@@ -1557,16 +1558,16 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}
}
params
.
start_date
=
$
(
'#start_date'
).
val
();
params
.
start_date
=
$
(
'#start_date'
).
val
();
params
.
end_date
=
$
(
'#end_date'
).
val
();
params
.
end_date
=
$
(
'#end_date'
).
val
();
//
params.user_id = $.trim($("#customer_name_id").val());//客户编号
params
.
user_id
=
$
.
trim
(
$
(
"#customer_name_id"
).
val
());
//客户编号
params
.
disc
=
$
.
trim
(
$
(
"#user_area_choose"
).
val
());
//区域
params
.
disc
=
$
.
trim
(
$
(
"#user_area_choose"
).
val
());
//区域
params
.
user_id
=
user
.
user_id
;
// params.user_id = user.user_id;
params
.
id
=
user
.
remark_id
;
params
.
agent_id
=
user_info_obj
.
id
;
params
.
agent_id
=
user_info_obj
.
id
;
params
.
type
=
user_type
;
params
.
type
=
user_type
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
$
.
ajax
({
$
.
ajax
({
url
:
'/broker/getLastOrNextUserID'
,
//上一页 下一页 调用接口
url
:
'/broker/getLastOrNextUserIDPhoneFollowPu'
,
//上一页 下一页 调用接口
// url: 'https://pre2.tonglianjituan.com'+'/broker/getLastOrNextUserID',
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
params
,
data
:
params
,
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
d814508d
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<
td
width
=
"16%"
>
<
td
width
=
"16%"
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
]
*
1
)
||
(
it
[
item
][
'agent_id'
]
*
1
==
0
)
||
(
it
[
item
][
'agent_id'
]
*
1
==
user_info_obj
.
id
*
1
)
||
(
check_auth
(
'index/useraction_search'
)
&&
it
[
item
][
'vip'
]
*
1
==
0
))
{
%
]
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
]
*
1
)
||
(
it
[
item
][
'agent_id'
]
*
1
==
0
)
||
(
it
[
item
][
'agent_id'
]
*
1
==
user_info_obj
.
id
*
1
)
||
(
check_auth
(
'index/useraction_search'
)
&&
it
[
item
][
'vip'
]
*
1
==
0
))
{
%
]
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
baohu
=
'[%= it[item]["is_outstrip_twenty_four_hours"] %]'
>
详情
/
跟进
<
/a> 
;
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
data
-
baohu
=
'[%= it[item]["is_outstrip_twenty_four_hours"] %]'
data
-
remark
=
'[%= it[item]["id"] %]'
>
详情
/
跟进
<
/a> 
;
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
>
客户编辑
<
/a> 
;
...
...
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