This commit is contained in:
@@ -94,6 +94,21 @@
|
||||
@change="fieldValueChanged('includeWoItemDescendants')"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-select
|
||||
v-model="obj.aType"
|
||||
:items="selectLists.coreAyaTypes"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('AyaType')"
|
||||
ref="ayaType"
|
||||
data-cy="ayaType"
|
||||
:rules="[form().integerValid(this, 'aType')]"
|
||||
:error-messages="form().serverErrors(this, 'aType')"
|
||||
@input="fieldValueChanged('aType')"
|
||||
></v-select>
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox
|
||||
@@ -572,7 +587,8 @@ Handlebars.registerHelper('loud', function (aString) {
|
||||
{ name: "Legal", id: 9 },
|
||||
{ name: "Letter", id: 10 },
|
||||
{ name: "Tabloid", id: 11 }
|
||||
]
|
||||
],
|
||||
coreAyaTypes: []
|
||||
}
|
||||
};
|
||||
},
|
||||
@@ -1178,4 +1194,16 @@ async function fetchReportData(vm) {
|
||||
vm.reportData = res.data;
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////
|
||||
//
|
||||
//
|
||||
async function populateSelectionLists(vm) {
|
||||
|
||||
|
||||
await window.$gz.enums.fetchEnumList("coreview");
|
||||
vm.selectLists.coreAyaTypes = window.$gz.enums.getSelectionList("coreview");
|
||||
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user