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
568953a7
Commit
568953a7
authored
Apr 25, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进列表修改
parent
a7a53758
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Remark.php
application/index/controller/Remark.php
+1
-1
remark_follow_template_tpl.html
public/resource/template/remark_follow_template_tpl.html
+7
-1
No files found.
application/index/controller/Remark.php
View file @
568953a7
...
...
@@ -70,7 +70,7 @@ class Remark extends Basic
$where
[
'a.content'
]
=
[
'like'
,
"%
{
$this
->
params
[
'content'
]
}
%"
];
}
$field
=
'c.id,a.create_time,a.content,b.name as admin,d.name as label_name,c.user_nick,c.user_phone'
;
$field
=
'c.id,a.create_time,a.content,b.name as admin,d.name as label_name,c.user_nick,c.user_phone
,a.user_status
'
;
$data
[
'data'
][
'list'
]
=
$u_phone_follow
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$data
[
'data'
][
'total'
]
=
$u_phone_follow
->
getFollowTotal
(
$where
);
return
$this
->
response
(
200
,
'成功'
,
$data
);
...
...
public/resource/template/remark_follow_template_tpl.html
View file @
568953a7
...
...
@@ -7,7 +7,13 @@
[
%
if
(
it
[
item
][
'label_name'
])
{
%
]
【
[
%=
it
[
item
][
'label_name'
]
%
]
】
[
%
}
else
{
%
]
【】
[
%
if
(
it
[
item
][
'user_status'
]
==
0
)
{
%
]
【求租】
[
%
}
else
if
(
it
[
item
][
'user_status'
]
==
1
)
{
%
]
【已租】
[
%
}
else
{
%
]
【无效】
[
%
}
%
]
[
%
}
%
]
[
%=
it
[
item
][
'content'
]
%
]
<
/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