This commit is contained in:
@@ -22,7 +22,7 @@ FIRST CLIENT SOURCE CODE COMMIT JAN 3rd 2019
|
||||
|
||||
# OUTSTANDING MAJOR AREAS TO BETA
|
||||
|
||||
|
||||
seeder seems to be putting schedules in the early hours 1am onwards not in the day as expected
|
||||
|
||||
dashboard widgets
|
||||
|
||||
@@ -30,6 +30,8 @@ They should be small and highly focused on a particular issue so that the user j
|
||||
So a hypothetical workorder count per time period widget would have a this month, last month, ytd, last year to date etc or however.
|
||||
Main idea being they are not needed to config, just pick the one you want
|
||||
|
||||
should support multiple copies of an item that is configurable
|
||||
|
||||
|
||||
|
||||
v7 dashboard help doc:
|
||||
|
||||
@@ -14,10 +14,10 @@ export default {
|
||||
// type: "GzDashTestListWidgetsPriciest"
|
||||
// },
|
||||
{
|
||||
id: "NextSchedItems",
|
||||
id: "dash-today-scheduled-wo",
|
||||
roles: [role.Tech, role.TechRestricted],
|
||||
title: "DashboardScheduled",
|
||||
type: "NextSchedItems",
|
||||
type: "GzDashTodayScheduledWo",
|
||||
scheduleableUserOnly: true
|
||||
},
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
</gz-dash>
|
||||
</template>
|
||||
<script>
|
||||
import GzDash from "../components/dash-base.vue";
|
||||
import GzDash from "./dash-base.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -97,14 +97,6 @@ export default {
|
||||
minute: 0
|
||||
});
|
||||
|
||||
// //calc where to scroll and set
|
||||
// let hour = now.getHours() - 1;
|
||||
// if (hour < 0) {
|
||||
// hour = 0;
|
||||
// }
|
||||
|
||||
// this.startAt = `${hour}:00`;
|
||||
// this.intervalCount = 24 - hour;
|
||||
try {
|
||||
this.errorMessage = null;
|
||||
const now = window.$gz.locale.nowUTC8601String(this.timeZoneName);
|
||||
@@ -79,14 +79,14 @@ import DashRegistry from "../api/dash-registry";
|
||||
import GzDashTestBarWidgetCountByUserType from "../components/dash-test-bar-widget-count-by-usertype.vue";
|
||||
import GzDashTestLineWidgetMonthlyTotalPrice from "../components/dash-test-line-widget-monthly-total-price.vue";
|
||||
import GzDashTestDayCalendarWidget from "../components/dash-test-day-calendar-widget.vue";
|
||||
import NextSchedItems from "../components/dash-scheduser-next-wo.vue";
|
||||
import GzDashTodayScheduledWo from "../components/dash-today-scheduled-wo.vue";
|
||||
export default {
|
||||
components: {
|
||||
//GzDashTestListWidgetsPriciest,
|
||||
GzDashTestBarWidgetCountByUserType,
|
||||
GzDashTestLineWidgetMonthlyTotalPrice,
|
||||
GzDashTestDayCalendarWidget,
|
||||
NextSchedItems
|
||||
GzDashTodayScheduledWo
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -116,7 +116,6 @@ export default {
|
||||
const vm = this;
|
||||
|
||||
try {
|
||||
console.log("abouty to cache");
|
||||
await DashRegistry.cacheTranslationsForAvailableItems();
|
||||
//users have full rights to their dashboard config
|
||||
vm.rights = window.$gz.role.fullRightsObject();
|
||||
|
||||
Reference in New Issue
Block a user