This commit is contained in:
2020-11-18 14:51:50 +00:00
parent 67c57291a4
commit 9d3c1c0b0d
6 changed files with 1158 additions and 449 deletions

View File

@@ -111,6 +111,10 @@ export default {
ret.push({
id: o.id,
name: o.name,
emailAddress: o.emailAddress,
phone1: o.phone1,
phone2: o.phone2,
phone3: o.phone3,
active: o.active,
userType: window.$gz.enums.get("outsideusertype", o.userType),
lastLogin: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
@@ -262,7 +266,11 @@ async function fetchTranslatedText(vm) {
"User",
"Active",
"UserType",
"LastLogin"
"LastLogin",
"UserEmailAddress",
"UserPhone1",
"UserPhone2",
"UserPageAddress"
]);
}
@@ -282,6 +290,10 @@ async function cacheEnums(vm) {
async function createTableHeaders(vm) {
vm.headers = [
{ text: vm.$ay.t("User"), value: "name" },
{ text: vm.$ay.t("UserEmailAddress"), value: "emailAddress" },
{ text: vm.$ay.t("UserPhone1"), value: "phone1" },
{ text: vm.$ay.t("UserPhone2"), value: "phone2" },
{ text: vm.$ay.t("UserPageAddress"), value: "phone3" },
{ text: vm.$ay.t("Active"), value: "active" },
{ text: vm.$ay.t("UserType"), value: "userType" },
{ text: vm.$ay.t("LastLogin"), value: "lastLogin" }