5691-route.index_optimizar #1610
|
@ -1,6 +1,21 @@
|
||||||
<vn-auto-search
|
<vn-auto-search
|
||||||
model="model">
|
model="model">
|
||||||
</vn-auto-search>
|
</vn-auto-search>
|
||||||
|
<vn-crud-model
|
||||||
|
auto-load="true"
|
||||||
|
url="AgencyModes"
|
||||||
|
data="agencyModes">
|
||||||
|
</vn-crud-model>
|
||||||
|
<vn-crud-model
|
||||||
|
auto-load="true"
|
||||||
|
url="Vehicles"
|
||||||
|
data="vehicles">
|
||||||
|
</vn-crud-model>
|
||||||
|
<vn-crud-model
|
||||||
|
auto-load="true"
|
||||||
|
url="Workers/activeWithInheritedRole"
|
||||||
|
data="activeWithInheritedRole">
|
||||||
|
</vn-crud-model>
|
||||||
<div class="vn-w-xl">
|
<div class="vn-w-xl">
|
||||||
<vn-card>
|
<vn-card>
|
||||||
<smart-table
|
<smart-table
|
||||||
|
@ -83,7 +98,7 @@
|
||||||
<td>
|
<td>
|
||||||
<vn-autocomplete
|
<vn-autocomplete
|
||||||
ng-model="route.workerFk"
|
ng-model="route.workerFk"
|
||||||
url="Workers/activeWithInheritedRole"
|
data="activeWithInheritedRole"
|
||||||
show-field="nickname"
|
show-field="nickname"
|
||||||
search-function="{firstName: $search}"
|
search-function="{firstName: $search}"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
|
@ -98,7 +113,7 @@
|
||||||
<td expand>
|
<td expand>
|
||||||
<vn-autocomplete
|
<vn-autocomplete
|
||||||
ng-model="route.agencyModeFk"
|
ng-model="route.agencyModeFk"
|
||||||
url="AgencyModes"
|
data="agencyModes"
|
||||||
show-field="name"
|
show-field="name"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
on-change="$ctrl.updateAttributes(route)"
|
on-change="$ctrl.updateAttributes(route)"
|
||||||
|
@ -108,7 +123,7 @@
|
||||||
<td expand>
|
<td expand>
|
||||||
<vn-autocomplete
|
<vn-autocomplete
|
||||||
ng-model="route.vehicleFk"
|
ng-model="route.vehicleFk"
|
||||||
url="Vehicles"
|
data="vehicles"
|
||||||
show-field="numberPlate"
|
show-field="numberPlate"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
on-change="$ctrl.updateAttributes(route)"
|
on-change="$ctrl.updateAttributes(route)"
|
||||||
|
|
Loading…
Reference in New Issue