2018-12-04 12:18:27 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Zones/{{$ctrl.$params.id}}/getLeaves"
|
2019-10-08 05:22:38 +00:00
|
|
|
filter="::$ctrl.filter">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-crud-model>
|
2019-10-08 07:23:29 +00:00
|
|
|
<div class="vn-w-md">
|
2019-10-18 23:18:25 +00:00
|
|
|
<vn-card class="vn-pa-md">
|
|
|
|
<vn-searchbar
|
|
|
|
auto-load="false"
|
2019-09-19 13:51:39 +00:00
|
|
|
on-search="$ctrl.onSearch($params)"
|
2019-02-01 16:11:14 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-searchbar>
|
2019-09-25 18:06:42 +00:00
|
|
|
</vn-card>
|
2019-10-08 11:03:19 +00:00
|
|
|
<vn-card class="vn-pa-lg vn-mt-md">
|
2019-10-08 05:22:38 +00:00
|
|
|
<vn-treeview vn-id="treeview" root-label="Locations"
|
|
|
|
fetch-func="$ctrl.onFetch($item)"
|
|
|
|
sort-func="$ctrl.onSort($a, $b)">
|
2019-10-02 07:54:52 +00:00
|
|
|
<vn-check
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="item.selected"
|
2019-10-08 05:22:38 +00:00
|
|
|
on-change="$ctrl.onSelection(value, item)"
|
2019-10-02 07:54:52 +00:00
|
|
|
triple-state="true"
|
2019-10-24 08:17:32 +00:00
|
|
|
ng-click="$event.preventDefault()"
|
2019-10-02 07:54:52 +00:00
|
|
|
label="{{::item.name}}">
|
|
|
|
</vn-check>
|
2019-02-01 16:11:14 +00:00
|
|
|
</vn-treeview>
|
|
|
|
</vn-card>
|
2019-10-08 11:06:50 +00:00
|
|
|
</div>
|