| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace App\Filament\Pages\Integrations;
- use BackedEnum;
- use Filament\Pages\Page;
- use UnitEnum;
- use Livewire\Attributes\Computed;
- use Illuminate\Http\Request;
- class KnowledgeGraphExplorer extends Page
- {
- protected static ?string $title = '知识图谱浏览';
- protected static string|BackedEnum|null $navigationIcon = 'heroicon-o-globe-alt';
- protected static ?string $navigationLabel = '知识图谱浏览';
- protected static string|UnitEnum|null $navigationGroup = '整合视图';
- protected static ?int $navigationSort = 10;
- protected string $view = 'filament.pages.integrations.knowledge-graph-explorer';
- public ?string $selectedKpCode = null;
- public function mount(Request $request): void
- {
- $this->selectedKpCode = $request->query('kp_code');
- }
- public function getBreadcrumbs(): array
- {
- return [
- 'knowledge-graph-explorer' => '知识图谱浏览',
- ];
- }
- }
|