5244-component_workerAutocomplete #1679
|
@ -1,7 +1,6 @@
|
|||
<vn-autocomplete
|
||||
vn-one
|
||||
url="Workers/search"
|
||||
ng-model="$ctrl.workerFk"
|
||||
search-function="{or: [
|
||||
{name: $search},
|
||||
{nickname: {like: '%'+ $search +'%'}},
|
||||
|
|
|
@ -20,8 +20,16 @@
|
|||
vn-focus>
|
||||
</vn-autocomplete>
|
||||
<vn-worker-autocomplete
|
||||
ng-if="$ctrl.isPickerDesignedState">
|
||||
vn-one
|
||||
ng-model="$ctrl.workerFk"
|
||||
where="{role: 'employee'}">
|
||||
</vn-worker-autocomplete>
|
||||
<vn-autocomplete
|
||||
vn-one
|
||||
url="Workers/activeWithInheritedRole"
|
||||
ng-model="$ctrl.workerFk"
|
||||
label="Worker">
|
||||
</vn-autocomplete>
|
||||
</vn-horizontal>
|
||||
</vn-card>
|
||||
<vn-button-bar>
|
||||
|
|
Loading…
Reference in New Issue