This commit is contained in:
@@ -19,6 +19,7 @@ export default {
|
||||
role.SalesRestricted
|
||||
],
|
||||
title: "ReminderList",
|
||||
icon: "$ayiGenderless",
|
||||
type: "GzDashTodayReminders",
|
||||
singleOnly: true,
|
||||
settings: {}
|
||||
@@ -40,6 +41,7 @@ export default {
|
||||
role.SalesRestricted
|
||||
],
|
||||
title: "ReviewList",
|
||||
icon: "$ayiGenderless",
|
||||
type: "GzDashTodayReviews",
|
||||
singleOnly: true,
|
||||
settings: {}
|
||||
@@ -55,6 +57,7 @@ export default {
|
||||
{
|
||||
roles: [role.Tech, role.TechRestricted],
|
||||
title: "WorkOrderItemLaborServiceRateQuantity",
|
||||
icon: "$ayiHistory",
|
||||
type: "GzDashLaborHoursPersonal",
|
||||
scheduleableUserOnly: true,
|
||||
singleOnly: false,
|
||||
@@ -70,6 +73,7 @@ export default {
|
||||
{
|
||||
roles: [role.Tech, role.TechRestricted],
|
||||
title: "WorkOrderItemLaborServiceRateQuantity",
|
||||
icon: "$ayiUser",
|
||||
type: "GzDashLaborHoursPersonalBar",
|
||||
scheduleableUserOnly: true,
|
||||
singleOnly: false,
|
||||
@@ -81,33 +85,33 @@ export default {
|
||||
interval: "day",
|
||||
color: "#00205B"
|
||||
}
|
||||
},
|
||||
{
|
||||
roles: [
|
||||
role.BizAdmin,
|
||||
role.BizAdminRestricted,
|
||||
role.Sales,
|
||||
role.SalesRestricted
|
||||
],
|
||||
title: "TEST Bar chart widget",
|
||||
type: "GzDashTestBarWidgetCountByUserType",
|
||||
scheduleableUserOnly: false,
|
||||
singleOnly: false,
|
||||
settings: { customTitle: "my custom title" }
|
||||
},
|
||||
{
|
||||
roles: [
|
||||
role.BizAdmin,
|
||||
role.BizAdminRestricted,
|
||||
role.Sales,
|
||||
role.SalesRestricted
|
||||
],
|
||||
title: "TEST Line chart widget",
|
||||
type: "GzDashTestLineWidgetMonthlyTotalPrice",
|
||||
scheduleableUserOnly: false,
|
||||
singleOnly: true,
|
||||
settings: {}
|
||||
}
|
||||
// {
|
||||
// roles: [
|
||||
// role.BizAdmin,
|
||||
// role.BizAdminRestricted,
|
||||
// role.Sales,
|
||||
// role.SalesRestricted
|
||||
// ],
|
||||
// title: "TEST Bar chart widget",
|
||||
// type: "GzDashTestBarWidgetCountByUserType",
|
||||
// scheduleableUserOnly: false,
|
||||
// singleOnly: false,
|
||||
// settings: { customTitle: "my custom title" }
|
||||
// },
|
||||
// {
|
||||
// roles: [
|
||||
// role.BizAdmin,
|
||||
// role.BizAdminRestricted,
|
||||
// role.Sales,
|
||||
// role.SalesRestricted
|
||||
// ],
|
||||
// title: "TEST Line chart widget",
|
||||
// type: "GzDashTestLineWidgetMonthlyTotalPrice",
|
||||
// scheduleableUserOnly: false,
|
||||
// singleOnly: true,
|
||||
// settings: {}
|
||||
// }
|
||||
],
|
||||
availableItems() {
|
||||
const ret = [];
|
||||
@@ -125,6 +129,7 @@ export default {
|
||||
ret.push({
|
||||
id: i,
|
||||
title: item.title,
|
||||
icon: item.icon,
|
||||
type: item.type,
|
||||
singleOnly: item.singleOnly,
|
||||
settings: item.settings
|
||||
|
||||
Reference in New Issue
Block a user