This commit is contained in:
2023-01-12 00:24:36 +00:00
parent cbd8e670ca
commit 4e6947d573
2 changed files with 83 additions and 21 deletions

View File

@@ -1251,6 +1251,46 @@ async function clickHandler(menuItem) {
params: { customerid: m.vm.obj.id, customername: m.vm.obj.name }
});
break;
case "PurchaseList":
m.vm.$router.push({
name: "biz-purchase-list",
params: {
aType: m.vm.ayaType,
objectId: m.vm.obj.id,
name: m.vm.obj.name
}
});
break;
case "LicenseList":
m.vm.$router.push({
name: "biz-license-list",
params: {
aType: m.vm.ayaType,
objectId: m.vm.obj.id,
name: m.vm.obj.name
}
});
break;
case "SubscriptionServerList":
m.vm.$router.push({
name: "biz-subscription-server-list",
params: {
aType: m.vm.ayaType,
objectId: m.vm.obj.id,
name: m.vm.obj.name
}
});
break;
case "GZCaseList":
m.vm.$router.push({
name: "biz-gzcase-list",
params: {
aType: m.vm.ayaType,
objectId: m.vm.obj.id,
name: m.vm.obj.name
}
});
break;
default:
window.$gz.eventBus.$emit(
@@ -1344,6 +1384,34 @@ function generateMenu(vm) {
vm: vm
});
menuOptions.menuItems.push({
title: "PurchaseList",
icon: "$sockiShoppingCart",
key: FORM_KEY + ":PurchaseList",
vm: vm
});
menuOptions.menuItems.push({
title: "LicenseList",
icon: "$sockiGem",
key: FORM_KEY + ":LicenseList",
vm: vm
});
menuOptions.menuItems.push({
title: "SubscriptionServerList",
icon: "$sockiCloud",
key: FORM_KEY + ":SubscriptionServerList",
vm: vm
});
menuOptions.menuItems.push({
title: "GZCaseList",
icon: "$sockiCoffee",
key: FORM_KEY + ":GZCaseList",
vm: vm
});
//---- SHOW ALL ---
menuOptions.menuItems.push({