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
fead0bb9
Commit
fead0bb9
authored
Jun 08, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
049e5859
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
12 deletions
+37
-12
users_list.html
application/index/view/member/users_list.html
+11
-5
user.js
public/resource/js/user.js
+24
-5
user_template_tpl.html
public/resource/template/user_template_tpl.html
+2
-2
No files found.
application/index/view/member/users_list.html
View file @
fead0bb9
...
...
@@ -176,14 +176,14 @@
</select>
<!--业态选择-->
<select
class=
"form-control btn2 margin-top-ld"
name=
"login_status"
>
<option
value=
"-1"
>
是否登录过
</option>
<option
value=
"-1"
>
下载登录app
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"2"
>
否
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"activate"
>
<option
value=
"-1"
>
APP状态筛选
</option>
<option
value=
"1"
>
激活
</option>
<option
value=
"2"
>
未激活
</option>
<option
value=
"-1"
>
是否注册app
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"2"
>
否
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"male_status"
>
...
...
@@ -196,6 +196,12 @@
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"guest_stores"
placeholder=
"客方所属门店"
type=
"text"
value=
""
>
<!--邀请人-->
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id2"
placeholder=
""
>
</select>
<input
class=
"form-control btn2 margin-top-ld input"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"guest_stores2"
placeholder=
"邀请人所属门店"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 margin-top-ld"
name=
"public_status"
>
<option
value=
"2"
>
客户状态
</option>
...
...
@@ -223,7 +229,7 @@
<th
class=
"text-center"
>
创建时间
</th>
<th
class=
"text-center"
>
最后跟进时间
</th>
<th
class=
"text-center"
>
App状态
</th>
<th
class=
"text-center"
>
是否登录过
</th>
<th
class=
"text-center"
>
下载登录
</th>
<th
class=
"text-center"
>
昵称
</th>
<th
class=
"text-center"
>
注册时间
</th>
<th
class=
"text-center"
>
操作
</th>
...
...
public/resource/js/user.js
View file @
fead0bb9
...
...
@@ -12,6 +12,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
user
.
getList
();
user
.
event
();
user
.
getDistrict
();
user
.
getDistricttwo
();
//时间控件初始化
/* $('#datetimepicker').datetimepicker({
format: 'yyyy-MM-dd',
...
...
@@ -393,7 +394,9 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
params
.
rent_user
=
$
(
"select[name=public_status]"
).
val
();
params
.
public_user
=
$
(
"select[name=male_status]"
).
val
();
params
.
store_name
=
$
(
"#guest_stores"
).
val
();
params
.
district_id
=
$
(
"#district_id"
).
val
()
params
.
referrer_store_name
=
$
(
"#guest_stores2"
).
val
();
params
.
district_name
=
$
(
"#district_id"
).
val
()
params
.
referrer_district_id
=
$
(
"#district_id2"
).
val
()
params
.
login_status
=
$
(
"select[name=login_status]"
).
val
();
params
.
activate
=
$
(
"select[name=activate]"
).
val
();
params
.
pageNo
=
user
.
pageNo
;
...
...
@@ -403,10 +406,6 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
params
.
price_type
=
$
(
"select[name=price_type]"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type]"
).
val
();
$
.
ajax
({
url
:
'/index/users_list'
,
type
:
'GET'
,
...
...
@@ -524,6 +523,26 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
district_name
+
'</option>'
;
});
$
(
"#district_id"
).
html
(
str
);
}
}
});
},
getDistricttwo
:
function
()
{
$
.
ajax
({
url
:
'/index/getDistrict'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"pageSize"
:
50
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
var
str
=
'<option value="-1">邀请人所属部门</option>'
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
district_name
+
'</option>'
;
});
$
(
"#district_id2"
).
html
(
str
);
}
}
});
...
...
public/resource/template/user_template_tpl.html
View file @
fead0bb9
...
...
@@ -17,9 +17,9 @@
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"status"
]
==
-
1
)
{
%
]
未
激活
未
注册
[
%
}
else
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
已激活
注册
[
%
}
else
{
%
]
删除
[
%
}
%
]
...
...
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