salix/modules/ticket/front/tracking/edit/index.html

34 lines
1.1 KiB
HTML
Raw Normal View History

2019-01-22 09:04:42 +00:00
<mg-ajax path="/api/TicketTrackings/changeState" options="vnPost"></mg-ajax>
2018-03-27 12:26:20 +00:00
<vn-watcher
vn-id="watcher"
2019-01-22 09:04:42 +00:00
data="$ctrl.params"
form="form">
2018-03-27 12:26:20 +00:00
</vn-watcher>
2018-12-14 11:56:21 +00:00
<form name="form" ng-submit="$ctrl.onSubmit()" compact>
<vn-card class="vn-pa-lg">
2018-03-27 12:26:20 +00:00
<vn-horizontal>
2018-04-04 13:02:01 +00:00
<vn-autocomplete
vn-one
2019-01-22 09:04:42 +00:00
field="$ctrl.stateFk"
url="/ticket/api/States"
label="State"
vn-focus>
</vn-autocomplete>
2019-01-22 09:04:42 +00:00
<vn-autocomplete
vn-one
2019-08-19 05:56:20 +00:00
url="/client/api/Clients/activeWorkersWithRole"
2019-01-22 09:04:42 +00:00
ng-if="$ctrl.isPickerDesignedState"
field="$ctrl.workerFk"
2019-01-30 14:10:52 +00:00
show-field="nickname"
2019-01-22 09:04:42 +00:00
search-function="{firstName: $search}"
value-field="id"
where="{role: 'employee'}"
label="Worker">
</vn-autocomplete>
2018-03-27 12:26:20 +00:00
</vn-horizontal>
</vn-card>
<vn-button-bar>
<vn-submit label="Save"></vn-submit>
2018-09-14 06:14:52 +00:00
<vn-button ui-sref="ticket.card.tracking.index" label="Cancel"></vn-button>
2018-03-27 12:26:20 +00:00
</vn-button-bar>
</form>