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
ca0879f8
Commit
ca0879f8
authored
Jul 17, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into chat_0705
parents
9af87024
3a92d4b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
Remark.php
application/index/controller/Remark.php
+5
-0
GHouses.php
application/model/GHouses.php
+2
-2
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+2
-1
No files found.
application/index/controller/Remark.php
View file @
ca0879f8
...
...
@@ -87,6 +87,11 @@ class Remark extends Basic
$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
);
foreach
(
$data
[
'data'
][
'list'
]
as
$k
=>
$v
)
{
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
]
=
hide_customer_phone
(
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
]);
}
$data
[
'data'
][
'total'
]
=
$u_phone_follow
->
getFollowTotal
(
$where
);
return
$this
->
response
(
200
,
'成功'
,
$data
);
}
...
...
application/model/GHouses.php
View file @
ca0879f8
...
...
@@ -827,8 +827,8 @@ class GHouses extends BaseModel
if
(
isset
(
$params
[
"status"
]))
{
$where_
[
"a.status"
]
=
$params
[
"status"
];
}
if
(
isset
(
$params
[
"
cre
ate_time"
]))
{
$where_
[
"a.
create_time"
]
=
$params
[
"cre
ate_time"
];
if
(
isset
(
$params
[
"
upd
ate_time"
]))
{
$where_
[
"a.
update_time"
]
=
$params
[
"upd
ate_time"
];
}
if
(
isset
(
$params
[
"is_execute"
]))
{
$where_
[
"a.is_execute"
]
=
$params
[
"is_execute"
];
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
ca0879f8
...
...
@@ -23,7 +23,8 @@
[
%=
it
[
item
][
'user_name'
]
%
]
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td>--
>
<
td
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
详细信息
<
/a
>
<
/td
>
...
...
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