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