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
a3d71d89
Commit
a3d71d89
authored
Apr 11, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监督执行和门店拜访列表
parent
1b41ddff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Supervise.php
application/api_broker/controller/Supervise.php
+3
-3
No files found.
application/api_broker/controller/Supervise.php
View file @
a3d71d89
...
...
@@ -88,7 +88,7 @@ class Supervise extends Basic
}
/**
* 监督执行列表
* 监督执行
和门店拜访
列表
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
...
...
@@ -111,7 +111,7 @@ class Supervise extends Basic
//拜访类型(0代表门店拜访、1代表监督执行)
if
(
empty
(
$this
->
params
[
'visit_type'
]))
{
$where
.=
' AND visit_type = 0'
;
$fields
=
'longitude,latitude,address,a.remarks,scene_photo,b.name,a.created,
b.phone,a.leader_nam
e,agentshopname'
;
$fields
=
'longitude,latitude,address,a.remarks,scene_photo,b.name,a.created,
leader_name,leader_phone,b.phon
e,agentshopname'
;
}
else
{
$where
.=
' AND visit_type = 1'
;
$fields
=
'longitude,latitude,address,a.remarks,scene_photo,b.name,a.created'
;
...
...
@@ -160,7 +160,7 @@ class Supervise extends Basic
if
(
$where
)
{
$agent
=
new
AAgents
();
$field
=
'a.id,
a.leader_name,a.leader_phone,b.store_nam
e,b.province,b.city,b.district,b.address,b.longitude,b.latitude,a.store_id'
;
$field
=
'a.id,
b.store_name,a.name,a.phon
e,b.province,b.city,b.district,b.address,b.longitude,b.latitude,a.store_id'
;
$data
[
'data'
]
=
$agent
->
searchAgentShop
(
$pageNo
,
$pageSize
,
'id DESC'
,
$field
,
$where
);
}
else
{
...
...
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