作者 刘朕
1 个管道 的构建 通过 耗费 2 秒

数据导出调试

@@ -110,10 +110,10 @@ class TestController extends HomeBaseController @@ -110,10 +110,10 @@ class TestController extends HomeBaseController
110 $letter = array('A', 'B', 'C', 'D', 'E', 'F', 'F', 'G','H','I','J','k','L','M'); 110 $letter = array('A', 'B', 'C', 'D', 'E', 'F', 'F', 'G','H','I','J','k','L','M');
111 $excel->getActiveSheet()->setCellValue("A1", "用户id"); 111 $excel->getActiveSheet()->setCellValue("A1", "用户id");
112 $excel->getActiveSheet()->setCellValue("B1", $user['id']); 112 $excel->getActiveSheet()->setCellValue("B1", $user['id']);
113 - $excel->getActiveSheet()->setCellValue("A1", "业务员id");  
114 - $excel->getActiveSheet()->setCellValue("B1", $user['my_user_id']);  
115 - $excel->getActiveSheet()->setCellValue("A1", "业务员名称");  
116 - $excel->getActiveSheet()->setCellValue("B1", $user['user_nickname']); 113 + $excel->getActiveSheet()->setCellValue("C1", "业务员id");
  114 + $excel->getActiveSheet()->setCellValue("D1", $user['my_user_id']);
  115 + $excel->getActiveSheet()->setCellValue("E1", "业务员名称");
  116 + $excel->getActiveSheet()->setCellValue("F1", $user['user_nickname']);
117 //表头数组 117 //表头数组
118 $tableheader = array('订单号', '价钱', '数量', '姓名', '电话', '学校-班级', '订单状态', '创建时间', '支付时间', '配送时间', '地区', 118 $tableheader = array('订单号', '价钱', '数量', '姓名', '电话', '学校-班级', '订单状态', '创建时间', '支付时间', '配送时间', '地区',
119 '应得收益', '实际收益', '是否异常'); 119 '应得收益', '实际收益', '是否异常');