This commit is contained in:
@@ -22,7 +22,7 @@ FIRST CLIENT SOURCE CODE COMMIT JAN 3rd 2019
|
|||||||
|
|
||||||
# OUTSTANDING MAJOR AREAS TO BETA
|
# 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
|
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.
|
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
|
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:
|
v7 dashboard help doc:
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ export default {
|
|||||||
// type: "GzDashTestListWidgetsPriciest"
|
// type: "GzDashTestListWidgetsPriciest"
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
id: "NextSchedItems",
|
id: "dash-today-scheduled-wo",
|
||||||
roles: [role.Tech, role.TechRestricted],
|
roles: [role.Tech, role.TechRestricted],
|
||||||
title: "DashboardScheduled",
|
title: "DashboardScheduled",
|
||||||
type: "NextSchedItems",
|
type: "GzDashTodayScheduledWo",
|
||||||
scheduleableUserOnly: true
|
scheduleableUserOnly: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
</gz-dash>
|
</gz-dash>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import GzDash from "../components/dash-base.vue";
|
import GzDash from "./dash-base.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -97,14 +97,6 @@ export default {
|
|||||||
minute: 0
|
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 {
|
try {
|
||||||
this.errorMessage = null;
|
this.errorMessage = null;
|
||||||
const now = window.$gz.locale.nowUTC8601String(this.timeZoneName);
|
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 GzDashTestBarWidgetCountByUserType from "../components/dash-test-bar-widget-count-by-usertype.vue";
|
||||||
import GzDashTestLineWidgetMonthlyTotalPrice from "../components/dash-test-line-widget-monthly-total-price.vue";
|
import GzDashTestLineWidgetMonthlyTotalPrice from "../components/dash-test-line-widget-monthly-total-price.vue";
|
||||||
import GzDashTestDayCalendarWidget from "../components/dash-test-day-calendar-widget.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 {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
//GzDashTestListWidgetsPriciest,
|
//GzDashTestListWidgetsPriciest,
|
||||||
GzDashTestBarWidgetCountByUserType,
|
GzDashTestBarWidgetCountByUserType,
|
||||||
GzDashTestLineWidgetMonthlyTotalPrice,
|
GzDashTestLineWidgetMonthlyTotalPrice,
|
||||||
GzDashTestDayCalendarWidget,
|
GzDashTestDayCalendarWidget,
|
||||||
NextSchedItems
|
GzDashTodayScheduledWo
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -116,7 +116,6 @@ export default {
|
|||||||
const vm = this;
|
const vm = this;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
console.log("abouty to cache");
|
|
||||||
await DashRegistry.cacheTranslationsForAvailableItems();
|
await DashRegistry.cacheTranslationsForAvailableItems();
|
||||||
//users have full rights to their dashboard config
|
//users have full rights to their dashboard config
|
||||||
vm.rights = window.$gz.role.fullRightsObject();
|
vm.rights = window.$gz.role.fullRightsObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user