This commit is contained in:
2022-03-04 23:25:41 +00:00
parent 6312a3a8f0
commit 19cf0086cd
3 changed files with 7 additions and 12 deletions

View File

@@ -324,7 +324,7 @@ function initNavPanel() {
sub.push({ sub.push({
title: "CustomerNotifySubscriptionList", title: "CustomerNotifySubscriptionList",
icon: "$ayiBullhorn", icon: "$ayiBullhorn",
route: "/customer-home-notify-subscriptions", route: "/cust-notify-subscriptions",
key: key++ key: key++
}); });

View File

@@ -110,6 +110,7 @@ export default {
"Service", "Service",
"CustomerList", "CustomerList",
"HeadOfficeList", "HeadOfficeList",
"CustomerNotifySubscriptionList",
"Contacts", "Contacts",
"WorkOrderList", "WorkOrderList",
"WorkOrderItemList", "WorkOrderItemList",

View File

@@ -112,11 +112,7 @@ export default {
id: o.id, id: o.id,
eventType: eventDisplay, eventType: eventDisplay,
ayaType: `[${window.$gz.enums.get("coreview", o.ayaType)}]`, ayaType: `[${window.$gz.enums.get("coreview", o.ayaType)}]`,
deliveryMethod: window.$gz.enums.get( customerTags: window.$gz.util.formatTags(o.customerTags),
"NotifyDeliveryMethod",
o.deliveryMethod
),
deliveryAddress: o.deliveryAddress,
tags: window.$gz.util.formatTags(o.tags) tags: window.$gz.util.formatTags(o.tags)
}); });
} }
@@ -215,9 +211,8 @@ async function fetchTranslatedText() {
"NotifyEventType", "NotifyEventType",
"ID", "ID",
"AyaType", "AyaType",
"NotifyDeliveryMethod", "Tags",
"NotifyDeliveryAddress", "CustomerTags"
"Tags"
]); ]);
} }
@@ -226,7 +221,7 @@ async function fetchTranslatedText() {
// //
async function cacheEnums() { async function cacheEnums() {
await window.$gz.enums.fetchEnumList("NotifyEventType"); await window.$gz.enums.fetchEnumList("NotifyEventType");
await window.$gz.enums.fetchEnumList("NotifyDeliveryMethod");
await window.$gz.enums.fetchEnumList("coreview"); await window.$gz.enums.fetchEnumList("coreview");
} }
@@ -237,9 +232,8 @@ async function createTableHeaders(vm) {
vm.headers = [ vm.headers = [
{ text: vm.$ay.t("ID"), value: "id" }, { text: vm.$ay.t("ID"), value: "id" },
{ text: vm.$ay.t("NotifyEventType"), value: "eventType" }, { text: vm.$ay.t("NotifyEventType"), value: "eventType" },
{ text: vm.$ay.t("CustomerTags"), value: "customerTags" },
{ text: vm.$ay.t("AyaType"), value: "ayaType" }, { text: vm.$ay.t("AyaType"), value: "ayaType" },
{ text: vm.$ay.t("NotifyDeliveryMethod"), value: "deliveryMethod" },
{ text: vm.$ay.t("NotifyDeliveryAddress"), value: "deliveryAddress" },
{ text: vm.$ay.t("Tags"), value: "tags" } { text: vm.$ay.t("Tags"), value: "tags" }
]; ];
} }