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
10a560f0
Commit
10a560f0
authored
Aug 27, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加高级搜索
parent
9469c0cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
103 deletions
+120
-103
users_list.html
application/index/view/member/users_list.html
+105
-101
user.js
public/resource/js/user.js
+15
-2
No files found.
application/index/view/member/users_list.html
View file @
10a560f0
...
...
@@ -310,7 +310,9 @@
.form-control
[
disabled
]
{
background-color
:
#fff
;
}
.main-select
{
display
:
none
;
}
</style>
<!--导航star-->
...
...
@@ -352,37 +354,12 @@
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"start_date"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date"
name=
"end_date"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
注册时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"registration_start"
name=
"registration_start"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"registration_end"
name=
"registration_end"
type=
"date"
>
<!--<span class="fore-span ld-Marheight">最后跟进时间:</span>-->
<!--<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="follow_start" name="follow_start" type="date">-->
<!--<span class="fore-span ld-Marheight">-</span>-->
<!--<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="follow_end" name="follow_end" type="date">-->
<!--<div class="row"></div>-->
<!-- <span class="fore-span ld-Marheight">第一次登录时间:</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="login_start" name="login_start" type="date">
<span class="fore-span ld-Marheight">-</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="login_end" name="login_end" type="date"> -->
<!-- <div class="row"></div> -->
<!--版本 2.2-->
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"userID"
placeholder=
"客户ID"
type=
"text"
value=
""
>
<span
class=
"fore-span ld-Marheight"
>
VIP客户:
</span>
<select
class=
"form-control btn4 ld-Marheight"
id=
"user_vip_select"
>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
<select
class=
"form-control btn2 margin-top-ld"
name=
"public_status"
>
<option
value=
"2"
>
客户状态
</option>
<option
value=
"0"
>
求租
</option>
<option
value=
"1"
>
已租
</option>
<option
value=
"-1"
>
无效
</option>
</select>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"user"
placeholder=
"客户姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"phone"
placeholder=
"客户手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"invite_phone"
placeholder=
"邀请人(C端用户)手机号"
type=
"text"
value=
""
>
<!--业态选择-->
<select
class=
"form-control btn2 margin-top-ld"
name=
"industry_type"
>
<option
value=
""
>
业态选择
</option>
...
...
@@ -392,7 +369,6 @@
<option>
服装
</option>
<option>
亲子教育
</option>
<option>
休闲娱乐
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"price_type"
>
<option
value=
""
>
价格需求
</option>
...
...
@@ -407,75 +383,103 @@
<option
value=
"3"
>
60㎡-100㎡
</option>
<option
value=
"4"
>
100㎡以上
</option>
</select>
<!--业态选择-->
<select
class=
"form-control btn2 margin-top-ld"
name=
"login_status"
>
<option
value=
""
>
下载登录app
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"2"
>
否
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"activate"
>
<option
value=
""
>
是否注册app
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"2"
>
否
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"male_status"
>
<option
value=
""
>
是否公客
</option>
<option
value=
"2"
>
否
</option>
<option
value=
"1"
>
是
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"public_status"
>
<option
value=
"2"
>
客户状态
</option>
<option
value=
"0"
>
求租
</option>
<option
value=
"1"
>
已租
</option>
<option
value=
"-1"
>
无效
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
<option
value=
""
>
客方所属部门
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"guest_stores"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
value=
""
>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"user_agent"
placeholder=
"客方手机号"
type=
"text"
value=
""
>
<!--邀请人-->
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id2"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
<option
value=
""
>
邀请人所属部门
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"guest_stores2"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"invite_agent_phone"
placeholder=
"邀请人(经纪人)手机号"
type=
"text"
value=
""
>
<!--<div class="clear"></div>-->
<!--<span class='left bottom'>(注:客方所属部门,客方所属门店与邀请人所属部门,邀请人所属门店不作为并列筛选项)</span>-->
<span
class=
"fore-span ld-Marheight"
>
首次登录时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"first_login_start"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"first_login_end"
type=
"date"
>
<div
class=
"clear"
></div>
<!--<select class="form-control btn2 ld-Marheight" id="user_city_choose">
<option value="" selected="selected">城市筛选</option>
<option value="310100">上海市</option>
<option value="330100">杭州市</option>
</select>-->
<span
class=
"btn btn-info btn3 margin-top-ld"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 margin-top-ld"
id=
"reset"
>
重置
</span>
<!--<a class="btn btn-info btn3 margin-top-ld user-favorites"> 收藏夹 </a>-->
<a
href=
"#modal_modify_user"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
><i
class=
"icon-plus"
></i>
批量修改客方
</a>
<!-- 本人商铺 -->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"persional_custom"
title=
"点击切换到本人客户"
>
本人客户
</span>
<!-- <span class="btn btn-info btn3 margin-top-ld" id="modify">批量修改客方</span> -->
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"userID"
placeholder=
"客户ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"phone"
placeholder=
"客户手机号"
type=
"text"
value=
""
>
<br/>
<div
class=
"col-xs-12 main-select"
style=
"padding:0px"
>
<span
class=
"fore-span ld-Marheight"
>
注册时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"registration_start"
name=
"registration_start"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"registration_end"
name=
"registration_end"
type=
"date"
>
<!--<span class="fore-span ld-Marheight">最后跟进时间:</span>-->
<!--<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="follow_start" name="follow_start" type="date">-->
<!--<span class="fore-span ld-Marheight">-</span>-->
<!--<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="follow_end" name="follow_end" type="date">-->
<!--<div class="row"></div>-->
<!-- <span class="fore-span ld-Marheight">第一次登录时间:</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="login_start" name="login_start" type="date">
<span class="fore-span ld-Marheight">-</span>
<input class="form-control btn4 ld-Marheight" value="" data-rule-phoneus="false" data-rule-required="false" id="login_end" name="login_end" type="date"> -->
<!-- <div class="row"></div> -->
<!--版本 2.2-->
<span
class=
"fore-span ld-Marheight"
>
VIP客户:
</span>
<select
class=
"form-control btn4 ld-Marheight"
id=
"user_vip_select"
>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"user"
placeholder=
"客户姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"invite_phone"
placeholder=
"邀请人(C端用户)手机号"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 margin-top-ld"
name=
"login_status"
>
<option
value=
""
>
下载登录app
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"2"
>
否
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"activate"
>
<option
value=
""
>
是否注册app
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"2"
>
否
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"male_status"
>
<option
value=
""
>
是否公客
</option>
<option
value=
"2"
>
否
</option>
<option
value=
"1"
>
是
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
<option
value=
""
>
客方所属部门
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"guest_stores"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
value=
""
>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"user_agent"
placeholder=
"客方手机号"
type=
"text"
value=
""
>
<!--邀请人-->
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id2"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
<option
value=
""
>
邀请人所属部门
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"guest_stores2"
title=
"
客方所属部门、客方所属门店 与邀请人所属部门、邀请人所属门店 不作为并列筛选项"
>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"invite_agent_phone"
placeholder=
"邀请人(经纪人)手机号"
type=
"text"
value=
""
>
<!--<div class="clear"></div>-->
<!--<span class='left bottom'>(注:客方所属部门,客方所属门店与邀请人所属部门,邀请人所属门店不作为并列筛选项)</span>-->
<span
class=
"fore-span ld-Marheight"
>
首次登录时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"first_login_start"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"first_login_end"
type=
"date"
>
<div
class=
"clear"
></div>
<!--<select class="form-control btn2 ld-Marheight" id="user_city_choose">
<option value="" selected="selected">城市筛选</option>
<option value="310100">上海市</option>
<option value="330100">杭州市</option>
</select>-->
</div>
<div
class=
"col-xs-12"
style=
"padding:0px"
>
<span
class=
"btn btn-info btn3 margin-top-ld"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 margin-top-ld"
id=
"reset"
>
重置
</span>
<!--<a class="btn btn-info btn3 margin-top-ld user-favorites"> 收藏夹 </a>-->
<a
href=
"#modal_modify_user"
data-toggle=
"modal"
class=
"btn btn-info btn3 margin-top-ld"
><i
class=
"icon-plus"
></i>
批量修改客方
</a>
<!-- 本人商铺 -->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"persional_custom"
title=
"点击切换到本人客户"
>
本人客户
</span>
<!-- 高级搜索-->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"main_select"
title=
"高级搜索"
>
高级搜索
</span>
<!-- <span class="btn btn-info btn3 margin-top-ld" id="modify">批量修改客方</span> -->
</div>
</form>
</td>
...
...
public/resource/js/user.js
View file @
10a560f0
...
...
@@ -43,6 +43,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user_id_edit_introduce
:
''
,
customerInfo
:
{},
all_custom
:
true
,
// true :所有客户 ,false :当前客户
main_select
:
false
,
// true : 开启高级搜索 ,false :关闭高级搜索
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
...
...
@@ -334,6 +335,19 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user
.
getList
(
1
);
});
$
(
'#main_select'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(){
user
.
main_select
=
!
user
.
main_select
;
console
.
log
(
user
.
main_select
);
if
(
user
.
main_select
){
$
(
'.main-select'
).
show
();
$
(
'#main_select'
).
html
(
"关闭高级搜索"
);
}
else
{
$
(
'.main-select'
).
hide
();
$
(
'#main_select'
).
html
(
"高级搜索"
);
}
});
//新增 客户 重置信息
$
(
"#close"
).
click
(
function
()
{
document
.
getElementById
(
"add_user_form"
).
reset
();
...
...
@@ -1994,4 +2008,4 @@ function edit(obj) {
$
(
"#edit_id"
).
val
(
$
(
obj
).
attr
(
"data-id"
));
}
\ No newline at end of file
}
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