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
970ba304
Commit
970ba304
authored
Jun 14, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.okayapps.com/lihengyi/sunac-quanmin
parents
8ae91122
12b426d9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
8 deletions
+6
-8
channeladmin.php
html/application/controllers/admin/channeladmin.php
+0
-0
distributionadmin.php
html/application/controllers/admin/distributionadmin.php
+1
-3
channel_model.php
html/application/models/channel_model.php
+1
-1
login.php
html/application/views/admin/login.php
+3
-2
index_info.php
html/application/views/admin/report/index_info.php
+1
-2
No files found.
html/application/controllers/admin/channeladmin.php
View file @
970ba304
html/application/controllers/admin/distributionadmin.php
View file @
970ba304
...
@@ -193,9 +193,7 @@ class Distributionadmin extends CI_Controller
...
@@ -193,9 +193,7 @@ class Distributionadmin extends CI_Controller
//$where = 'R.user_id = ' . $user_id;
//$where = 'R.user_id = ' . $user_id;
$where
=
'B.id in ('
.
$manager_info
[
'building_id'
]
.
')'
;
$where
=
'B.id in ('
.
$manager_info
[
'building_id'
]
.
')'
;
$con_arr
=
array
();
$con_arr
=
array
();
if
(
$get
)
{
if
(
$get
)
{
$con_arr
=
array
(
$con_arr
=
array
(
'company_name'
=>
$get
[
'company_name'
]
?
:
''
,
'company_name'
=>
$get
[
'company_name'
]
?
:
''
,
'uniqid_id'
=>
$get
[
'uniqid_id'
]
?
:
''
'uniqid_id'
=>
$get
[
'uniqid_id'
]
?
:
''
...
@@ -205,7 +203,7 @@ class Distributionadmin extends CI_Controller
...
@@ -205,7 +203,7 @@ class Distributionadmin extends CI_Controller
$where
.=
' and D.company_name like "%'
.
trim
(
$get
[
'company_name'
])
.
'%"'
;
$where
.=
' and D.company_name like "%'
.
trim
(
$get
[
'company_name'
])
.
'%"'
;
}
}
if
(
isset
(
$get
[
'uniqid_id'
])
&&
$get
[
'uniqid_id'
]
)
{
if
(
isset
(
$get
[
'uniqid_id'
]))
{
$where
.=
' and D.uniqid_id like "%'
.
trim
(
$get
[
'uniqid_id'
])
.
'%"'
;
$where
.=
' and D.uniqid_id like "%'
.
trim
(
$get
[
'uniqid_id'
])
.
'%"'
;
}
}
}
}
...
...
html/application/models/channel_model.php
View file @
970ba304
...
@@ -35,7 +35,7 @@ class Channel_model extends My_Model{
...
@@ -35,7 +35,7 @@ class Channel_model extends My_Model{
//按首字母排列
//按首字母排列
//$where.=' order by B.create_time desc';
//$where.=' order by B.create_time desc';
$this
->
db
->
select
(
'B.id,A.customer_user,A.customer_mobile,A.customer_type,B.create_time,B.recommend_status,H.user_name sale_name,F.manager_name channel_name,C.company_name,I.building_title,J.user_name,B.remark,RR.region_name'
)
$this
->
db
->
select
(
'B.id,A.customer_user,A.customer_mobile,A.customer_type,B.
sale_id,B.
create_time,B.recommend_status,H.user_name sale_name,F.manager_name channel_name,C.company_name,I.building_title,J.user_name,B.remark,RR.region_name'
)
->
from
(
'tb_customer_building B'
)
->
from
(
'tb_customer_building B'
)
->
join
(
'tb_customer A'
,
'A.id=B.customer_id'
)
->
join
(
'tb_customer A'
,
'A.id=B.customer_id'
)
...
...
html/application/views/admin/login.php
View file @
970ba304
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</div>
</div>
</div>
</div>
<div class="
form
-
group
">
<div class="
form
-
group
">
<input type="
text
" name="
captcha
" id="
captcha
" class="
input
-
sm
input
-
small
" onkeypress="
EnterPress
()
">
<input type="
text
" name="
captcha
" id="
captcha
" class="
input
-
sm
input
-
small
" onkeypress="
EnterPress
()
"
onkeydown="
EnterPress
(
event
)
"
>
<?php echo isset(
$image
)?
$image
:'no';?>
<?php echo isset(
$image
)?
$image
:'no';?>
</div>
</div>
...
@@ -116,7 +116,8 @@
...
@@ -116,7 +116,8 @@
// $("#password").val($.cookie("password"));
// $("#password").val($.cookie("password"));
}
}
});
});
function
EnterPress
(){
function
EnterPress
(
e
){
//传入 event
var
e
=
e
||
window
.
event
;
if
(
event
.
keyCode
==
13
){
if
(
event
.
keyCode
==
13
){
$
(
'.login-btn'
).
trigger
(
'click'
);
$
(
'.login-btn'
).
trigger
(
'click'
);
}
}
...
...
html/application/views/admin/report/index_info.php
View file @
970ba304
...
@@ -367,8 +367,7 @@
...
@@ -367,8 +367,7 @@
format
:
'yyyy-mm-dd'
,
format
:
'yyyy-mm-dd'
,
language
:
'cn'
,
language
:
'cn'
,
});
});
var
aa
=
"
<?php
echo
$customer
[
'recommend_status'
]
?>
"
;
console
.
log
(
aa
);
//分销商筛选
//分销商筛选
$
(
'#parent_name'
).
on
(
'keyup click'
,
function
(){
$
(
'#parent_name'
).
on
(
'keyup click'
,
function
(){
$
(
'#channel_list'
).
show
();
$
(
'#channel_list'
).
show
();
...
...
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