只在预约时显示预约时间

This commit is contained in:
Linus Torvalds
2026-02-27 00:53:33 +08:00
parent 6cf9b0f466
commit 7c1a37216d
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
<p class="font-bold" style="font-size: 19px;">📃No.{t.tid}</p> <p class="font-bold" style="font-size: 19px;">📃No.{t.tid}</p>
<WtsPriority p={t.priority} /> <WtsPriority p={t.priority} />
</div> </div>
{#if t.appointed_at} {#if t.appointed_at && t.status === 'scheduled'}
<p style="color: #0f62fe; font-size: 12.5px;"> <p style="color: #0f62fe; font-size: 12.5px;">
<strong>该报修已预约在{FormatDate(t.appointed_at)}</strong> <strong>该报修已预约在{FormatDate(t.appointed_at)}</strong>
</p> </p>

View File

@@ -23,7 +23,7 @@
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<p class="font-bold" style="font-size: 19px;">📃No.{t.tid}</p> <p class="font-bold" style="font-size: 19px;">📃No.{t.tid}</p>
</div> </div>
{#if t.appointed_at} {#if t.appointed_at && t.status === 'scheduled'}
<p style="color: #0f62fe; font-size: 12.5px;"> <p style="color: #0f62fe; font-size: 12.5px;">
<strong>该报修已预约在{FormatDate(t.appointed_at)}</strong> <strong>该报修已预约在{FormatDate(t.appointed_at)}</strong>
</p> </p>