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
4c45f7ba
Commit
4c45f7ba
authored
Nov 06, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部状态经纪人
parent
a063f68c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
Broker.php
application/index/controller/Broker.php
+7
-4
agent.html
application/index/view/broker/agent.html
+1
-1
No files found.
application/index/controller/Broker.php
View file @
4c45f7ba
...
@@ -345,10 +345,13 @@ class Broker extends Basic
...
@@ -345,10 +345,13 @@ class Broker extends Basic
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$where
[
'a.id'
]
=
[
'<>'
,
1
];
$where
[
'a.id'
]
=
[
'<>'
,
1
];
if
(
$params
[
'status'
])
{
$where
[
'a.status'
]
=
[
'<>'
,
0
];
if
(
$params
[
'status'
]
!=
-
1
)
{
}
else
{
if
(
$params
[
'status'
])
{
$where
[
'a.status'
]
=
0
;
$where
[
'a.status'
]
=
[
'<>'
,
0
];
}
else
{
$where
[
'a.status'
]
=
0
;
}
}
}
if
(
!
empty
(
$params
[
'search'
]))
{
if
(
!
empty
(
$params
[
'search'
]))
{
...
...
application/index/view/broker/agent.html
View file @
4c45f7ba
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</select>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"id"
placeholder=
"姓名/手机号"
name=
"search"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"id"
placeholder=
"姓名/手机号"
name=
"search"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
name=
"agent_status"
placeholder=
"状态是否正常"
>
<select
class=
"form-control btn2 ld-Marheight"
name=
"agent_status"
placeholder=
"状态是否正常"
>
<option
value=
""
>
状态是否正常
</option>
<option
value=
"
-1
"
>
状态是否正常
</option>
<option
value=
"0"
>
是
</option>
<option
value=
"0"
>
是
</option>
<option
value=
"1"
>
否
</option>
<option
value=
"1"
>
否
</option>
</select>
</select>
...
...
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