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
6b0fea3e
Commit
6b0fea3e
authored
Aug 08, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表和跟进列表增加省市区搜索
parent
0b2eeba5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
Member.php
application/index/controller/Member.php
+12
-0
Remark.php
application/index/controller/Remark.php
+12
-0
No files found.
application/index/controller/Member.php
View file @
6b0fea3e
...
@@ -265,6 +265,18 @@ class Member extends Basic{
...
@@ -265,6 +265,18 @@ class Member extends Basic{
$where
[
'a.source'
]
=
[
'<>'
,
41
];
//纯房东
$where
[
'a.source'
]
=
[
'<>'
,
41
];
//纯房东
}
}
if
(
!
empty
(
$params
[
'province'
]))
{
$where
[
'a.province'
]
=
$params
[
'province'
];
}
if
(
!
empty
(
$params
[
'city'
]))
{
$where
[
'a.city'
]
=
$params
[
'city'
];
}
if
(
!
empty
(
$params
[
'disc'
]))
{
$where
[
'a.disc'
]
=
$params
[
'disc'
];
}
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,
$fields
=
'a.id,a.user_nick,a.user_name,a.user_phone,a.user_pic,a.create_time,a.user_pswd,a.referrer_id,
a.user_name,a.status,a.first_login_time,a.last_login_time,a.agent_id,a.vip,a.price_demand,a.industry_type,a.area_demand,a.user_status,a.source'
;
a.user_name,a.status,a.first_login_time,a.last_login_time,a.agent_id,a.vip,a.price_demand,a.industry_type,a.area_demand,a.user_status,a.source'
;
...
...
application/index/controller/Remark.php
View file @
6b0fea3e
...
@@ -85,6 +85,18 @@ class Remark extends Basic
...
@@ -85,6 +85,18 @@ class Remark extends Basic
$where
[
'b.district_id'
]
=
$this
->
params
[
'remark_district_id'
];
$where
[
'b.district_id'
]
=
$this
->
params
[
'remark_district_id'
];
}
}
if
(
!
empty
(
$params
[
'province'
]))
{
$where
[
'c.province'
]
=
$params
[
'province'
];
}
if
(
!
empty
(
$params
[
'city'
]))
{
$where
[
'c.city'
]
=
$params
[
'city'
];
}
if
(
!
empty
(
$params
[
'disc'
]))
{
$where
[
'c.disc'
]
=
$params
[
'disc'
];
}
$field
=
'c.id,a.create_time,a.content,b.name as admin,d.name as label_name,c.user_name,c.user_phone,a.user_status'
;
$field
=
'c.id,a.create_time,a.content,b.name as admin,d.name as label_name,c.user_name,c.user_phone,a.user_status'
;
$data
[
'data'
][
'list'
]
=
$u_phone_follow
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$data
[
'data'
][
'list'
]
=
$u_phone_follow
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
...
...
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