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
3bf1b899
Commit
3bf1b899
authored
Nov 07, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
f416fdc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Member.php
application/index/controller/Member.php
+1
-1
PerformanceService.php
application/index/service/PerformanceService.php
+3
-3
No files found.
application/index/controller/Member.php
View file @
3bf1b899
...
@@ -357,7 +357,7 @@ class Member extends Basic{
...
@@ -357,7 +357,7 @@ class Member extends Basic{
$is_show
=
true
;
$is_show
=
true
;
if
(
$if_search_user
==
false
){
if
(
$if_search_user
){
$is_show
=
$clientService
->
dialTotal
(
$v
[
"id"
]);
$is_show
=
$clientService
->
dialTotal
(
$v
[
"id"
]);
}
}
...
...
application/index/service/PerformanceService.php
View file @
3bf1b899
...
@@ -406,7 +406,8 @@ class PerformanceService
...
@@ -406,7 +406,8 @@ class PerformanceService
$e_data_old
[
'index'
]
=
$v
[
"index_"
];
//排名
$e_data_old
[
'index'
]
=
$v
[
"index_"
];
//排名
if
(
$type
==
1
)
{
if
(
$type
==
1
)
{
$e_data_old
[
'district_name'
]
=
$v
[
'store_name'
]
.
'-'
.
$v
[
'name'
];
//个人
$e_data_old
[
'store_name'
]
=
$v
[
'store_name'
];
//门店名
$e_data_old
[
'district_name'
]
=
$v
[
'name'
];
//个人
}
elseif
(
$type
==
2
)
{
}
elseif
(
$type
==
2
)
{
$e_data_old
[
'district_name'
]
=
$v
[
'store_name'
];
//门店
$e_data_old
[
'district_name'
]
=
$v
[
'store_name'
];
//门店
}
else
{
}
else
{
...
@@ -431,8 +432,7 @@ class PerformanceService
...
@@ -431,8 +432,7 @@ class PerformanceService
$field_num
=
10
;
$field_num
=
10
;
if
(
$type
==
1
){
if
(
$type
==
1
){
$title
=
[
'排名'
,
'个人'
,
'新增客户'
,
'新增商铺'
,
'报备数'
,
'进场数'
,
'收款数'
,
'成交单数'
,
'业绩'
];
$title
=
[
'排名'
,
'门店'
,
'个人'
,
'新增客户'
,
'新增商铺'
,
'报备数'
,
'进场数'
,
'收款数'
,
'成交单数'
,
'业绩'
];
$field_num
=
9
;
$title2
=
'个人业绩排行表('
.
$end_day
.
'至'
.
$yesterday
.
')'
;
$title2
=
'个人业绩排行表('
.
$end_day
.
'至'
.
$yesterday
.
')'
;
}
elseif
(
$type
==
2
){
}
elseif
(
$type
==
2
){
$title
=
[
'排名'
,
'门店'
,
'团队人数'
,
'新增客户'
,
'新增商铺'
,
'报备数'
,
'进场数'
,
'收款数'
,
'成交单数'
,
'业绩'
];
$title
=
[
'排名'
,
'门店'
,
'团队人数'
,
'新增客户'
,
'新增商铺'
,
'报备数'
,
'进场数'
,
'收款数'
,
'成交单数'
,
'业绩'
];
...
...
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