2019-01-28 15:24:45 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Workers/filter"
|
2019-01-28 15:24:45 +00:00
|
|
|
limit="20"
|
2019-03-11 07:00:49 +00:00
|
|
|
order="id"
|
2019-01-30 12:32:25 +00:00
|
|
|
data="workers">
|
2019-01-28 15:24:45 +00:00
|
|
|
</vn-crud-model>
|
2019-11-10 10:08:44 +00:00
|
|
|
<vn-auto-search
|
|
|
|
on-search="$ctrl.onSearch($params)">
|
|
|
|
</vn-auto-search>
|
|
|
|
<vn-data-viewer
|
|
|
|
model="model"
|
|
|
|
class="vn-w-sm">
|
|
|
|
<vn-card>
|
|
|
|
<div class="vn-list separated">
|
|
|
|
<a
|
|
|
|
ng-repeat="worker in workers track by worker.id"
|
|
|
|
ui-sref="worker.card.summary({id: worker.id})"
|
|
|
|
translate-attr="{title: 'View worker'}"
|
|
|
|
class="vn-item search-result">
|
|
|
|
<vn-item-section>
|
|
|
|
<h6>{{::worker.nickname}}</h6>
|
|
|
|
<vn-label-value label="Id"
|
|
|
|
value="{{::worker.id}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="User"
|
|
|
|
value="{{::worker.userName}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Email"
|
|
|
|
value="{{::worker.email}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Department"
|
|
|
|
value="{{::worker.department}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-item-section>
|
|
|
|
<vn-item-section side>
|
|
|
|
<vn-icon-button
|
|
|
|
ng-click="$ctrl.preview($event, worker)"
|
|
|
|
vn-tooltip="Preview"
|
|
|
|
icon="desktop_windows">
|
|
|
|
</vn-icon-button>
|
|
|
|
</vn-item-section>
|
|
|
|
</a>
|
|
|
|
</div>
|
2019-10-02 19:02:49 +00:00
|
|
|
</vn-card>
|
2019-11-10 10:08:44 +00:00
|
|
|
</vn-data-viewer>
|
2019-10-26 23:30:01 +00:00
|
|
|
<vn-popup vn-id="preview">
|
|
|
|
<vn-worker-summary
|
|
|
|
worker="$ctrl.selectedWorker">
|
|
|
|
</vn-worker-summary>
|
|
|
|
</vn-popup>
|
2019-09-05 11:06:40 +00:00
|
|
|
<vn-scroll-up></vn-scroll-up>
|