|
|
@@ -1824,14 +1824,19 @@ function excelRCData($summaryData,$aiAllList,$cglist,$year){
|
|
|
$col++;
|
|
|
foreach ($aiav as $k=>$v){//项目细则
|
|
|
|
|
|
+ $sumRowStart=$onRow+2;
|
|
|
+ $sumRowEnd=$sumRowStart+12;
|
|
|
|
|
|
-
|
|
|
- //$obj->getactivesheet()->setCellValue( $col.$onRow, '=SUM('.$sectionCount[$aiak]['0'].$onRow.':'.$sectionCount[$aiak]['1'].$onRow.')' );
|
|
|
+ $obj->getactivesheet()->setCellValue( $col.$onRow, '=SUM('.$col.$sumRowStart.':'.$col.$sumRowEnd.')' );
|
|
|
$col++;
|
|
|
}
|
|
|
}
|
|
|
$onRow++;//行数增加
|
|
|
|
|
|
+ //办事处年占比
|
|
|
+
|
|
|
+ $onRow++;//行数增加
|
|
|
+
|
|
|
//办事处每月合计详情
|
|
|
for($month=1;$month<=12;$month++){
|
|
|
$obj->getactivesheet()->setCellValue ( 'A'.$onRow,$value['title'].$month.'月合计' );
|