202508031042
分頁加入 分店記錄 import-datas 點沒有做用
This commit is contained in:
parent
5d8c436f86
commit
948d21667b
@ -18,7 +18,6 @@ use PowerComponents\LivewirePowerGrid\PowerGridComponent;
|
||||
use PowerComponents\LivewirePowerGrid\Traits\WithExport;
|
||||
use PowerComponents\LivewirePowerGrid\Components\SetUp\Exportable;
|
||||
use Livewire\Attributes\On;
|
||||
use Livewire\Attributes\Url;
|
||||
use WireUi\Traits\WireUiActions;
|
||||
|
||||
final class RoomTable extends PowerGridComponent
|
||||
@ -27,7 +26,7 @@ final class RoomTable extends PowerGridComponent
|
||||
public string $tableName = 'room-table';
|
||||
public bool $canDownload;
|
||||
public bool $canDelect;
|
||||
#[Url]
|
||||
|
||||
public ?int $selectedBranchId = null;
|
||||
public ?string $external_ip= "";
|
||||
|
||||
@ -58,7 +57,7 @@ final class RoomTable extends PowerGridComponent
|
||||
->showToggleColumns();
|
||||
$header->includeViewOnTop('livewire.headers.room');
|
||||
$actions[]=$header;
|
||||
$actions[]=PowerGrid::footer()->showPerPage()->showRecordCount();
|
||||
$actions[]=PowerGrid::footer()->pageName('selectedBranchId')->showPerPage()->showRecordCount();
|
||||
return $actions;
|
||||
}
|
||||
public function header(): array
|
||||
|
@ -7,7 +7,7 @@
|
||||
/>
|
||||
|
||||
<x-wireui:button
|
||||
wire:click="$dispatchTo('forms.import-datas.artist','openModal')"
|
||||
wire:click="$dispatchTo('import-datas.artist','openModal')"
|
||||
icon="document-plus"
|
||||
label="{{ __('artists.ImportData') }}"
|
||||
class="bg-green-600 text-white"
|
||||
|
@ -7,7 +7,7 @@
|
||||
/>
|
||||
|
||||
<x-wireui:button
|
||||
wire:click="$dispatchTo('forms.import-datas.branch','openModal')"
|
||||
wire:click="$dispatchTo('import-datas.branch','openModal')"
|
||||
icon="document-plus"
|
||||
label="{{ __('branches.ImportData') }}"
|
||||
class="bg-green-600 text-white"
|
||||
|
@ -7,7 +7,7 @@
|
||||
/>
|
||||
|
||||
<x-wireui:button
|
||||
wire:click="$dispatchTo('forms.import-datas.song','openModal')"
|
||||
wire:click="$dispatchTo('import-datas.song','openModal')"
|
||||
icon="document-plus"
|
||||
label="{{ __('songs.ImportData') }}"
|
||||
class="bg-green-600 text-white"
|
||||
|
Loading…
x
Reference in New Issue
Block a user