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
4129c2c9
Commit
4129c2c9
authored
Oct 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b61a0373
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
0 deletions
+40
-0
OperationData.php
application/index/controller/OperationData.php
+38
-0
Basic.php
application/index/extend/Basic.php
+1
-0
route.php
application/route.php
+1
-0
No files found.
application/index/controller/OperationData.php
View file @
4129c2c9
...
...
@@ -343,4 +343,41 @@ class OperationData extends Basic
}
/**
* 人数-实收-业绩 统计
* @return \think\Response
*/
public
function
performanceStatistics
()
{
$params
=
$this
->
params
;
$return
=
[
'上海'
=>
[
[
'num'
=>
[
'num'
=>
1
,
'num'
=>
2
]],
[
'performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]],
[
'real_performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]]
],
'杭州'
=>
[
[
'num'
=>
[
'num'
=>
1
,
'num'
=>
2
]],
[
'performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]],
[
'real_performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]]
],
'深圳'
=>
[
[
'num'
=>
[
'num'
=>
1
,
'num'
=>
2
]],
[
'performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]],
[
'real_performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]]
],
'广州'
=>
[
[
'num'
=>
[
'num'
=>
1
,
'num'
=>
2
]],
[
'performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]],
[
'real_performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]]
],
'北京'
=>
[
[
'num'
=>
[
'num'
=>
1
,
'num'
=>
2
]],
[
'performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]],
[
'real_performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]]
],
'汇总'
=>
[
[
'num'
=>
[
'num'
=>
1
,
'num'
=>
2
]],
[
'performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]],
[
'real_performanceSum'
=>
[[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
],[
'time'
=>
123
,
'num'
=>
123
]]]
]];
return
$this
->
response
(
200
,
'success'
,
$return
);
}
}
\ No newline at end of file
application/index/extend/Basic.php
View file @
4129c2c9
...
...
@@ -101,6 +101,7 @@ class Basic extends Controller
'index/ShareOfficeRoom'
,
'index/clinchMapInfo'
,
'index/selectDistrictPerformance'
,
'index/userInviteNum'
,
);
/**
...
...
application/route.php
View file @
4129c2c9
...
...
@@ -448,6 +448,7 @@ Route::group('index', [
'operationHouseBargainNum'
=>
[
'index/OperationData/houseBargainNum'
,
[
'method'
=>
'get | post'
]],
'getFirstLoginTotal'
=>
[
'index/InviteTotal/getFirstLoginTotal'
,
[
'method'
=>
'get | post'
]],
'userInviteNum'
=>
[
'index/OperationData/userInviteNum'
,
[
'method'
=>
'get | post'
]],
'performanceStatistics'
=>
[
'index/OperationData/performanceStatistics'
,
[
'method'
=>
'get | post'
]],
//后台业绩日报,周报
...
...
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