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
8600e478
Commit
8600e478
authored
Mar 05, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看
parent
1e0867fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Report.php
application/index/controller/Report.php
+3
-0
route.php
application/route.php
+3
-2
No files found.
application/index/controller/Report.php
View file @
8600e478
...
...
@@ -31,6 +31,9 @@ class Report extends Basic
$m_report
=
new
OReportModel
();
$m_agent
=
new
AAgents
();
switch
(
$this
->
params
[
'check_status'
])
{
case
0
:
$where
[
'a.report_agent_id'
]
=
$this
->
userId
;
break
;
case
1
:
$store_id
=
$m_agent
->
getAgentFieldById
(
$this
->
userId
,
'store_id'
);
$where
[
'd.store_id'
]
=
$store_id
;
...
...
application/route.php
View file @
8600e478
...
...
@@ -381,8 +381,9 @@ Route::group('index', [
'addSite'
=>
[
'index/Site/addSite'
,
[
'method'
=>
'POST|GET'
]],
//获取站点列表 朱伟 2018-10-18
'getSiteList'
=>
[
'index/Site/getSiteList'
,
[
'method'
=>
'POST|GET'
]],
//获取站点列表 朱伟 2018-10-18
'delImageDepot_Site'
=>
[
'index/Site/delImageDepot'
,
[
'method'
=>
'POST|GET'
]],
//关闭或开启站点 朱伟 2018-10-18
'inspectionRecordStore/:check_status'
=>
[
'index/Report/inspectionRecordAll'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
1
]],
//全部约带看
'inspectionRecordDistrict/:check_status'
=>
[
'index/Report/inspectionRecordAll'
,
[
'method'
=>
'GET'
],[
'check_status'
=>
2
]],
//全部约带看
'inspectionRecordOur/:check_status'
=>
[
'index/Report/inspectionRecordAll'
,
[
'method'
=>
'GET'
],[
'check_status'
=>
0
]],
//我的约带看
'inspectionRecordStore/:check_status'
=>
[
'index/Report/inspectionRecordAll'
,
[
'method'
=>
'GET'
],
[
'check_status'
=>
1
]],
//门店约带看
'inspectionRecordDistrict/:check_status'
=>
[
'index/Report/inspectionRecordAll'
,
[
'method'
=>
'GET'
],[
'check_status'
=>
2
]],
//部门约带看
'inspectionRecordAll/:check_status'
=>
[
'index/Report/inspectionRecordAll'
,
[
'method'
=>
'GET'
],[
'check_status'
=>
3
]],
//全部约带看
'setSite'
=>
[
'index/auth/setSite'
,
[
'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