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
361f0663
Commit
361f0663
authored
Aug 07, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情 跟进动态区分城市
parent
ae8102e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
16 deletions
+34
-16
user_genjing_modal.html
application/index/view/member/user_genjing_modal.html
+14
-6
user_genjing_modal.js
public/resource/js/user_genjing_modal.js
+20
-10
No files found.
application/index/view/member/user_genjing_modal.html
View file @
361f0663
...
...
@@ -707,12 +707,20 @@
</table>
</div>
<div
class=
"clear modal-title-genjing"
>
<span
class=
"modal-title-genjing-con"
>
<span
class=
"btn-info-liu"
>
客户动态
</span>
<span>
带看动态
</span>
</span>
</div>
<span
class=
"modal-title-genjing-con"
>
<span
class=
"btn-info-liu"
>
客户动态
</span>
<span>
带看动态
</span>
</span>
<!--城市筛选-->
<select
class=
"user_city_list"
style=
"font-size: 14px;font-weight: 500;float: right;margin-top: 8px;"
>
<option
value=
""
>
选择城市
</option>
<option
value=
"10001"
>
上海市
</option>
<option
value=
"10002"
>
杭州市
</option>
<option
value=
"10003"
>
深圳市
</option>
<option
value=
"10004"
>
广州市
</option>
<option
value=
"10005"
>
北京市
</option>
</select>
</div>
<div
id=
"gen_jing_user"
>
<div>
<div
class=
"follow-up-modal-list-area"
style=
"height: 212px"
>
...
...
public/resource/js/user_genjing_modal.js
View file @
361f0663
...
...
@@ -135,14 +135,22 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
$
(
'.follow-up-modal-list-area:nth-of-type(1)'
).
show
().
siblings
().
hide
();
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
//客户详情 默认跟进动态的城市
$
(
'.user_city_list'
).
val
(
user_info_obj
.
site_id
);
user
.
getSiteTagsEdit
();
//详情 跟进 带看
user
.
Caozuo
();
$
(
'#caozuo_table2'
).
html
(
''
);
user
.
pageNoUser
=
1
;
// user.getGenjincon();
// user.getUserLogNew();//客户详情获取最近一条带看动态
// user.getGenjinLabel();
//点击城市选择 更新动态
$
(
'.user_city_list'
).
on
(
'change'
,
function
(){
user
.
pageNoUser
=
1
;
$
(
'#caozuo_table2'
).
html
(
''
);
user
.
isExitsNew
=
0
user
.
getGenjincon
();
user
.
getUserLog
(
2
);
});
_doc
.
delegate
(
".caozuo-yue"
,
"click"
,
function
()
{
//约带看初始化
$
(
'#look_shop_date'
).
val
(
''
);
...
...
@@ -936,7 +944,9 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
data
:
{
"user_id"
:
user
.
user_id
,
"type"
:
type
,
"entrust_type"
:
user
.
entrustType
"entrust_type"
:
user
.
entrustType
,
// "site_id": $('.user_city_list').val(),
},
dataType
:
'json'
,
success
:
function
(
data
)
{
...
...
@@ -1098,7 +1108,8 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
data
:
{
"user_id"
:
user
.
user_id
,
"type"
:
1
,
"entrust_type"
:
user
.
entrustType
"entrust_type"
:
user
.
entrustType
,
},
dataType
:
'json'
,
success
:
function
(
data
)
{
...
...
@@ -1484,7 +1495,8 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
"user_id"
:
user
.
user_id
,
"page_no"
:
user
.
pageNoUser
,
"page_size"
:
30
,
"entrust_type"
:
user
.
entrustType
"entrust_type"
:
user
.
entrustType
,
// "site_id": $('.user_city_list').val(),
},
dataType
:
'json'
,
...
...
@@ -1545,7 +1557,8 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
"user_id"
:
user
.
user_id
,
"page_no"
:
user
.
pageNoUser
,
"page_size"
:
30
,
"entrust_type"
:
user
.
entrustType
"entrust_type"
:
user
.
entrustType
,
// "site_id": $('.user_city_list').val(),
},
dataType
:
'json'
,
...
...
@@ -1659,10 +1672,8 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
params
.
type
=
user_type
;
params
.
AuthToken
=
user_info_obj
.
AuthToken
;
params
.
site_id
=
$
(
parent
.
document
.
querySelector
(
'.user_city_choose_site_list'
)).
val
();
// checkLogin();
$
.
ajax
({
url
:
'/broker/getLastOrNextUserID'
,
// url: 'https://pre2.tonglianjituan.com'+'/broker/getLastOrNextUserID',
type
:
'GET'
,
async
:
true
,
data
:
params
,
...
...
@@ -1677,7 +1688,6 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
$
(
'.call-user-five'
).
html
(
data
.
msg
);
$
(
'.detail-modal-body-sec-2'
).
hide
();
}
console
.
log
(
670
)
user
.
Caozuo
();
user
.
getUserLogNew
();
user
.
pageNoUser
=
1
;
...
...
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