This commit is contained in:
2022-03-05 01:12:40 +00:00
parent 19cf0086cd
commit f00cb7c413
6 changed files with 87 additions and 39 deletions

View File

@@ -17,7 +17,7 @@
</div>
</template>
<script>
const FORM_KEY = "notify-subscriptions";
const FORM_KEY = "customer-notify-subscriptions";
export default {
data() {
return {
@@ -54,7 +54,7 @@ export default {
rowClick(item) {
//nav to item.id
window.$gz.eventBus.$emit("openobject", {
type: window.$gz.type.NotifySubscription,
type: window.$gz.type.CustomerNotifySubscription,
id: item.id
});
},
@@ -108,10 +108,17 @@ export default {
if (info && info != "") {
eventDisplay += ` - ${info}`;
}
let typeDisplay = `[${window.$gz.enums.get(
"coreview",
o.ayaType
)}]`;
if (typeDisplay == "[]") {
typeDisplay = "";
}
ret.push({
id: o.id,
eventType: eventDisplay,
ayaType: `[${window.$gz.enums.get("coreview", o.ayaType)}]`,
ayaType: typeDisplay,
customerTags: window.$gz.util.formatTags(o.customerTags),
tags: window.$gz.util.formatTags(o.tags)
});
@@ -151,7 +158,7 @@ async function clickHandler(menuItem) {
switch (m.key) {
case "new":
m.vm.$router.push({
name: "customer-notify-subscription",
name: "cust-notify-subscription",
params: { recordid: 0 }
});
break;