|
|
@@ -11,7 +11,6 @@ use App\Exports\ProjectDepreciationMultipleSheetExport;
|
|
|
use App\Exports\ResearchExpenseMultipleSheetExport;
|
|
|
use App\Model\Depart;
|
|
|
use App\Model\PLeaveOverOrder;
|
|
|
-use Illuminate\Support\Facades\Log;
|
|
|
use Maatwebsite\Excel\Facades\Excel;
|
|
|
|
|
|
class ExportFileService extends Service
|
|
|
@@ -797,7 +796,7 @@ class ExportFileService extends Service
|
|
|
// 4. 执行 Excel 存储
|
|
|
$file_name = "研发支出辅助账汇总表_" . date("YmdHis") . "_" . rand(1000, 9999);
|
|
|
$filename = $file_name . '.xlsx';
|
|
|
- Log::channel('request')->info('request', ['param'=>$monthsData]);
|
|
|
+
|
|
|
Excel::store(
|
|
|
new \App\Exports\ResearchExpenseSummaryMultipleSheetExport($monthsData),
|
|
|
"public/export/{$filename}"
|