|
|
|
|
@ -127,9 +127,9 @@ class CourseContentCheckController extends BaseController
|
|
|
|
|
foreach ($list as $item) {
|
|
|
|
|
// 是否存在courseContentCheck
|
|
|
|
|
if (isset($item['course_content_check'])) {
|
|
|
|
|
$item->course_content_check_text = '是';
|
|
|
|
|
$item->course_content_check_text = '已签到';
|
|
|
|
|
} else {
|
|
|
|
|
$item->course_content_check_text = '否';
|
|
|
|
|
$item->course_content_check_text = '未签到';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return Excel::download(new CommonExport($list, $all['export_fields'] ?? ''), $all['file_name'] ?? '' . date('YmdHis') . '.xlsx');
|
|
|
|
|
|