This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/* xeslint-disable */
|
/* xeslint-disable */
|
||||||
|
|
||||||
let keepPolling = false;
|
let keepPolling = false;
|
||||||
const DEFAULT_POLLING_INTERVAL = 10000;
|
const DEFAULT_POLLING_INTERVAL = 60000;
|
||||||
const MAX_POLLING_INTERVAL = 15 * 60 * 1000; //15 minutes maximum wait time
|
const MAX_POLLING_INTERVAL = 15 * 60 * 1000; //15 minutes maximum wait time
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -378,6 +378,7 @@ async function populateAyaTypeList(vm) {
|
|||||||
let item = ayt[i];
|
let item = ayt[i];
|
||||||
let openableObject = false;
|
let openableObject = false;
|
||||||
//CoreBizObject add here
|
//CoreBizObject add here
|
||||||
|
//todo: centralize this if reuqired one more time anywhere
|
||||||
switch (item.id) {
|
switch (item.id) {
|
||||||
case window.$gz.type.User:
|
case window.$gz.type.User:
|
||||||
case window.$gz.type.Widget:
|
case window.$gz.type.Widget:
|
||||||
|
|||||||
@@ -5,9 +5,22 @@
|
|||||||
<v-form ref="form">
|
<v-form ref="form">
|
||||||
<v-row>
|
<v-row>
|
||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
{{ obj }}
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
//////
|
<v-select
|
||||||
{{ selectLists }}
|
v-model="obj.ayaType"
|
||||||
|
:items="selectLists.coreAyaTypes"
|
||||||
|
item-text="name"
|
||||||
|
item-value="id"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:disabled="formState.readOnly"
|
||||||
|
:label="$ay.t('AyaType')"
|
||||||
|
ref="ayaType"
|
||||||
|
:data-cy="!!$ay.dev ? 'ayaType' : false"
|
||||||
|
:rules="[form().integerValid(this, 'ayaType')]"
|
||||||
|
:error-messages="form().serverErrors(this, 'ayaType')"
|
||||||
|
@input="fieldValueChanged('ayaType')"
|
||||||
|
></v-select>
|
||||||
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
</v-col>
|
</v-col>
|
||||||
@@ -87,7 +100,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
selectLists: {
|
selectLists: {
|
||||||
eventTypes: [],
|
eventTypes: [],
|
||||||
deliveryMethods: []
|
deliveryMethods: [],
|
||||||
|
coreAyaTypes: []
|
||||||
},
|
},
|
||||||
/* public long Id { get; set; }
|
/* public long Id { get; set; }
|
||||||
public uint Concurrency { get; set; }
|
public uint Concurrency { get; set; }
|
||||||
@@ -537,5 +551,8 @@ async function populateSelectionLists(vm) {
|
|||||||
vm.selectLists.deliveryMethods = window.$gz.enums.getSelectionList(
|
vm.selectLists.deliveryMethods = window.$gz.enums.getSelectionList(
|
||||||
"NotifyDeliveryMethod"
|
"NotifyDeliveryMethod"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
await window.$gz.enums.fetchEnumList("core");
|
||||||
|
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("core");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user