作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -213,11 +213,11 @@ class AdminEquipmentController extends AdminBaseController{ @@ -213,11 +213,11 @@ class AdminEquipmentController extends AdminBaseController{
213 $objActSheet->setCellValue('F1', '备注'); 213 $objActSheet->setCellValue('F1', '备注');
214 // 设置个表格宽度 214 // 设置个表格宽度
215 $objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(16); 215 $objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(16);
216 - $objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(80); 216 + $objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(30);
217 $objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(15); 217 $objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(15);
218 $objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(20); 218 $objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(20);
219 - $objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(12);  
220 - $objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(12); 219 + $objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(30);
  220 + $objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(40);
221 221
222 // 垂直居中 222 // 垂直居中
223 $objPHPExcel->getActiveSheet()->getStyle('A')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); 223 $objPHPExcel->getActiveSheet()->getStyle('A')->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);