feat: unify provider scheduling workspace

This commit is contained in:
elky
2026-10-07 00:34:18 +08:00
parent e7de935e61
commit 466c7918a1
69 changed files with 5810 additions and 2666 deletions
@@ -1,8 +1,14 @@
<template>
<div class="flex flex-col items-center justify-center py-16 text-center">
<div class="mb-2 text-muted-foreground">
{{ legacyT(hasActiveFilters ? '未找到匹配当前筛选条件的提供商' : '暂无提供商,点击右上角添加') }}
{{ legacyT(hasActiveFilters ? '未找到匹配当前筛选条件的提供商' : title || '暂无提供商,点击右上角添加') }}
</div>
<p
v-if="!hasActiveFilters && description"
class="px-4 text-xs text-muted-foreground"
>
{{ legacyT(description) }}
</p>
<Button
v-if="hasActiveFilters"
variant="outline"
@@ -20,6 +26,8 @@ import { useI18n } from '@/i18n'
defineProps<{
hasActiveFilters: boolean
title?: string
description?: string
}>()
defineEmits<{