salix/modules/agency/front/location/index.html

29 lines
858 B
HTML
Raw Normal View History

2018-12-04 12:18:27 +00:00
<vn-crud-model
vn-id="model"
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-11-10 10:08:44 +00:00
<vn-portal slot="topbar">
<vn-searchbar></vn-searchbar>
</vn-portal>
<vn-auto-search
on-search="$ctrl.onSearch($params)">
</vn-auto-search>
2019-10-08 07:23:29 +00:00
<div class="vn-w-md">
2019-10-08 11:03:19 +00:00
<vn-card class="vn-pa-lg vn-mt-md">
2019-11-14 13:07:48 +00:00
<vn-treeview
vn-id="treeview"
root-label="Locations"
2019-10-08 05:22:38 +00:00
fetch-func="$ctrl.onFetch($item)"
sort-func="$ctrl.onSort($a, $b)">
<vn-check acl-role="deliveryBoss"
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>