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
b54789a7
Commit
b54789a7
authored
Oct 11, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
c1e4200b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
PerformanceService.php
application/index/service/PerformanceService.php
+20
-3
No files found.
application/index/service/PerformanceService.php
View file @
b54789a7
...
@@ -431,13 +431,30 @@ class PerformanceService
...
@@ -431,13 +431,30 @@ class PerformanceService
$e_data_old
[
'look_at_num_total'
]
=
$v
[
'look_at_num_total'
];
//报备数
$e_data_old
[
'look_at_num_total'
]
=
$v
[
'look_at_num_total'
];
//报备数
$e_data_old
[
'add_house_num_total'
]
=
$v
[
'add_house_num_total'
];
//新增商铺
$e_data_old
[
'add_house_num_total'
]
=
$v
[
'add_house_num_total'
];
//新增商铺
$e_data_old
[
'add_user_num_total'
]
=
$v
[
'add_user_num_total'
];
//新增客户
$e_data_old
[
'add_user_num_total'
]
=
$v
[
'add_user_num_total'
];
//新增客户
$e_data_old
[
'team_num'
]
=
$v
[
'team_num'
];
//团队人数
if
(
$type
!=
1
){
$e_data_old
[
'team_num'
]
=
$v
[
'team_num'
];
//团队人数
}
$e_data_new
[]
=
$e_data_old
;
$e_data_new
[]
=
$e_data_old
;
}
}
// dump($e_data_new);exit;
// dump($e_data_new);exit;
$title
=
[
'排名'
,
'部门'
,
'业绩'
,
'成交单数'
,
'收款数'
,
'进场数'
,
'报备数'
,
'新增商铺'
,
'新增客户'
,
'团队人数'
];
$export
->
exportTable
(
'业绩排行'
,
$e_data_new
,
9
,
'业绩排行表'
,
$title
);
$field_num
=
10
;
if
(
$type
==
1
){
$title
=
[
'排名'
,
'个人'
,
'业绩'
,
'成交单数'
,
'收款数'
,
'进场数'
,
'报备数'
,
'新增商铺'
,
'新增客户'
];
$field_num
=
9
;
$title2
=
'个人业绩排行表('
.
$yesterday
.
'-'
.
$end_day
.
')'
;
}
elseif
(
$type
==
2
){
$title
=
[
'排名'
,
'门店'
,
'业绩'
,
'成交单数'
,
'收款数'
,
'进场数'
,
'报备数'
,
'新增商铺'
,
'新增客户'
,
'团队人数'
];
$title2
=
'门店业绩排行表('
.
$yesterday
.
'-'
.
$end_day
.
')'
;
}
else
{
$title
=
[
'排名'
,
'部门'
,
'业绩'
,
'成交单数'
,
'收款数'
,
'进场数'
,
'报备数'
,
'新增商铺'
,
'新增客户'
,
'团队人数'
];
$title2
=
'部门业绩排行表('
.
$yesterday
.
'-'
.
$end_day
.
')'
;
}
$export
->
exportTable
(
'业绩排行'
,
$e_data_new
,
$field_num
,
$title2
,
$title
);
return
''
;
return
''
;
...
...
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