cambio en filtros
This commit is contained in:
parent
17994a2cc5
commit
6fd77dda74
|
@ -5,12 +5,7 @@
|
||||||
<vn-horizontal vn-one margin-large-bottom class="locator-header">
|
<vn-horizontal vn-one margin-large-bottom class="locator-header">
|
||||||
<vn-title vn-one><span translate>Finder</span></vn-title>
|
<vn-title vn-one><span translate>Finder</span></vn-title>
|
||||||
<vn-two vn-horizontal class="filterPanel">
|
<vn-two vn-horizontal class="filterPanel">
|
||||||
<vn-autocomplete vn-one margin-medium-right field="$ctrl.filter.stateFk" data="$ctrl.states" label="State">
|
<vn-textfield vn-one label="Filtro" model="$ctrl.filter.q"></vn-textfield>
|
||||||
</vn-autocomplete>
|
|
||||||
<vn-autocomplete vn-one margin-medium-right field="$ctrl.filter.alarmFk" data="$ctrl.states" label="Alarm">
|
|
||||||
</vn-autocomplete>
|
|
||||||
<vn-autocomplete vn-one margin-medium-right field="$ctrl.filter.agencyFk" url="/production/api/Agencies/list" label="Agency">
|
|
||||||
</vn-autocomplete>
|
|
||||||
<vn-icon
|
<vn-icon
|
||||||
vn-none
|
vn-none
|
||||||
margin-medium-right
|
margin-medium-right
|
||||||
|
|
|
@ -54,7 +54,7 @@ export default class ProductionIndex {
|
||||||
}
|
}
|
||||||
// Actions Callbacks
|
// Actions Callbacks
|
||||||
_changeState(ids, sateteId, stateName, index) {
|
_changeState(ids, sateteId, stateName, index) {
|
||||||
this.$http.put(`/production/api/TicketStates/${sateteId}/changeState`, ids).then(
|
this.$http.put(`/production/api/TicketStates/${sateteId}/changeState`, {tickets: ids}).then(
|
||||||
() => {
|
() => {
|
||||||
index.forEach(
|
index.forEach(
|
||||||
val => {
|
val => {
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
<vn-date-picker vn-one label="Hour" ini-opts="{enableTime:true,noCalendar:true,dateFormat:'H:i',time_24hr:true,static:true,minuteIncrement:30}" model="$ctrl.filter.hour"></n-date-picker>
|
<vn-date-picker vn-one label="Hour" ini-opts="{enableTime:true,noCalendar:true,dateFormat:'H:i',time_24hr:true,static:true,minuteIncrement:30}" model="$ctrl.filter.hour"></n-date-picker>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-check vn-one pad-medium-top label="Ticket with incidence" field="$ctrl.filter.withIncidence"></vn-check>
|
<vn-autocomplete vn-one margin-medium-right field="$ctrl.filter.stateFk" data="$ctrl.states" label="State"></vn-autocomplete>
|
||||||
<vn-textfield vn-one label="Agency" model="$ctrl.filter.agency"></vn-textfield>
|
<vn-autocomplete vn-one margin-medium-right field="$ctrl.filter.agencyFk" url="/production/api/Agencies/list" label="Agency"></vn-autocomplete>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal margin-large-top>
|
<vn-horizontal margin-large-top>
|
||||||
<vn-submit vn-one label="Filter"></vn-submit>
|
<vn-submit vn-one label="Filter"></vn-submit>
|
||||||
|
|
Loading…
Reference in New Issue