增加 创建时间
This commit is contained in:
parent
c1ea2a2592
commit
ec2cd375e5
@ -23,6 +23,7 @@
|
|||||||
<th>模块</th>
|
<th>模块</th>
|
||||||
<th>主机</th>
|
<th>主机</th>
|
||||||
<th>发起者</th>
|
<th>发起者</th>
|
||||||
|
<th>创建时间</th>
|
||||||
<th>状态</th>
|
<th>状态</th>
|
||||||
<th>操作</th>
|
<th>操作</th>
|
||||||
</thead>
|
</thead>
|
||||||
@ -66,6 +67,9 @@ class="host_name"
|
|||||||
<td>
|
<td>
|
||||||
<a href="{{ route('admin.users.edit', $workOrder->user_id) }}">{{ $workOrder->user->name }}</a>
|
<a href="{{ route('admin.users.edit', $workOrder->user_id) }}">{{ $workOrder->user->name }}</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{{ $workOrder->created_at }}, {{ $workOrder->created_at->diffForHumans() }}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<x-work-order-status :status="$workOrder->status"></x-work-order-status>
|
<x-work-order-status :status="$workOrder->status"></x-work-order-status>
|
||||||
</td>
|
</td>
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
<h3>{{ $workOrder->title }}</h3>
|
<h3>{{ $workOrder->title }}</h3>
|
||||||
<p>
|
<p>
|
||||||
UUID: {{ $workOrder->uuid }}
|
UUID: {{ $workOrder->uuid }}
|
||||||
|
<br />
|
||||||
|
创建时间: {{ $workOrder->created_at }}, {{ $workOrder->created_at->diffForHumans() }}。
|
||||||
|
<br />
|
||||||
|
最后更新时间: {{ $workOrder->updated_at }}。
|
||||||
</p>
|
</p>
|
||||||
<a href="{{ route('admin.work-orders.edit', $workOrder) }}">编辑此工单</a>
|
<a href="{{ route('admin.work-orders.edit', $workOrder) }}">编辑此工单</a>
|
||||||
<a href="{{ route('admin.users.edit', $workOrder->user_id) }}">用户: {{ $workOrder->user->name }}</a>
|
<a href="{{ route('admin.users.edit', $workOrder->user_id) }}">用户: {{ $workOrder->user->name }}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user