build error cleared
This commit is contained in:
Родитель
3bef72c029
Коммит
55cd4ddbdb
|
@ -93,9 +93,11 @@ export default Vue.extend({
|
||||||
dateRangeChanged: function (args) {
|
dateRangeChanged: function (args) {
|
||||||
// check wheather the value is empty or not
|
// check wheather the value is empty or not
|
||||||
if (args.startDate && args.endDate) {
|
if (args.startDate && args.endDate) {
|
||||||
var predicatesStart = new Predicate('DOP', 'greaterthanorequal', args.startDate)
|
var filter = [
|
||||||
var predicatesEnd = new Predicate('DOP', 'lessthanorequal', args.endDate)
|
{ field: 'DOP', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
|
||||||
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
|
{ field: 'DOP', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
|
||||||
|
];
|
||||||
|
this.filterSettings = {type: 'Menu', columns: filter}
|
||||||
} else {
|
} else {
|
||||||
this.filterSettings = {type: 'Menu', columns: []}
|
this.filterSettings = {type: 'Menu', columns: []}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,9 +86,11 @@ export default Vue.extend({
|
||||||
dateRangeChanged: function (args) {
|
dateRangeChanged: function (args) {
|
||||||
// check wheather the value is empty or not
|
// check wheather the value is empty or not
|
||||||
if (args.startDate && args.endDate) {
|
if (args.startDate && args.endDate) {
|
||||||
var predicatesStart = new Predicate('IssuedOn', 'greaterthanorequal', args.startDate)
|
var filter = [
|
||||||
var predicatesEnd = new Predicate('IssuedOn', 'lessthanorequal', args.endDate)
|
{ field: 'IssuedOn', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
|
||||||
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
|
{ field: 'IssuedOn', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
|
||||||
|
];
|
||||||
|
this.filterSettings = {type: 'Menu', columns: filter}
|
||||||
} else {
|
} else {
|
||||||
this.filterSettings = {type: 'Menu', columns: []}
|
this.filterSettings = {type: 'Menu', columns: []}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,9 +90,11 @@ export default Vue.extend({
|
||||||
dateRangeChanged: function (args) {
|
dateRangeChanged: function (args) {
|
||||||
// check wheather the value is empty or not
|
// check wheather the value is empty or not
|
||||||
if (args.startDate && args.endDate) {
|
if (args.startDate && args.endDate) {
|
||||||
var predicatesStart = new Predicate('RequestedOn', 'greaterthanorequal', args.startDate)
|
var filter = [
|
||||||
var predicatesEnd = new Predicate('RequestedOn', 'lessthanorequal', args.endDate)
|
{ field: 'RequestedOn', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
|
||||||
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
|
{ field: 'RequestedOn', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
|
||||||
|
];
|
||||||
|
this.filterSettings = {type: 'Menu', columns: filter}
|
||||||
} else {
|
} else {
|
||||||
this.filterSettings = {type: 'Menu', columns: []}
|
this.filterSettings = {type: 'Menu', columns: []}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,9 +90,11 @@ export default Vue.extend({
|
||||||
dateRangeChanged: function (args) {
|
dateRangeChanged: function (args) {
|
||||||
// check wheather the value is empty or not
|
// check wheather the value is empty or not
|
||||||
if (args.startDate && args.endDate) {
|
if (args.startDate && args.endDate) {
|
||||||
var predicatesStart = new Predicate('DOP', 'greaterthanorequal', args.startDate)
|
var filter = [
|
||||||
var predicatesEnd = new Predicate('DOP', 'lessthanorequal', args.endDate)
|
{ field: 'DOP', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
|
||||||
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
|
{ field: 'DOP', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
|
||||||
|
];
|
||||||
|
this.filterSettings = {type: 'Menu', columns: filter}
|
||||||
} else {
|
} else {
|
||||||
this.filterSettings = {type: 'Menu', columns: []}
|
this.filterSettings = {type: 'Menu', columns: []}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче