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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
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
+7
-8
No files found.
html/application/controllers/admin/kpiadmin.php
View file @
ffd6cd8f
...
...
@@ -356,7 +356,8 @@ class Kpiadmin extends CI_Controller
//我是销管
$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 '
);
//获取客户总数
...
...
@@ -468,7 +469,8 @@ class Kpiadmin extends CI_Controller
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
){
$where
.=
' and D.manager_id ='
.
$user_id
;
}
...
...
html/application/views/admin/channel/customerSearch.php
View file @
ffd6cd8f
...
...
@@ -141,7 +141,7 @@
echo
'完成'
;
}
else
if
(
$customer
[
'recommend_status'
]
==
7
){
echo
'认购'
;
}
else
if
(
$customer
[
'expired'
]
==
1
){
}
else
if
(
$customer
[
'
is_
expired'
]
==
1
){
echo
'已过期'
;
}
else
if
(
$customer
[
'recommend_status'
]
==
9
){
echo
'可结俑'
;
...
...
html/application/views/admin/city/edit.php
View file @
ffd6cd8f
...
...
@@ -58,7 +58,7 @@
<div
class=
"portlet-body form"
>
<!-- BEGIN FORM-->
<?php
//是否可读
//是否可读
$is_disabled
=
isset
(
$info
[
'is_deleted'
])
&&
$info
[
'is_deleted'
]
!=
1
?
true
:
false
;
?>
<form
action=
"
<?php
echo
site_url
(
'admin/admin_api/ajax'
);
?>
"
method=
"post"
class=
"form-horizontal"
>
...
...
@@ -87,9 +87,9 @@
<div
class=
"col-md-4"
>
<input
type=
"text"
class=
"form-control"
id=
"sort_num"
name=
"sort_num"
value=
"
<?php
echo
isset
(
$info
[
'sort_num'
])
&&
!
empty
(
$info
[
'sort_num'
])
?
$info
[
'sort_num'
]
:
""
;
?>
"
>
</div>
<div
class=
"col-md-2"
>
<div
class=
"col-md-2"
>
<span
class=
"help-block"
>
(值越大越靠前)
(
1~30000,
值越大越靠前)
</span>
</div>
</div>
...
...
@@ -129,7 +129,7 @@
<!-- END FORM-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
@@ -165,11 +165,11 @@
u_id
=
'
<?php
echo
$this
->
session
->
userdata
(
'u_id'
);
?>
'
,
u_email
=
'
<?php
echo
$this
->
session
->
userdata
(
'email'
);
?>
'
;
//thumb upload api
var
thumb_upload_api
=
''
;
var
thumb_upload_api
=
''
;
</script>
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery
(
document
).
ready
(
function
()
{
jQuery
(
document
).
ready
(
function
()
{
// initiate layout and plugins
App
.
init
();
EcommerceProductsEdit
.
init
();
...
...
@@ -206,4 +206,4 @@
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>
\ No newline at end of file
</html>
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