From d582829739f09c5f156921390acdcf5cb3d82471 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 19 Feb 2020 22:24:25 +0000 Subject: [PATCH] --- ayanova/src/views/ay-data-list-view.vue | 34 +++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index 5163639f..86b5357d 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -147,7 +147,7 @@ >
- TODO: condition builder row and add button + ADD BUTTON|OP PICKLIST|VALUE
TODO: list of items with delete button on each one @@ -232,7 +232,37 @@ export default { fieldDefinitions: [], effectiveListView: undefined, concurrencyToken: undefined, - pickLists: {}, + /* + public const string OpEquality = "="; + public const string OpGreaterThan = ">"; + public const string OpGreaterThanOrEqualTo = ">="; + public const string OpLessThan = "<"; + public const string OpLessThanOrEqualTo = "<="; + public const string OpNotEqual = "!="; + public const string OpNotLike = "!%"; + public const string OpStartsWith = "%-"; + public const string OpEndsWith = "-%"; + public const string OpContains = "-%-"; + public const string OpNotContains = "!-%-"; + */ + pickLists: { + dateFilterOperators: [ + { name: this.lt("GridRowFilterDropDownEquals"), id: "=" }, + { name: this.lt("GridRowFilterDropDownGreaterThan"), id: ">" }, + { + name: this.lt("GridRowFilterDropDownGreaterThanOrEqualTo"), + id: ">=" + }, + { name: this.lt("GridRowFilterDropDownLessThan"), id: "<" }, + { name: this.lt("GridRowFilterDropDownLessThanOrEqualTo"), id: "<=" }, + { name: this.lt("GridRowFilterDropDownNotEquals"), id: "!=" } + ], + stringFilterOperators: [], //maybe this one contains by Specific ID? Easy thing to do would be to say fuck it and it must be just text, no id filter TBD + integerFilterOperators: [], + boolFilterOperators: [], + decimalFilterOperators: [], + tagFilterOperators: [] + }, formState: { ready: false, dirty: false,