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
ae121a96
Commit
ae121a96
authored
Jun 12, 2017
by
html5-李恒逸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改二次报备页面跳转
parent
525c511f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
report.php
html/application/controllers/admin/report.php
+1
-1
customer_building_model.php
html/application/models/customer_building_model.php
+5
-2
index_info.php
html/application/views/admin/report/index_info.php
+1
-1
report_again.php
html/application/views/admin/report/report_again.php
+1
-1
No files found.
html/application/controllers/admin/report.php
View file @
ae121a96
...
@@ -1243,7 +1243,7 @@ class Report extends CI_Controller
...
@@ -1243,7 +1243,7 @@ class Report extends CI_Controller
$this
->
data
[
'con_arr'
]
=
$con_arr
;
$this
->
data
[
'con_arr'
]
=
$con_arr
;
$where
=
$this
->
_search
(
$con_arr
);
$where
=
$this
->
_search
(
$con_arr
);
$where
.=
" and CB.report_
status != 'NEVER' and CB.recommend_status != 8
"
;
$where
.=
" and CB.report_
time <> 0
"
;
$count
=
$this
->
customer_building
->
get_report_count
(
$where
);
$count
=
$this
->
customer_building
->
get_report_count
(
$where
);
...
...
html/application/models/customer_building_model.php
View file @
ae121a96
...
@@ -183,9 +183,12 @@ class Customer_building_model extends MY_Model{
...
@@ -183,9 +183,12 @@ class Customer_building_model extends MY_Model{
->
join
(
'tb_channel CC'
,
'CC.id=D.channel_id'
,
'left'
)
->
join
(
'tb_channel CC'
,
'CC.id=D.channel_id'
,
'left'
)
->
join
(
'tb_manager TM'
,
'TM.id=CC.manager_id'
,
'left'
)
->
join
(
'tb_manager TM'
,
'TM.id=CC.manager_id'
,
'left'
)
->
join
(
'tb_building_distributor_relate RR'
,
'RR.building_id=CB.building_id AND D.id=RR.distributor_id'
,
'left'
)
->
join
(
'tb_building_distributor_relate RR'
,
'RR.building_id=CB.building_id AND D.id=RR.distributor_id'
,
'left'
)
->
join
(
'tb_manager M'
,
'RR.user_id=M.id'
,
'left'
)
->
join
(
'tb_manager M'
,
'RR.user_id=M.id'
,
'left'
);
->
where
(
'CB.report_time <> 0'
);
if
(
!
empty
(
$where
))
{
$this
->
db
->
where
(
$where
);
}
$this
->
db
->
order_by
(
'CB.id'
,
'desc'
);
$this
->
db
->
order_by
(
'CB.id'
,
'desc'
);
$query
=
$this
->
db
->
get
(
null
,
$page_size
,
(
$page
-
1
)
*
$page_size
);
$query
=
$this
->
db
->
get
(
null
,
$page_size
,
(
$page
-
1
)
*
$page_size
);
...
...
html/application/views/admin/report/index_info.php
View file @
ae121a96
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
<form
action=
"
<?php
echo
site_url
(
'admin/report/index'
);
?>
"
name=
'form'
method=
"get"
style=
"padding-left:5px;"
>
<form
action=
"
<?php
echo
site_url
(
'admin/report/index'
);
?>
"
name=
'form'
method=
"get"
style=
"padding-left:5px;"
>
<input
type=
"hidden"
id=
"data_type"
name=
"data_type"
value=
"
<?php
echo
$con_arr
[
'data_type'
];
?>
"
>
<input
type=
"hidden"
id=
"data_type"
name=
"data_type"
value=
"
<?php
echo
$con_arr
[
'data_type'
];
?>
"
>
项目名称:
项目名称:
<input
type=
"text"
class=
"form-control input-inline input-small"
name=
"
project_name"
value=
"
<?php
echo
$con_arr
[
'project_name'
];
?>
"
>
<input
type=
"text"
class=
"form-control input-inline input-small"
name=
"project_name"
value=
"
<?php
echo
$con_arr
[
'project_name'
];
?>
"
>
客户姓名:
客户姓名:
...
...
html/application/views/admin/report/report_again.php
View file @
ae121a96
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<div
class=
"portlet-body clearfix"
>
<div
class=
"portlet-body clearfix"
>
<div
class=
"form-body"
style=
"padding:0"
>
<div
class=
"form-body"
style=
"padding:0"
>
<div
style=
"padding-left:5px;margin-bottom: 20px;background: #F9FCEF;padding: 10px 0;border: 1px solid #ccc;"
class=
"text-left"
>
<div
style=
"padding-left:5px;margin-bottom: 20px;background: #F9FCEF;padding: 10px 0;border: 1px solid #ccc;"
class=
"text-left"
>
<form
action=
"
<?php
echo
site_url
(
'admin/report/
index
'
);
?>
"
name=
'form'
method=
"get"
style=
"padding-left:5px;"
>
<form
action=
"
<?php
echo
site_url
(
'admin/report/
reportAgain
'
);
?>
"
name=
'form'
method=
"get"
style=
"padding-left:5px;"
>
<input
type=
"hidden"
id=
"data_type"
name=
"data_type"
value=
"
<?php
echo
$con_arr
[
'data_type'
];
?>
"
>
<input
type=
"hidden"
id=
"data_type"
name=
"data_type"
value=
"
<?php
echo
$con_arr
[
'data_type'
];
?>
"
>
分销商名称:
分销商名称:
<input
type=
"text"
class=
"form-control input-inline input-small"
name=
"company_name"
value=
"
<?php
echo
$con_arr
[
'company_name'
];
?>
"
>
<input
type=
"text"
class=
"form-control input-inline input-small"
name=
"company_name"
value=
"
<?php
echo
$con_arr
[
'company_name'
];
?>
"
>
...
...
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