This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user