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
520f7511
Commit
520f7511
authored
Nov 23, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计时间
parent
68311121
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
CellPhone.php
application/index/controller/CellPhone.php
+1
-1
agentIndex.html
application/index/view/cell_phone/agentIndex.html
+1
-0
agentIndex_template_tpl.html
public/resource/template/agentIndex_template_tpl.html
+1
-0
No files found.
application/index/controller/CellPhone.php
View file @
520f7511
...
...
@@ -221,7 +221,7 @@ class CellPhone extends Basic
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$field
=
'id,time,name,money,phone'
;
$field
=
'id,time,name,money,phone
,total_time
'
;
$where
[
'time'
]
=
[
'>'
,
0
];
if
(
!
empty
(
$this
->
params
[
'start_date'
])
&&
empty
(
$this
->
params
[
'end_date'
]))
{
...
...
application/index/view/cell_phone/agentIndex.html
View file @
520f7511
...
...
@@ -32,6 +32,7 @@
</td>
</tr>
<tr>
<th
class=
"text-center"
>
统计时间
</th>
<th
class=
"text-center"
>
姓名
</th>
<th
class=
"text-center"
>
手机号
</th>
<th
class=
"text-center"
>
通话时长(分钟)
</th>
...
...
public/resource/template/agentIndex_template_tpl.html
View file @
520f7511
...
...
@@ -2,6 +2,7 @@
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'total_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
Math
.
round
(
it
[
item
][
'time'
]
/
60
)
%
]
<
/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