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

26 lines
822 B
HTML
Raw Normal View History

2018-12-04 12:18:27 +00:00
<vn-crud-model
vn-id="model"
2019-01-21 10:45:53 +00:00
url="/agency/api/ZoneTreeviews/getLeaves"
filter="::$ctrl.filter"
params="{zoneFk: $ctrl.$stateParams.id, parentFk: 1}">
2018-12-04 12:18:27 +00:00
</vn-crud-model>
2019-01-21 10:45:53 +00:00
<vn-horizontal>
<vn-vertical vn-one>
<vn-card pad-large>
<vn-title>Locations</vn-title>
<vn-searchbar
model="model"
expr-builder="$ctrl.exprBuilder(param, value)"
on-search="$ctrl.onSearch()"
vn-focus>
</vn-searchbar>
<vn-treeview vn-id="treeview" model="model"
on-selection="$ctrl.onSelection(item)">
</vn-treeview>
</vn-card>
</vn-vertical>
<vn-auto class="right-block">
<vn-zone-calendar zone="::$ctrl.zone"></vn-zone-calendar>
</vn-auto>
</vn-horizontal>