{{$siteInfo->cn_title??''}} 建站流程表(内部)@if($type==1) [全部任务 切换]@else [个人任务 切换] @endif
进度{{$count-$toBeCompletedCount}}/{{$count}} @if(!empty($newNodeDate)) 原定{{$nodeDate}}上线,更新至{{$newNodeDate}}上线!@else {{$nodeDate}}上线! @endif [ctrl+s 保存] @if(!empty($roles->is_super)) @endif
{{$domain}}
@foreach($list as $stageInx=>$stage) @php static $num=0; $result=explode(':',$stageInx); if($result[2]=='进行中' || $result[2]=='未完成'){ $num++; } @endphp
@php echo $result[0].' '; if($result[2]=='完成'){ echo "{$result[2]}"; }elseif ($result[2]=='未完成'){ echo "{$result[2]}"; }else{ echo "{$result[2]}"; } @endphp
@php echo '阶段时间:'.$taskLastDateStart[$result[1]]??''; echo ' - '.$taskLastDateEnd[$result[1]]??''; @endphp
STEP
@php echo $result[1]; @endphp
@foreach($stage as $key=>$item) @endforeach
@php echo $result[0]; @endphp
状态/时间 具体事项 事项备注 负责人/工时
(单位:天)
验收标准 节点时间 逾期天数/原因 质检人员/质检打分 打分节点
(客户)
参考文档 备注 操作
@if(empty($item['status'])) @else
{{$item['status']}}
@endif
{{$item['title']??''}}
@foreach($item['roles'] as $key=>$value) @if($key==\App\Http\Models\Role::TYPE_CUSTOMER) {{--客户--}}
@if($roles->role_id ==\App\Http\Models\Role::TYPE_CUSTOMER) {{$siteName}} @else {{$siteName}} @endif
@endif @if($key==\App\Http\Models\Role::TYPE_SELLER) {{--销售--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->user_id??''}} @else {{$value->nickname??''}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_SERVER) {{--项目管家--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配项目管家'}} @else {{$value->nickname??''}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_MANAGE_HELPER) {{--项目经理--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配项目经理'}} @else {{$value->nickname??'未分配项目经理'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_PLANNER) {{--策划--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配策划'}} @else {{$value->nickname??'策划'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_AE) {{--采编--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配采编'}} @else {{$value->nickname??'未分配采编'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_WEB) {{--前端--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配前端'}} @else {{$value->nickname??'未分配前端'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_DESIGNER) {{--设计--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配设计'}} @else {{$value->nickname??'未分配设计'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_QUALITY) {{--质检--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配质检'}} @else {{$value->nickname??'未分配质检'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @if($key==\App\Http\Models\Role::TYPE_OPTIMIZER) {{--优化--}}
@if(!empty($value->user_id) && $roles->id == $value->user_id) {{$value->nickname??'未分配优化师'}} @else {{$value->nickname??'未分配优化师'}} @endif @if($roles->role_id !=\App\Http\Models\Role::TYPE_CUSTOMER) @endif
@endif @endforeach
{{$item['acceptance']??''}} {{$item['node']??''}}
@if(strtotime($item['node_date']){{$item['node_date']??''}} @else {{$item['node_date']??''}} @endif
@php //完成时间>节点时间、未完成时间小于当天时间时为逾期 if(!empty($item['status'])){ if(strtotime(date('Y-m-d',strtotime($item['status'])))>strtotime($item['node_date'])){ $beOverdueDay=(strtotime(date('Y-m-d',strtotime($item['status'])))-strtotime($item['node_date']))/3600/24; echo '逾期'.round($beOverdueDay).'天'; } }else{ if(strtotime($item['node_date'])< strtotime(date('Y-m-d'))){ $beOverdueDay=(strtotime(date('Y-m-d'))-strtotime($item['node_date']))/3600/24; echo '逾期'.round($beOverdueDay).'天'; } } @endphp @if(!empty($item['status'])) @if(strtotime(date('Y-m-d',strtotime($item['status'])))>strtotime($item['node_date'])) @endif @else @if(strtotime($item['node_date'])< strtotime(date('Y-m-d'))) @endif @endif @if(!empty($item['is_inspection_score'])) 媛媛、笑笑 @endif @if(!empty($item['client_score'])) {{$item['client_score']}} @endif
    @if(isset($item['file_list'])) @foreach(\GuzzleHttp\json_decode($item['file_list'],true) as $value)
  • {{$value}}
  • @endforeach @endif
STEP
@php echo $result[1]; @endphp
@endforeach
工作规划与记录
@foreach($thisWeekTaskList as $item) @endforeach
当周工作安排
阶段 具体事项 事项备注 人员 节点时间 备注
{{$item->rank??''}} {{$item->title??''}} {{$item->memo??''}} {{$item->userNames??''}} {{$item->node_date??''}}
@foreach($nextWeekTaskList as $item) @endforeach
下周工作安排
阶段 具体事项 事项备注 人员 节点时间 备注
{{$item->rank??''}} {{$item->title??''}} {{$item->memo??''}} {{$item->userNames??''}} {{$item->node_date??''}}