34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<div class="business-page-header">
|
|
<span class="business-page-title">{{ $title ?? '业务流程统计表' }}</span>
|
|
</div>
|
|
<div class="business-table-container">
|
|
<table class="business-table">
|
|
<thead>
|
|
<tr>
|
|
<th>序号</th>
|
|
<th>流程名称</th>
|
|
<th>总数量</th>
|
|
<th>已完成</th>
|
|
<th>待处理</th>
|
|
<th>期间</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($items as $item)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td>{{ $item->process_name }}</td>
|
|
<td>{{ $item->total_count }}</td>
|
|
<td>{{ $item->completed_count }}</td>
|
|
<td>{{ $item->pending_count }}</td>
|
|
<td>{{ $item->period }}</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
@if($items->isEmpty())
|
|
<tr><td colspan=6 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div> |