plan7 selector - добавлена админка для сохранения api данных

This commit is contained in:
developer 2026-04-03 11:47:18 +08:00
parent 41a68ed409
commit a1738ac8f7
2 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,12 @@ public function mount($containerId = 'plan7__selector')
$this->getData(); $this->getData();
} }
} }
public function updated($property, $value)
{
if ($property === 'complexId') {
$this->mount();
}
}
private function getSummary() { private function getSummary() {
$URL = $this->apiSummary; $URL = $this->apiSummary;

View File

@ -22,6 +22,7 @@
Выбрать помещение Выбрать помещение
@endif @endif
</button> </button>
{{ $complexId }}
</div> </div>
</div> </div>
@ -37,6 +38,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
@if($room) @if($room)
<div wire:loading.class="opacity-50" class="d-flex flex-wrap gap-3"> <div wire:loading.class="opacity-50" class="d-flex flex-wrap gap-3">
<div class="col-12 col-md-7"> <div class="col-12 col-md-7">