This commit is contained in:
@@ -112,11 +112,7 @@ export default {
|
||||
id: o.id,
|
||||
eventType: eventDisplay,
|
||||
ayaType: `[${window.$gz.enums.get("coreview", o.ayaType)}]`,
|
||||
deliveryMethod: window.$gz.enums.get(
|
||||
"NotifyDeliveryMethod",
|
||||
o.deliveryMethod
|
||||
),
|
||||
deliveryAddress: o.deliveryAddress,
|
||||
customerTags: window.$gz.util.formatTags(o.customerTags),
|
||||
tags: window.$gz.util.formatTags(o.tags)
|
||||
});
|
||||
}
|
||||
@@ -215,9 +211,8 @@ async function fetchTranslatedText() {
|
||||
"NotifyEventType",
|
||||
"ID",
|
||||
"AyaType",
|
||||
"NotifyDeliveryMethod",
|
||||
"NotifyDeliveryAddress",
|
||||
"Tags"
|
||||
"Tags",
|
||||
"CustomerTags"
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -226,7 +221,7 @@ async function fetchTranslatedText() {
|
||||
//
|
||||
async function cacheEnums() {
|
||||
await window.$gz.enums.fetchEnumList("NotifyEventType");
|
||||
await window.$gz.enums.fetchEnumList("NotifyDeliveryMethod");
|
||||
|
||||
await window.$gz.enums.fetchEnumList("coreview");
|
||||
}
|
||||
|
||||
@@ -237,9 +232,8 @@ async function createTableHeaders(vm) {
|
||||
vm.headers = [
|
||||
{ text: vm.$ay.t("ID"), value: "id" },
|
||||
{ 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("NotifyDeliveryMethod"), value: "deliveryMethod" },
|
||||
{ text: vm.$ay.t("NotifyDeliveryAddress"), value: "deliveryAddress" },
|
||||
{ text: vm.$ay.t("Tags"), value: "tags" }
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user