This commit is contained in:
2020-11-17 16:05:47 +00:00
parent 062b0f01af
commit 67c57291a4
3 changed files with 74 additions and 2 deletions

View File

@@ -1416,7 +1416,13 @@ async function fetchTranslatedText(vm) {
"CustomerCustom13",
"CustomerCustom14",
"CustomerCustom15",
"CustomerCustom16"
"CustomerCustom16",
"UserEmailAddress",
"UserPhone1",
"UserPhone2",
"UserPageAddress",
"User",
"LastLogin"
]);
}

View File

@@ -30,6 +30,65 @@
type="email"
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'Phone1')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-text-field
v-model="obj.phone1"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('UserPhone1')"
ref="phone1"
data-cy="phone1"
type="tel"
:error-messages="form().serverErrors(this, 'phone1')"
@input="fieldValueChanged('phone1')"
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'Phone2')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-text-field
v-model="obj.phone2"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('UserPhone2')"
ref="phone2"
data-cy="phone2"
type="tel"
:error-messages="form().serverErrors(this, 'phone2')"
@input="fieldValueChanged('phone2')"
></v-text-field>
</v-col>
<v-col
v-if="form().showMe(this, 'Phone3')"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-text-field
v-model="obj.phone3"
:readonly="formState.readOnly"
:disabled="formState.readOnly"
:label="$ay.t('UserPageAddress')"
ref="phone3"
data-cy="phone3"
type="tel"
:error-messages="form().serverErrors(this, 'phone3')"
@input="fieldValueChanged('phone3')"
></v-text-field>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-text-field
@@ -226,6 +285,9 @@ export default {
id: 0,
concurrency: 0,
emailAddress: null,
phone1: null,
phone2: null,
phone3: null,
mapUrlTemplate: null,
uiColor: null,
languageOverride: null,
@@ -507,7 +569,10 @@ async function fetchTranslatedText(vm) {
"UserColor",
"Translation",
"DarkMode",
"MapUrlTemplate"
"MapUrlTemplate",
"UserPhone1",
"UserPhone2",
"UserPageAddress"
]);
}