This commit is contained in:
2022-03-06 20:47:51 +00:00
parent 1a76c236be
commit 73838dcd4e

View File

@@ -108,17 +108,10 @@ export default {
if (info && info != "") { if (info && info != "") {
eventDisplay += ` - ${info}`; eventDisplay += ` - ${info}`;
} }
let typeDisplay = `[${window.$gz.enums.get(
"coreview",
o.ayaType
)}]`;
if (typeDisplay == "[]") {
typeDisplay = "";
}
ret.push({ ret.push({
id: o.id, id: o.id,
eventType: eventDisplay, eventType: eventDisplay,
ayaType: typeDisplay,
customerTags: window.$gz.util.formatTags(o.customerTags), customerTags: window.$gz.util.formatTags(o.customerTags),
tags: window.$gz.util.formatTags(o.tags) tags: window.$gz.util.formatTags(o.tags)
}); });
@@ -228,8 +221,6 @@ 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("coreview");
} }
////////////////////// //////////////////////
@@ -240,7 +231,6 @@ async function createTableHeaders(vm) {
{ 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("CustomerTags"), value: "customerTags" },
{ text: vm.$ay.t("AyaType"), value: "ayaType" },
{ text: vm.$ay.t("Tags"), value: "tags" } { text: vm.$ay.t("Tags"), value: "tags" }
]; ];
} }