iotgateway/IoTGateway/Areas/BasicData/Views/Device/Index.cshtml
2021-12-12 14:55:48 +08:00

14 lines
699 B
Plaintext

@model IoTGateway.ViewModel.BasicData.DeviceVMs.DeviceListVM
@inject IStringLocalizer<Program> Localizer;
<wt:searchpanel vm="@Model" reset-btn="true">
<wt:row items-per-row="ItemsPerRowEnum.Three">
<wt:textbox field="Searcher.DeviceName" />
<wt:combobox field="Searcher.DriverId" items="Searcher.AllDrivers" empty-text="@Localizer["Sys.All"]" />
<wt:combobox field="Searcher.AutoStart" empty-text="@Localizer["Sys.All"]" />
<wt:combobox field="Searcher.DeviceTypeEnum" empty-text="@Localizer["Sys.All"]" />
<wt:combobox field="Searcher.ParentId" items="Searcher.AllParents" empty-text="@Localizer["Sys.All"]" />
</wt:row>
</wt:searchpanel>
<wt:grid vm="@Model" url="/BasicData/Device/Search"/>