This commit is contained in:
jesusarockias@syncfusion.com 2020-07-16 19:28:01 +05:30
Родитель 3bef72c029
Коммит 55cd4ddbdb
4 изменённых файлов: 20 добавлений и 12 удалений

Просмотреть файл

@ -93,9 +93,11 @@ export default Vue.extend({
dateRangeChanged: function (args) {
// check wheather the value is empty or not
if (args.startDate && args.endDate) {
var predicatesStart = new Predicate('DOP', 'greaterthanorequal', args.startDate)
var predicatesEnd = new Predicate('DOP', 'lessthanorequal', args.endDate)
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
var filter = [
{ field: 'DOP', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
{ field: 'DOP', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
];
this.filterSettings = {type: 'Menu', columns: filter}
} else {
this.filterSettings = {type: 'Menu', columns: []}
}

Просмотреть файл

@ -86,9 +86,11 @@ export default Vue.extend({
dateRangeChanged: function (args) {
// check wheather the value is empty or not
if (args.startDate && args.endDate) {
var predicatesStart = new Predicate('IssuedOn', 'greaterthanorequal', args.startDate)
var predicatesEnd = new Predicate('IssuedOn', 'lessthanorequal', args.endDate)
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
var filter = [
{ field: 'IssuedOn', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
{ field: 'IssuedOn', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
];
this.filterSettings = {type: 'Menu', columns: filter}
} else {
this.filterSettings = {type: 'Menu', columns: []}
}

Просмотреть файл

@ -90,9 +90,11 @@ export default Vue.extend({
dateRangeChanged: function (args) {
// check wheather the value is empty or not
if (args.startDate && args.endDate) {
var predicatesStart = new Predicate('RequestedOn', 'greaterthanorequal', args.startDate)
var predicatesEnd = new Predicate('RequestedOn', 'lessthanorequal', args.endDate)
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
var filter = [
{ field: 'RequestedOn', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
{ field: 'RequestedOn', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
];
this.filterSettings = {type: 'Menu', columns: filter}
} else {
this.filterSettings = {type: 'Menu', columns: []}
}

Просмотреть файл

@ -90,9 +90,11 @@ export default Vue.extend({
dateRangeChanged: function (args) {
// check wheather the value is empty or not
if (args.startDate && args.endDate) {
var predicatesStart = new Predicate('DOP', 'greaterthanorequal', args.startDate)
var predicatesEnd = new Predicate('DOP', 'lessthanorequal', args.endDate)
this.filterSettings = {type: 'Menu', columns: [predicatesStart, predicatesEnd]}
var filter = [
{ field: 'DOP', operator: 'greaterthanorequal', predicate: 'and', value: args.startDate },
{ field: 'DOP', operator: 'lessthanorequal', predicate: 'and', value: args.endDate }
];
this.filterSettings = {type: 'Menu', columns: filter}
} else {
this.filterSettings = {type: 'Menu', columns: []}
}