feat: multi diagrams

This commit is contained in:
2026-04-06 16:35:11 +08:00
parent 42a879e961
commit d19b770ef4
8 changed files with 98 additions and 16 deletions

View File

@@ -45,12 +45,19 @@ class ViewTerminal extends ViewRecord
Infolists\Components\Section::make('组态配置')
->schema([
Infolists\Components\TextEntry::make('diagram_url')
Infolists\Components\RepeatableEntry::make('diagram_urls')
->label('组态界面地址')
->copyable()
->placeholder('未设置')
->url(fn($state) => $state)
->openUrlInNewTab(),
->schema([
Infolists\Components\TextEntry::make('title')
->label('标题'),
Infolists\Components\TextEntry::make('url')
->label('地址')
->copyable()
->url(fn ($state) => $state)
->openUrlInNewTab(),
])
->columns(2)
->placeholder('未设置'),
]),
Infolists\Components\Section::make('AI提示词配置')