This commit is contained in:
@@ -146,11 +146,59 @@
|
||||
:value="true"
|
||||
></v-radio>
|
||||
</v-radio-group>
|
||||
<!-- BUILDER FOR EACH TYPE Tag, decimal,currency, bool, integer, string, datetime -->
|
||||
<!-- DATETIME BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 1">
|
||||
DATETIME BUILDER
|
||||
</div>
|
||||
|
||||
<!-- STRING(text-4, emailaddress-11, http-12) BUILDER -->
|
||||
<div
|
||||
v-if="
|
||||
item.uiFieldDataType === 4 ||
|
||||
item.uiFieldDataType === 11 ||
|
||||
item.uiFieldDataType === 12
|
||||
"
|
||||
>
|
||||
STRING BUILDER
|
||||
<div v-if="item.ayaObjectType">
|
||||
ID OBJECT TYPE: {{ item.ayaObjectType }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- INTEGER BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 5">
|
||||
INTEGER BUILDER
|
||||
</div>
|
||||
<!-- BOOL BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 6">
|
||||
BOOL BUILDER
|
||||
</div>
|
||||
|
||||
<!-- DECIMAL BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 7">
|
||||
DECIMAL BUILDER
|
||||
</div>
|
||||
<!-- CURRENCY BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 8">
|
||||
CURRENCY BUILDER
|
||||
</div>
|
||||
<!-- TAG BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 9">TAG BUILDER</div>
|
||||
<!-- ENUM BUILDER -->
|
||||
<div v-if="item.uiFieldDataType === 10">
|
||||
ENUM BUILDER
|
||||
{{ item.enumType }}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
ADD BUTTON|OP PICKLIST|VALUE
|
||||
</div>
|
||||
<div>
|
||||
TODO: list of items with delete button on each one
|
||||
TODO: list of items with delete button on each one No
|
||||
editing here so this is just a static display showing
|
||||
what was selected and can be the same for every type I
|
||||
think
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -232,60 +280,7 @@ export default {
|
||||
fieldDefinitions: [],
|
||||
effectiveListView: undefined,
|
||||
concurrencyToken: undefined,
|
||||
/*
|
||||
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 = "!-%-";
|
||||
|
||||
=-=-=-=-
|
||||
public const string TokenYesterday = "{[yesterday]}";
|
||||
public const string TokenToday = "{[today]}";
|
||||
public const string TokenTomorrow = "{[tomorrow]}";
|
||||
public const string TokenLastWeek = "{[lastweek]}";
|
||||
public const string TokenThisWeek = "{[thisweek]}";
|
||||
public const string TokenNextWeek = "{[nextweek]}";
|
||||
public const string TokenLastMonth = "{[lastmonth]}";
|
||||
public const string TokenThisMonth = "{[thismonth]}";
|
||||
public const string TokenNextMonth = "{[nextmonth]}";
|
||||
public const string TokenFourteenDayWindow = "{[14daywindow]}";
|
||||
public const string TokenPast = "{[past]}";
|
||||
public const string TokenFuture = "{[future]}";
|
||||
public const string TokenLastYear = "{[lastyear]}";
|
||||
public const string TokenThisYear = "{[thisyear]}";
|
||||
public const string TokenInTheLast3Months = "{[last3months]}";
|
||||
public const string TokenInTheLast6Months = "{[last6months]}";
|
||||
public const string TokenInTheLastYear = "{[lastcalendaryear]}";
|
||||
|
||||
//More business time frames
|
||||
|
||||
public const string TokenYearToDate = "{[yeartodate]}";
|
||||
|
||||
public const string TokenPast90Days = "{[past90days]}";
|
||||
public const string TokenPast30Days = "{[past30days]}";
|
||||
public const string TokenPast24Hours = "{[past24hours]}";
|
||||
|
||||
//Months THIS year
|
||||
public const string TokenJanuary = "{[january]}";
|
||||
public const string TokenFebruary = "{[february]}";
|
||||
public const string TokenMarch = "{[march]}";
|
||||
public const string TokenApril = "{[april]}";
|
||||
public const string TokenMay = "{[may]}";
|
||||
public const string TokenJune = "{[june]}";
|
||||
public const string TokenJuly = "{[july]}";
|
||||
public const string TokenAugust = "{[august]}";
|
||||
public const string TokenSeptember = "{[september]}";
|
||||
public const string TokenOctober = "{[october]}";
|
||||
public const string TokenNovember = "{[november]}";
|
||||
public const string TokenDecember = "{[december]}";
|
||||
*/
|
||||
pickLists: {
|
||||
dateFilterOperators: [
|
||||
{ name: this.lt("GridRowFilterDropDownBlanksItem"), id: "*NOVALUE*" },
|
||||
@@ -835,4 +830,80 @@ function initDataObject(vm) {
|
||||
|
||||
//eoc
|
||||
}
|
||||
|
||||
/*
|
||||
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 = "!-%-";
|
||||
|
||||
=-=-=-=-
|
||||
public const string TokenYesterday = "{[yesterday]}";
|
||||
public const string TokenToday = "{[today]}";
|
||||
public const string TokenTomorrow = "{[tomorrow]}";
|
||||
public const string TokenLastWeek = "{[lastweek]}";
|
||||
public const string TokenThisWeek = "{[thisweek]}";
|
||||
public const string TokenNextWeek = "{[nextweek]}";
|
||||
public const string TokenLastMonth = "{[lastmonth]}";
|
||||
public const string TokenThisMonth = "{[thismonth]}";
|
||||
public const string TokenNextMonth = "{[nextmonth]}";
|
||||
public const string TokenFourteenDayWindow = "{[14daywindow]}";
|
||||
public const string TokenPast = "{[past]}";
|
||||
public const string TokenFuture = "{[future]}";
|
||||
public const string TokenLastYear = "{[lastyear]}";
|
||||
public const string TokenThisYear = "{[thisyear]}";
|
||||
public const string TokenInTheLast3Months = "{[last3months]}";
|
||||
public const string TokenInTheLast6Months = "{[last6months]}";
|
||||
public const string TokenInTheLastYear = "{[lastcalendaryear]}";
|
||||
|
||||
//More business time frames
|
||||
|
||||
public const string TokenYearToDate = "{[yeartodate]}";
|
||||
|
||||
public const string TokenPast90Days = "{[past90days]}";
|
||||
public const string TokenPast30Days = "{[past30days]}";
|
||||
public const string TokenPast24Hours = "{[past24hours]}";
|
||||
|
||||
//Months THIS year
|
||||
public const string TokenJanuary = "{[january]}";
|
||||
public const string TokenFebruary = "{[february]}";
|
||||
public const string TokenMarch = "{[march]}";
|
||||
public const string TokenApril = "{[april]}";
|
||||
public const string TokenMay = "{[may]}";
|
||||
public const string TokenJune = "{[june]}";
|
||||
public const string TokenJuly = "{[july]}";
|
||||
public const string TokenAugust = "{[august]}";
|
||||
public const string TokenSeptember = "{[september]}";
|
||||
public const string TokenOctober = "{[october]}";
|
||||
public const string TokenNovember = "{[november]}";
|
||||
public const string TokenDecember = "{[december]}";
|
||||
|
||||
|
||||
|
||||
public enum UiFieldDataType : int
|
||||
{
|
||||
NoType = 0,
|
||||
DateTime = 1,
|
||||
Date = 2,
|
||||
Time = 3,
|
||||
Text = 4,
|
||||
Integer = 5,
|
||||
Bool = 6,
|
||||
Decimal = 7,
|
||||
Currency = 8,
|
||||
Tags = 9,
|
||||
Enum = 10,
|
||||
EmailAddress = 11,
|
||||
HTTP = 12,
|
||||
InternalId = 13
|
||||
|
||||
}
|
||||
*/
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user