36 lines
1.3 KiB
PHP
36 lines
1.3 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>
|
|
<th>描述</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($items as $item)
|
|
<tr>
|
|
<td>{{ $loop->iteration }}</td>
|
|
<td>{{ $item->title }}</td>
|
|
<td><span class="business-badge business-badge-info">{{ $item->category }}</span></td>
|
|
<td><span class="business-badge business-badge-info">{{ $item->priority }}</span></td>
|
|
<td><span class="business-badge business-badge-info">{{ $item->status }}</span></td>
|
|
<td>{{ $item->due_date }}</td>
|
|
<td>{{ $item->description }}</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
@if($items->isEmpty())
|
|
<tr><td colspan=7 style="text-align:center; color:#9ca3af; padding:2rem;">暂无数据</td></tr>
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div> |