This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* xeslint-disable */
|
||||
|
||||
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
|
||||
|
||||
export default {
|
||||
|
||||
@@ -378,6 +378,7 @@ async function populateAyaTypeList(vm) {
|
||||
let item = ayt[i];
|
||||
let openableObject = false;
|
||||
//CoreBizObject add here
|
||||
//todo: centralize this if reuqired one more time anywhere
|
||||
switch (item.id) {
|
||||
case window.$gz.type.User:
|
||||
case window.$gz.type.Widget:
|
||||
|
||||
@@ -5,9 +5,22 @@
|
||||
<v-form ref="form">
|
||||
<v-row>
|
||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||
{{ obj }}
|
||||
//////
|
||||
{{ selectLists }}
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-select
|
||||
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-form>
|
||||
</v-col>
|
||||
@@ -87,7 +100,8 @@ export default {
|
||||
return {
|
||||
selectLists: {
|
||||
eventTypes: [],
|
||||
deliveryMethods: []
|
||||
deliveryMethods: [],
|
||||
coreAyaTypes: []
|
||||
},
|
||||
/* public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
@@ -537,5 +551,8 @@ async function populateSelectionLists(vm) {
|
||||
vm.selectLists.deliveryMethods = window.$gz.enums.getSelectionList(
|
||||
"NotifyDeliveryMethod"
|
||||
);
|
||||
|
||||
await window.$gz.enums.fetchEnumList("core");
|
||||
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("core");
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user