This commit is contained in:
@@ -17,11 +17,55 @@
|
|||||||
$ay.t("StartEvaluation")
|
$ay.t("StartEvaluation")
|
||||||
}}</v-expansion-panel-header>
|
}}</v-expansion-panel-header>
|
||||||
<v-expansion-panel-content>
|
<v-expansion-panel-content>
|
||||||
If status expiredtrial then they must erase before
|
<!-- If status expiredtrial then they must erase before
|
||||||
requesting new license Erase database and request new trial
|
requesting new license Erase database and request new trial
|
||||||
Erases db then goes to trial request form to trigger request
|
Erases db then goes to trial request form to trigger request
|
||||||
process If NONE then can just request license Goes to trial
|
process If NONE then can just request license Goes to trial
|
||||||
request form to trigger request process
|
request form to trigger request process -->
|
||||||
|
<v-row>
|
||||||
|
<v-col cols="12">
|
||||||
|
<h3 class="mb-6 mt-3 ml-1">
|
||||||
|
{{ $ay.t("RequestEvaluationLicense") }}
|
||||||
|
</h3>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-text-field
|
||||||
|
v-model="request.Company"
|
||||||
|
:label="$ay.t('LicenseCompanyName')"
|
||||||
|
:rules="[form().required(this, 'requestcompany')]"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'requestcompany')
|
||||||
|
"
|
||||||
|
ref="requestcompany"
|
||||||
|
@input="fieldValueChanged('requestcompany')"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-text-field
|
||||||
|
v-model="request.Contact"
|
||||||
|
:label="$ay.t('LicenseContactName')"
|
||||||
|
:rules="[form().required(this, 'requestcontact')]"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'requestcontact')
|
||||||
|
"
|
||||||
|
ref="requestcontact"
|
||||||
|
@input="fieldValueChanged('requestcontact')"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-text-field
|
||||||
|
v-model="request.Email"
|
||||||
|
:label="$ay.t('LicenseEmail')"
|
||||||
|
type="email"
|
||||||
|
:rules="[form().required(this, 'requestemail')]"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'requestemail')
|
||||||
|
"
|
||||||
|
ref="requestemail"
|
||||||
|
@input="fieldValueChanged('requestemail')"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
</v-expansion-panel-content>
|
</v-expansion-panel-content>
|
||||||
</v-expansion-panel>
|
</v-expansion-panel>
|
||||||
<v-expansion-panel>
|
<v-expansion-panel>
|
||||||
@@ -68,6 +112,7 @@ export default {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
vm.rights = window.$gz.role.getRights(window.$gz.type.License);
|
vm.rights = window.$gz.role.getRights(window.$gz.type.License);
|
||||||
generateMenu(vm);
|
generateMenu(vm);
|
||||||
|
vm.formState.loading = false;
|
||||||
vm.formState.ready = true;
|
vm.formState.ready = true;
|
||||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
|
|
||||||
@@ -102,6 +147,11 @@ export default {
|
|||||||
translations: []
|
translations: []
|
||||||
},
|
},
|
||||||
licenseState: 0,
|
licenseState: 0,
|
||||||
|
request: {
|
||||||
|
Email: null,
|
||||||
|
Company: null,
|
||||||
|
Contact: null
|
||||||
|
},
|
||||||
obj: {},
|
obj: {},
|
||||||
formState: {
|
formState: {
|
||||||
ready: false,
|
ready: false,
|
||||||
@@ -386,7 +436,11 @@ function fetchTranslatedText(vm) {
|
|||||||
"NoLicenseTitle",
|
"NoLicenseTitle",
|
||||||
"StartEvaluation",
|
"StartEvaluation",
|
||||||
"PurchaseLicense",
|
"PurchaseLicense",
|
||||||
"HaveLicense"
|
"HaveLicense",
|
||||||
|
"LicenseCompanyName",
|
||||||
|
"LicenseContactName",
|
||||||
|
"LicenseEmail",
|
||||||
|
"RequestEvaluationLicense"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user