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
d6d3f266
Commit
d6d3f266
authored
Jan 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
166f113c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+3
-0
No files found.
application/api_broker/controller/HomePageLog.php
View file @
d6d3f266
...
@@ -118,6 +118,8 @@ class HomePageLog extends Basic
...
@@ -118,6 +118,8 @@ class HomePageLog extends Basic
$result
=
$this
->
uPhoneFollowUpModel
->
getFollowList
(
$pageNo
,
$pageSize
,
'id desc'
,
$field
,
$where
);
$result
=
$this
->
uPhoneFollowUpModel
->
getFollowList
(
$pageNo
,
$pageSize
,
'id desc'
,
$field
,
$where
);
}
}
$clientService
=
new
ClientService
();
$clientService
=
new
ClientService
();
$m_label
=
new
ULabels
();
$label_data
=
$m_label
->
getColumn
(
'id,name'
,
[
'type'
=>
1
]);
//获取标签
foreach
(
$result
as
$key
=>
$value
)
{
foreach
(
$result
as
$key
=>
$value
)
{
$agent_params
=
[];
$agent_params
=
[];
$agent_params
[
"a.id"
]
=
$value
[
'agent_id'
];
$agent_params
[
"a.id"
]
=
$value
[
'agent_id'
];
...
@@ -135,6 +137,7 @@ class HomePageLog extends Basic
...
@@ -135,6 +137,7 @@ class HomePageLog extends Basic
$is_show
=
$clientService
->
dialTotal
(
$value
[
"user_id"
]);
$is_show
=
$clientService
->
dialTotal
(
$value
[
"user_id"
]);
$result
[
$key
][
'sign_call'
]
=
$is_show
?
0
:
1
;
$result
[
$key
][
'sign_call'
]
=
$is_show
?
0
:
1
;
$result
[
$key
][
'label_name'
]
=
array_key_exists
(
$value
[
'labels_id'
],
$label_data
)
?
$label_data
[
$value
[
'labels_id'
]]
:
''
;
}
}
//$count = $this->uPhoneFollowUpModel->getSearchCount($where_);
//$count = $this->uPhoneFollowUpModel->getSearchCount($where_);
...
...
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