Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac-quanmin
Overview
Overview
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
HTML5-李恒逸
sunac-quanmin
Commits
ffd6cd8f
Commit
ffd6cd8f
authored
Jun 21, 2017
by
html5-李恒逸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增城市排序值问题,报表导出问题,渠道查看客户页面报错问题
parent
8fa8483b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
kpiadmin.php
html/application/controllers/admin/kpiadmin.php
+4
-2
customerSearch.php
html/application/views/admin/channel/customerSearch.php
+1
-1
edit.php
html/application/views/admin/city/edit.php
+1
-1
No files found.
html/application/controllers/admin/kpiadmin.php
View file @
ffd6cd8f
...
@@ -356,7 +356,8 @@ class Kpiadmin extends CI_Controller
...
@@ -356,7 +356,8 @@ class Kpiadmin extends CI_Controller
//我是销管
//我是销管
$user_id
=
(
int
)
$this
->
session
->
userdata
(
'u_id'
);
$user_id
=
(
int
)
$this
->
session
->
userdata
(
'u_id'
);
$where
.=
' and R.user_id = '
.
$user_id
;
$buildings_select
=
$this
->
manager
->
get_buildings
(
'id = '
.
$user_id
);
$where
.=
' and B.id in ('
.
$buildings_select
[
0
][
'building_id'
]
.
')'
;
$where
=
trim
(
$where
,
' and '
);
$where
=
trim
(
$where
,
' and '
);
//获取客户总数
//获取客户总数
...
@@ -468,7 +469,8 @@ class Kpiadmin extends CI_Controller
...
@@ -468,7 +469,8 @@ class Kpiadmin extends CI_Controller
if
(
$info
[
'role_id'
]
==
10
)
if
(
$info
[
'role_id'
]
==
10
)
{
{
$where
.=
' and RR.user_id ='
.
$user_id
;
$buildings_select
=
$this
->
manager
->
get_buildings
(
'id = '
.
$user_id
);
$where
.=
' and B.id in ('
.
$buildings_select
[
0
][
'building_id'
]
.
')'
;
}
else
if
(
$info
[
'role_id'
]
==
11
){
}
else
if
(
$info
[
'role_id'
]
==
11
){
$where
.=
' and D.manager_id ='
.
$user_id
;
$where
.=
' and D.manager_id ='
.
$user_id
;
}
}
...
...
html/application/views/admin/channel/customerSearch.php
View file @
ffd6cd8f
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
echo
'完成'
;
echo
'完成'
;
}
else
if
(
$customer
[
'recommend_status'
]
==
7
){
}
else
if
(
$customer
[
'recommend_status'
]
==
7
){
echo
'认购'
;
echo
'认购'
;
}
else
if
(
$customer
[
'expired'
]
==
1
){
}
else
if
(
$customer
[
'
is_
expired'
]
==
1
){
echo
'已过期'
;
echo
'已过期'
;
}
else
if
(
$customer
[
'recommend_status'
]
==
9
){
}
else
if
(
$customer
[
'recommend_status'
]
==
9
){
echo
'可结俑'
;
echo
'可结俑'
;
...
...
html/application/views/admin/city/edit.php
View file @
ffd6cd8f
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
</div>
</div>
<div
class=
"col-md-2"
>
<div
class=
"col-md-2"
>
<span
class=
"help-block"
>
<span
class=
"help-block"
>
(值越大越靠前)
(
1~30000,
值越大越靠前)
</span>
</span>
</div>
</div>
</div>
</div>
...
...
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