@foreach($typeItem as $inx=>$name)
{{$name}}
@endforeach
@foreach($typeItem as $inx=>$name)
{{$name}}
@if(substr($inx,0,3)=='wfp')
@php $limit=1; @endphp
@else
@php $limit=5; @endphp
@endif
-
@for($day=1;$day<=$limit;$day++)
-
@php
if (substr($inx,0,3)=='wfp') {
$dayDataList=array_get($taskInfoList,sprintf('%s.%s',$inx,0));
} else {
$dayDataList=array_get($taskInfoList,sprintf('%s.%s',$inx,$day));
}
$dayDataList=collect($dayDataList??[])->sortBy('sort')->toArray();
@endphp
@if(!empty($dayDataList))
@if(substr($inx,0,3)!='wfp') 周 {{\App\Http\Models\WeekTaskInfo::DayMap[$day]??'???'}}
@endif
@php $isAllowAdd=true; @endphp
@if( ($day==date('w') &&$type=='now'&&date('H')>=10&&substr($inx,0,3)!='wfp'))
@php $isAllowAdd=false; @endphp
@endif
状态 类型 任务描述 负责人 设计 前端 @php $authUser=auth()->user(); @endphp @if($authUser->role_id!=14)检查反馈 @endifdeadline 备注 操作 @if( $isAllowAdd) @endif {{\App\Http\Models\WeekTaskInfo::StatusMap[$dayData['status']]??''}} {{-- --}} @php $selectItems=$condItems[$dayData['cond_id']]??[]; @endphp @endif--}}
@endfor