diff --git a/ayanova/src/api/dash-registry.js b/ayanova/src/api/dash-registry.js index bef586d7..d339bafc 100644 --- a/ayanova/src/api/dash-registry.js +++ b/ayanova/src/api/dash-registry.js @@ -13,6 +13,28 @@ export default { title: "Priciest widgets", type: "GzDashTestListWidgetsPriciest" }, + { + id: "TestBarWidgetCountByUserType", + roles: [ + role.BizAdminFull, + role.BizAdminLimited, + role.SalesFull, + role.SalesLimited + ], + title: "Widgets by User type", + type: "GzDashTestBarWidgetCountByUserType" + }, + { + id: "TestLineWidgetMonthlyTotalPrice", + roles: [ + role.BizAdminFull, + role.BizAdminLimited, + role.SalesFull, + role.SalesLimited + ], + title: "Widget monthly total", + type: "GzDashTestLineWidgetMonthlyTotalPrice" + }, { id: "dashBizOnlyTest", roles: [role.BizAdminFull, role.BizAdminLimited], diff --git a/ayanova/src/components/dash-test-bar-widget-count-by-usertype.vue b/ayanova/src/components/dash-test-bar-widget-count-by-usertype.vue new file mode 100644 index 00000000..968d5180 --- /dev/null +++ b/ayanova/src/components/dash-test-bar-widget-count-by-usertype.vue @@ -0,0 +1,38 @@ + + + + + + + BAR CHART Widget count by UserType CONTENT HERE + + + + + + diff --git a/ayanova/src/views/home-dashboard.vue b/ayanova/src/views/home-dashboard.vue index b9887a19..84aa1215 100644 --- a/ayanova/src/views/home-dashboard.vue +++ b/ayanova/src/views/home-dashboard.vue @@ -84,11 +84,13 @@ import DashRegistry from "../api/dash-registry"; import GzDashBase from "../components/dash-base.vue"; //---------- DASH ITEMS ---------- import GzDashTestListWidgetsPriciest from "../components/dash-test-list-widgets-priciest.vue"; +import GzDashTestBarWidgetCountByUserType from "../components/dash-test-bar-widget-count-by-usertype.vue"; export default { components: { GzDashBase, - GzDashTestListWidgetsPriciest + GzDashTestListWidgetsPriciest, + GzDashTestBarWidgetCountByUserType }, beforeCreate() { window.$gz.eventBus.$emit("menu-change", {