This commit is contained in:
2020-03-05 01:03:38 +00:00
parent 891b21e888
commit 437c751f13
2 changed files with 15 additions and 45 deletions

View File

@@ -110,24 +110,7 @@
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Xeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
// import UnderConstruction from "../components/underconstruction.vue";
// export default {
// data() {
// return {
// userLanguage: window.$gz.locale.getBrowserLanguages()
// };
// },
// components: {},
// beforeCreate() {
// window.$gz.eventBus.$emit("menu-change", {
// isMain: true,
// icon: "user-cog",
// title: window.$gz.locale.get("UserSettings"),
// helpUrl: "form-home-user-settings"
// });
// }
// };
const FORM_KEY = "home-user-settings";
const API_BASE_URL = "Useroptions/";
const FORM_CUSTOM_TEMPLATE_KEY = "Useroptions";
@@ -178,20 +161,6 @@ export default {
// usertypes: []
// },
obj: {
/* //-------------
[EmailAddress]
public string EmailAddress { get; set; }
[MaxLength(12)]
public string UiColor { get; set; }
//browser forced overrides
public string LanguageOverride { get; set; }
public string TimeZoneOverride { get; set; }
public string CurrencyName { get; set; }
public bool Hour12 { get; set; } */
id: 0,
concurrencyToken: 0,
emailAddress: null,
@@ -201,9 +170,6 @@ export default {
currencyName: null,
hour12: null
},
// default:{
// language: locale().getBrowserFirstLanguage()
// },
formState: {
ready: false,
dirty: false,
@@ -391,6 +357,11 @@ function generateMenu(vm) {
});
}
//change password and login
// icon: "key",
// title: window.$gz.locale.get("SetLoginPassword"),
// helpUrl: "form-home-password"
window.$gz.eventBus.$emit("menu-change", menuOptions);
}