diff --git a/src/api/biz-role-rights.js b/src/api/biz-role-rights.js index 53ee3ec..e9b4fb3 100644 --- a/src/api/biz-role-rights.js +++ b/src/api/biz-role-rights.js @@ -44,5 +44,6 @@ export default { Purchase: { Change: 32842, ReadFullRecord: 65797, Select: 131071 }, Product: { Change: 32842, ReadFullRecord: 65797, Select: 131071 }, GZCase: { Change: 32842, ReadFullRecord: 65797, Select: 131071 }, - VendorNotification: { Change: 32842, ReadFullRecord: 65797, Select: 131071 } + VendorNotification: { Change: 32842, ReadFullRecord: 65797, Select: 131071 }, + Subscription: { Change: 32842, ReadFullRecord: 65797, Select: 131071 } }; diff --git a/src/api/gzutil.js b/src/api/gzutil.js index e1e7f4c..44d58d2 100644 --- a/src/api/gzutil.js +++ b/src/api/gzutil.js @@ -461,6 +461,9 @@ export default { return "$sockiBarCode"; case window.$gz.type.GZCase: return "$sockiCoffee"; + case window.$gz.type.Subscription: + return "$sockiFileContract"; + //scroll icon is good one for something default: diff --git a/src/api/initialize.js b/src/api/initialize.js index 4168924..0c15049 100644 --- a/src/api/initialize.js +++ b/src/api/initialize.js @@ -168,6 +168,14 @@ ServiceContractor = 5 */ sub = []; + + sub.push({ + title: "SubscriptionList", + icon: "$sockiFileContract", + route: "/biz-subscription-list", + key: key++ + }); + sub.push({ title: "GZCaseList", icon: "$sockiCoffee", diff --git a/src/api/socktype.js b/src/api/socktype.js index dfd7897..0e1823c 100644 --- a/src/api/socktype.js +++ b/src/api/socktype.js @@ -37,7 +37,8 @@ export default { Purchase: 96, Product: 97, GZCase: 98, - VendorNotification: 99 + VendorNotification: 99, + Subscription: 100 }; /** * diff --git a/src/api/translation.js b/src/api/translation.js index ca6f2f9..0ee0546 100644 --- a/src/api/translation.js +++ b/src/api/translation.js @@ -263,7 +263,8 @@ export default { "ProductList", "PurchaseList", "GZCaseList", - "VendorNotificationList" + "VendorNotificationList", + "SubscriptionList" ], //////////////////////////////////////////////////////// diff --git a/src/router.js b/src/router.js index 0d3e427..87804ef 100644 --- a/src/router.js +++ b/src/router.js @@ -423,6 +423,18 @@ export default new Router({ component: () => import(/* webpackChunkName: "biz" */ "./views/biz-gzcase.vue") }, + { + path: "/biz-subscription-list", + name: "biz-subscription-list", + component: () => + import(/* webpackChunkName: "biz" */ "./views/biz-subscription-list.vue") + }, + { + path: "/biz-subscription-list/:recordid", + name: "subscription-edit", + component: () => + import(/* webpackChunkName: "biz" */ "./views/biz-subscription.vue") + }, // //####################### SERVICE GROUP ############################## // { // path: "/svc-schedule", diff --git a/src/views/biz-subscription-list.vue b/src/views/biz-subscription-list.vue new file mode 100644 index 0000000..82f9019 --- /dev/null +++ b/src/views/biz-subscription-list.vue @@ -0,0 +1,184 @@ + + + diff --git a/src/views/biz-subscription.vue b/src/views/biz-subscription.vue new file mode 100644 index 0000000..8a630cf --- /dev/null +++ b/src/views/biz-subscription.vue @@ -0,0 +1,550 @@ + +