feat(equipment-maintenance): 设备维保助手意图识别

A

(cherry picked from commit 2c7883567358b3787f2bba55332fb6887392d80d)
This commit is contained in:
sophie committed 2026-07-06 10:10:38 +08:00
1 parent 95f3906779
commit 76d5778c3b
18 files changed
+881 -87

No files matched your search

@@ -260,13 +260,6 @@ watch(
v-if="isMaintenanceAgent"
class="flex flex-wrap items-center gap-2 px-3 pb-1 text-xs text-muted"
>
<button
type="button"
class="rounded-full border border-default bg-surface-soft px-3 py-1 font-medium text-secondary transition-colors hover:bg-surface-soft/70"
@click="emit('maintenance-create-record')"
>
{{ $t('maintenance.panel.recordTitle') }}
</button>
<button
type="button"
class="rounded-full border border-brand-200 bg-brand-50 px-3 py-1 font-medium text-brand-700 transition-colors hover:bg-brand-100"
@@ -274,6 +267,13 @@ watch(
>
▦ {{ $t('maintenance.panel.ledgerTitle') }}
</button>
<button
type="button"
class="rounded-full border border-brand-200 bg-brand-50 px-3 py-1 font-medium text-brand-700 transition-colors hover:bg-brand-100"
@click="emit('maintenance-create-record')"
>
{{ $t('maintenance.panel.recordTitle') }}
</button>
<span>{{ $t('maintenance.panel.adminOnly') }}</span>
</div>