@extends('admin/layout') @section('header') @endsection @section('content') {{--
--}}
@foreach(\App\Http\Models\WeekTaskInfo::TypeList as $typeIndex=>$typeItem)
@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) @endif @foreach($dayDataList as $dayData) @php $authUser=auth()->user(); @endphp @if($authUser->role_id!=14) @endif {{----}} @endforeach
    状态 类型 任务描述 负责人 设计 前端检查反馈deadline 备注 操作  @if( $isAllowAdd) @endif
    {{\App\Http\Models\WeekTaskInfo::StatusMap[$dayData['status']]??''}} {{-- --}} @php $selectItems=$condItems[$dayData['cond_id']]??[]; @endphp
    @endif
  • @endfor
@endforeach
@endforeach
@endsection @section('footer') @endsection