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
b74bea83
Commit
b74bea83
authored
Jun 11, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test-v2.0-0530' into test
parents
b6db0665
5472b0d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
Member.php
application/index/controller/Member.php
+5
-3
users_list.html
application/index/view/member/users_list.html
+4
-3
Users.php
application/model/Users.php
+3
-1
No files found.
application/index/controller/Member.php
View file @
b74bea83
...
...
@@ -159,11 +159,13 @@ class Member extends Basic{
if
(
!
empty
(
$params
[
'area_type'
]))
{
switch
(
$params
[
'area_type'
])
{
case
1
:
$where
[
'a.area_demand'
]
=
[
'<='
,
10
0
];
break
;
$where
[
'a.area_demand'
]
=
[
'<='
,
3
0
];
break
;
case
2
:
$where
[
'a.area_demand'
]
=
[
'between'
,
[
100
,
500
]];
break
;
$where
[
'a.area_demand'
]
=
[
'between'
,
[
30
,
60
]];
break
;
case
4
:
$where
[
'a.area_demand'
]
=
[
'between'
,
[
60
,
100
]];
break
;
default
:
$where
[
'a.area_demand'
]
=
[
'>'
,
5
00
];
$where
[
'a.area_demand'
]
=
[
'>'
,
1
00
];
}
}
...
...
application/index/view/member/users_list.html
View file @
b74bea83
...
...
@@ -177,9 +177,10 @@
</select>
<select
class=
"form-control btn2 margin-top-ld"
name=
"area_type"
>
<option
value=
"0"
>
面积需求
</option>
<option
value=
"1"
>
100㎡以下
</option>
<option
value=
"2"
>
100㎡-500㎡
</option>
<option
value=
"3"
>
500㎡以上
</option>
<option
value=
"1"
>
30㎡以下
</option>
<option
value=
"2"
>
30㎡-60㎡
</option>
<option
value=
"3"
>
60㎡-100㎡
</option>
<option
value=
"4"
>
100㎡以上
</option>
</select>
<!--业态选择-->
<select
class=
"form-control btn2 margin-top-ld"
name=
"login_status"
>
...
...
application/model/Users.php
View file @
b74bea83
...
...
@@ -228,7 +228,7 @@ class Users extends Model
if
(
!
empty
(
$data
[
'user_nick'
]))
{
$insert_data
[
'user_nick'
]
=
$data
[
'user_nick'
];
}
if
(
!
empty
(
$data
[
'user_phone'
]))
{
if
(
!
empty
(
$data
[
'user_phone'
])
&&
$id
==
0
)
{
$insert_data
[
'user_phone'
]
=
$data
[
'user_phone'
];
}
if
(
!
empty
(
$data
[
'sex'
]))
{
...
...
@@ -287,6 +287,8 @@ class Users extends Model
->
join
(
'a_agents b'
,
'a.agent_id=b.id'
,
'left'
)
->
where
(
'a.id'
,
$id
)
->
find
();
$data
[
'agents'
]
=
$data
[
'name'
]
.
'-'
.
$data
[
'phone'
];
$data
[
'user_phone'
]
=
hide_customer_phone
(
$data
[
'user_phone'
]);
unset
(
$data
[
'name'
]);
unset
(
$data
[
'phone'
]);
}
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