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
570ca5e5
Commit
570ca5e5
authored
Feb 11, 2018
by
zfc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进列表2
parent
16e3d1a9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
2 deletions
+33
-2
Remark.php
application/index/controller/Remark.php
+21
-2
remark_follow_index.html
application/index/view/Remark/remark_follow_index.html
+11
-0
Remarks.php
application/model/Remarks.php
+1
-0
No files found.
application/index/controller/Remark.php
View file @
570ca5e5
...
...
@@ -72,8 +72,8 @@ class Remark extends Basic
}
$field
=
"r.id,r.apply_id,r.shopuser_id,r.content,r.house_id,r.created,
a.customer,a.phpone,
$field
=
"r.id,r.apply_id,r.shopuser_id,r.content,r.house_id,r.created,
r.admin,
a.customer,a.phpone,
a.sex,
a2.realname"
;
$order
=
'r.id asc'
;
$join
=
[
...
...
@@ -88,5 +88,23 @@ class Remark extends Basic
}
public
function
contentList
(){
$table
=
new
Remarks
;
$data
[
'status'
]
=
200
;
$data
[
'msg'
]
=
''
;
$params
=
$this
->
request
->
param
();
$applyid
=
$params
[
'apply_id'
];
if
(
$applyid
){
//条件
$field
=
'id,apply_id,shopuser_id,content,house_id,created,admin,'
;
$where
=
"isinstatus=1 and content like '%【跟进】%' and apply_id='
{
$applyid
}
'"
;
$data
[
'list'
]
=
$table
->
field
(
$field
)
->
where
(
$where
)
->
select
();
}
else
{
return
$this
->
response
(
200
,
'失败,没有apply_id'
,
$data
);
}
}
}
\ No newline at end of file
application/index/view/Remark/remark_follow_index.html
0 → 100644
View file @
570ca5e5
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
application/model/Remarks.php
View file @
570ca5e5
...
...
@@ -74,6 +74,7 @@ class Remarks extends Model
}
/**
* @param $join
* @param $params
* @return int|string
*/
...
...
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