...
|
...
|
@@ -144,7 +144,7 @@ class TestController extends HomeBaseController |
|
|
// $data2 = $tz->field('type',true)->select();
|
|
|
//print_r($data2);exit();
|
|
|
//填充表格信息
|
|
|
for ($i = 3; $i <= count($data2) + 1; $i++) {
|
|
|
for ($i = 3; $i <= count($data2) + 2; $i++) {
|
|
|
$j = 0;
|
|
|
foreach ($data2[$i - 3] as $key => $value) {
|
|
|
$excel->getActiveSheet()->setCellValue("$letter[$j]$i", "$value");
|
...
|
...
|
|