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
49c2ce13
Commit
49c2ce13
authored
Apr 20, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
69b1de42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
users_list.html
application/index/view/member/users_list.html
+7
-7
user.js
public/resource/js/user.js
+9
-3
No files found.
application/index/view/member/users_list.html
View file @
49c2ce13
...
@@ -125,16 +125,16 @@
...
@@ -125,16 +125,16 @@
<select
class=
"form-control btn2 margin-top-ld"
name=
"male_status"
>
<select
class=
"form-control btn2 margin-top-ld"
name=
"male_status"
>
<option
value=
"-1"
>
是否公客
</option>
<option
value=
"-1"
>
是否公客
</option>
<option
value=
"
1
"
>
是
</option>
<option
value=
"
2
"
>
是
</option>
<option
value=
"
2
"
>
否
</option>
<option
value=
"
1
"
>
否
</option>
</select>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"guest_department"
placeholder=
"客方所属部门"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"guest_department"
placeholder=
"客方所属部门"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"guest_stores"
placeholder=
"客方所属门店"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"guest_stores"
placeholder=
"客方所属门店"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 margin-top-ld"
name=
"
guest
_status"
>
<select
class=
"form-control btn2 margin-top-ld"
name=
"
public
_status"
>
<option
value=
"
-1
"
>
客户状态
</option>
<option
value=
"
2
"
>
客户状态
</option>
<option
value=
"
1
"
>
未租
</option>
<option
value=
"
0
"
>
未租
</option>
<option
value=
"
2
"
>
已租
</option>
<option
value=
"
1
"
>
已租
</option>
<option
value=
"
3
"
>
无效
</option>
<option
value=
"
-1
"
>
无效
</option>
</select>
</select>
<!-- <span class="btn btn-default btn3 margin-top-ld search_1">搜索</span>
<!-- <span class="btn btn-default btn3 margin-top-ld search_1">搜索</span>
<span class="btn btn-default btn3 margin-top-ld search_1">重置</span> -->
<span class="btn btn-default btn3 margin-top-ld search_1">重置</span> -->
...
...
public/resource/js/user.js
View file @
49c2ce13
...
@@ -232,23 +232,29 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
...
@@ -232,23 +232,29 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
}
}
});
});
},
},
//筛选
getList
:
function
(
pageNo
)
{
getList
:
function
(
pageNo
)
{
user
.
pageNo
=
pageNo
;
user
.
pageNo
=
pageNo
;
var
params
=
{};
var
params
=
{};
// 输入 name
params
.
name
=
$
(
"input[name='user']"
).
val
();
params
.
phone
=
$
(
"input[name='phone']"
).
val
();
params
.
phone
=
$
(
"input[name='phone']"
).
val
();
params
.
invite_phone
=
$
(
"input[name='invite_phone']"
).
val
();
params
.
invite_phone
=
$
(
"input[name='invite_phone']"
).
val
();
params
.
invite
=
$
(
"input[name='invite']"
).
val
();
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
.
follow_start
=
$
(
"#follow_start"
).
val
();
params
.
follow_start
=
$
(
"#follow_start"
).
val
();
params
.
follow_end
=
$
(
"#follow_end"
).
val
();
params
.
follow_end
=
$
(
"#follow_end"
).
val
();
params
.
login_status
=
$
(
"select[name=login_status]"
).
val
();
params
.
login_status
=
$
(
"select[name=login_status]"
).
val
();
params
.
activate
=
$
(
"select[name=activate]"
).
val
();
params
.
activate
=
$
(
"select[name=activate]"
).
val
();
params
.
rent_user
=
$
(
"select[name=lguest_status]"
).
val
();
params
.
public_user
=
$
(
"select[name=public_status]"
).
val
();
params
.
store_name
=
$
(
"#guest_stores"
).
val
();
params
.
district_name
=
$
(
"#guest_department"
).
val
()
params
.
pageNo
=
user
.
pageNo
;
params
.
pageNo
=
user
.
pageNo
;
params
.
pageSize
=
user
.
pageSize
;
params
.
pageSize
=
user
.
pageSize
;
$
.
ajax
({
$
.
ajax
({
url
:
'/index/usersList'
,
url
:
'/index/users_list'
,
// /index/users_list
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
params
,
data
:
params
,
...
...
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