@extends('admin/site/side_layout') @section('header_extend') @endsection @section('right')
@foreach($processes as $process) @php $nowProcessPermission = sprintf('process-%s-view',$process->id); @endphp {{--@hasAuth($nowProcessPermission)--}} @php $siteProcess=$processIdMapSiteProcessList[$process->id]??null; $active=$siteProcess['active']??null; @endphp
{{-- --}}
{{--

会议

--}}
{{$process->title??''}} {{-- {{$process->id}} {{json_encode($process->next_ids)}} --}}
@if($active==1) {{----}} 已完成 @elseif($active==2) 待处理 @endif
{{---需要文件上传功能--}} @if(in_array($process->id,[3,4,5,12])&&$siteProcess) @php $fileTitle=$siteProcess['file_list']?'文件浏览':'文件上传'; @endphp @endif {{--网页确认--}} @if($process->id==9) @endif @if($process->id==1&& !$siteProcess) @endif @if($active==2) @php $nowProcessConfirm = sprintf('process-%s-confirm',$process->id); @endphp @hasAuth($nowProcessConfirm) id ,[5,9,15,17])&&$siteProcess) onclick="units.scoreFeedback({{$siteProcess['id']}})" @else onclick="units.confirm({{$siteProcess['id']}})" @endif class="btn btn-sm btn-info">确认 @endHasAuth @endif @php $nowProcessEdit= sprintf('process-%s-edit',$process->id); @endphp @hasAuth($nowProcessEdit) @if(in_array($process->id ,[5,9,15,17])&&$siteProcess) 回访 @endif @if(in_array($process->id ,[11,13,16])&&$siteProcess) @php $checkItemScopes=array_column($process->check_item_scopes,'inx'); $diff=array_diff($checkItemScopes,$siteProcess['check_items']??[]); @endphp @if($diff) 待检查 @else 已检查 @endif @endif {{--程序开发--}} @if($process->id==7) @if(!empty($siteProcess['deploy'])) 部署域名: {{$siteProcess['deploy']['domain']??''}} @endif @if($active==2) 部署 @endif @endif {{--续签--}} @if($process->id==18&&$siteProcess) 续签表单 续签历史 @endif @endHasAuth
@if($process->id==1 || $process->id==19 || $process->id==23)
@if($process->id==1) 建站期 @endif @if($process->id==19) 优化期 @endif @if($process->id==23) 服务期 @endif
@endif
{{--@endHasAuth--}} @endforeach
@foreach($processes as $process) @php $nowProcessPermission = sprintf('process-%s-view',$process->id); @endphp @hasAuth($nowProcessPermission) @php $siteProcess=$processIdMapSiteProcessList[$process->id]??null; $active=$siteProcess['active']??null; @endphp
@if($active==1) 已完成 @elseif($active==2) 待处理 @endif
@endHasAuth @endforeach
@endsection @section('footer_extend') @endsection