This commit is contained in:
iVampireSP.com 2023-02-20 12:51:39 +08:00
parent 5ce0b3ebd1
commit 5d520135d6
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -4,42 +4,48 @@
@section('content')
<h3>维护计划</h3>
@if (count($maintenances) > 0)
<div class="overflow-auto">
<table class="table table-hover">
<thead>
<th>名称</th>
<th>内容</th>
<th>模块</th>
<th>开始于</th>
<th>结束于</th>
</thead>
<div class="overflow-auto">
<table class="table table-hover">
<thead>
<th>名称</th>
<th>内容</th>
<th>模块</th>
<th>开始于</th>
<th>结束于</th>
</thead>
<tbody>
@foreach ($maintenances as $m)
<tr>
<td>
{{ $m->name }}
</td>
<tbody>
@foreach ($maintenances as $m)
<tr>
<td>
{{ $m->name }}
</td>
<td>
<textarea class="form-control border-0" cols="3" readonly
aria-label="维护内容">{{ $m->content }}</textarea>
</td>
<td>
<textarea class="form-control border-0" cols="3" readonly aria-label="维护内容">{{ $m->content }}</textarea>
</td>
<td>
{{ $m->module?->name }}
</td>
<td>
{{ $m->module?->name }}
</td>
<td>
{{ $m->start_at }}
</td>
<td>
{{ $m->start_at }}
</td>
<td>
{{ $m->end_at }}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<td>
{{ $m->end_at }}
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@else
<p>
暂无维护计划。
</p>
@endif
@endsection