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
19c90a28
Commit
19c90a28
authored
Jun 15, 2017
by
HTML5-侯张振
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 经纪人报表,列表里没有渠道,但是导出的excel表格有渠道
parent
e678db22
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
kpiadmin.php
html/application/controllers/admin/kpiadmin.php
+1
-2
No files found.
html/application/controllers/admin/kpiadmin.php
View file @
19c90a28
...
...
@@ -586,13 +586,12 @@ class Kpiadmin extends CI_Controller
$temp
[
'user_mobile'
]
=
$item
[
'user_mobile'
];
$temp
[
'building_title'
]
=
iconv
(
'utf-8'
,
'gbk'
,
$item
[
'building_title'
]);
$temp
[
'customers'
]
=
$item
[
'customers'
];
$temp
[
'channel'
]
=
iconv
(
'utf-8'
,
'gbk'
,
$item
[
'channel_name'
]);
array_push
(
$data
,
$temp
);
}
}
//导出
$titles
=
'经纪人,联系电话,推荐项目名称,客户数
,渠道
'
;
$titles
=
'经纪人,联系电话,推荐项目名称,客户数'
;
$titles
=
iconv
(
'utf-8'
,
'gbk'
,
$titles
);
$file
=
iconv
(
'utf-8'
,
'gbk'
,
'经纪人数据列表.xls'
);
$this
->
export
->
export_excel
(
$file
,
$titles
,
$data
);
...
...
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