This commit is contained in:
@@ -16,8 +16,19 @@
|
||||
}}</v-btn>
|
||||
</v-col>
|
||||
<v-col cols="12">
|
||||
<div class="text-h5 mt-8 mb-2">{{ $ay.t("GenerateSampleData") }}</div>
|
||||
picklist of sizes
|
||||
<div class="text-h5 mt-8 mb-2">
|
||||
{{ $ay.t("GenerateSampleData") }}
|
||||
</div>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-select
|
||||
v-model="seedLevel"
|
||||
:items="selectLists.seedLevels"
|
||||
item-text="name"
|
||||
item-value="id"
|
||||
:readonly="formState.readOnly"
|
||||
:label="$ay.t('SeedLevel')"
|
||||
></v-select>
|
||||
</v-col>
|
||||
trigger button
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -57,10 +68,9 @@ export default {
|
||||
return {
|
||||
formCustomTemplateKey: null,
|
||||
selectLists: {
|
||||
translations: []
|
||||
seedLevels: []
|
||||
},
|
||||
currentStep: 1,
|
||||
obj: {},
|
||||
seedLevel: null,
|
||||
formState: {
|
||||
ready: false,
|
||||
dirty: false,
|
||||
@@ -151,21 +161,33 @@ function fetchTranslatedText(vm) {
|
||||
"Welcome",
|
||||
"GenerateSampleData",
|
||||
"EvaluationGuide",
|
||||
"HelpTechSupport"
|
||||
"HelpTechSupport",
|
||||
"SeedLevel",
|
||||
"SeedLevelSmall",
|
||||
"SeedLevelMedium",
|
||||
"SeedLevelLarge",
|
||||
"SeedLevelHuge"
|
||||
]);
|
||||
}
|
||||
|
||||
// //////////////////////
|
||||
// //
|
||||
// //
|
||||
// function populateSelectionLists(vm) {
|
||||
// //http://localhost:7575/api/v8/translation/list
|
||||
// return window.$gz.api.get("translation/list").then(res => {
|
||||
// if (res.error) {
|
||||
// window.$gz.errorHandler.handleFormError(res.error, vm);
|
||||
// } else {
|
||||
// vm.selectLists.translations = res.data;
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
todoThis
|
||||
/////////////////////////////////
|
||||
//
|
||||
//
|
||||
function populateSelectionLists(vm) {
|
||||
vm.selectLists.seedLevels.push(
|
||||
...[
|
||||
{ name: vm.$ay.t("DateRangePast6Hours"), id: "*past6hours*" },
|
||||
{ name: vm.$ay.t("DateRangePast24Hours"), id: "*past24hours*" },
|
||||
{ name: vm.$ay.t("DateRangePast7Days"), id: "*past7days*" },
|
||||
{ name: vm.$ay.t("DateRangePast30Days"), id: "*past30days*" },
|
||||
{
|
||||
name: vm.$ay.t("DateRangeInTheLastSixMonths"),
|
||||
id: "*last6months*"
|
||||
},
|
||||
{ name: vm.$ay.t("DateRangePastYear"), id: "*pastyear*" }
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user