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) { 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: []}
} }