This commit is contained in:
@@ -22,9 +22,6 @@ FIRST CLIENT SOURCE CODE COMMIT JAN 3rd 2019
|
|||||||
|
|
||||||
# OUTSTANDING MAJOR AREAS TO BETA
|
# OUTSTANDING MAJOR AREAS TO BETA
|
||||||
|
|
||||||
Support information, easy way for beta testers to gather it all up in one place.
|
|
||||||
if they have enough rights then copy support information can get it all from the client end, if not then only the client stuff
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dashboard widgets
|
dashboard widgets
|
||||||
|
|||||||
@@ -77,63 +77,63 @@ export default {
|
|||||||
// } else {
|
// } else {
|
||||||
// this.obj = [];
|
// this.obj = [];
|
||||||
// }
|
// }
|
||||||
|
//========================= commented out for release temporarily =====================
|
||||||
try {
|
// try {
|
||||||
window.$gz.form.deleteAllErrorBoxErrors(this);
|
// window.$gz.form.deleteAllErrorBoxErrors(this);
|
||||||
const res = await window.$gz.api.post("schedule/personal", {
|
// const res = await window.$gz.api.post("schedule/personal", {
|
||||||
view: window.$gz.util.calendarViewToAyaNovaEnum(this.viewType),
|
// view: window.$gz.util.calendarViewToAyaNovaEnum(this.viewType),
|
||||||
dark: this.$store.state.darkMode,
|
// dark: this.$store.state.darkMode,
|
||||||
start: window.$gz.locale.localTimeDateStringToUTC8601String(
|
// start: window.$gz.locale.localTimeDateStringToUTC8601String(
|
||||||
`${start.date}T00:00:00`,
|
// `${start.date}T00:00:00`,
|
||||||
this.timeZoneName
|
// this.timeZoneName
|
||||||
),
|
// ),
|
||||||
end: window.$gz.locale.localTimeDateStringToUTC8601String(
|
// end: window.$gz.locale.localTimeDateStringToUTC8601String(
|
||||||
`${end.date}T23:59:59`,
|
// `${end.date}T23:59:59`,
|
||||||
this.timeZoneName
|
// this.timeZoneName
|
||||||
),
|
// ),
|
||||||
wisuColorSource: this.formUserOptions.wisuColorSource,
|
// wisuColorSource: this.formUserOptions.wisuColorSource,
|
||||||
wisu: this.formUserOptions.wisu, //workorder item scheduled user records
|
// wisu: this.formUserOptions.wisu, //workorder item scheduled user records
|
||||||
reviews: this.formUserOptions.reviews,
|
// reviews: this.formUserOptions.reviews,
|
||||||
reminders: this.formUserOptions.reminders
|
// reminders: this.formUserOptions.reminders
|
||||||
});
|
// });
|
||||||
if (res.error) {
|
// if (res.error) {
|
||||||
this.formState.serverError = res.error;
|
// this.formState.serverError = res.error;
|
||||||
window.$gz.form.setErrorBoxErrors(this);
|
// window.$gz.form.setErrorBoxErrors(this);
|
||||||
} else {
|
// } else {
|
||||||
this.events.splice(0);
|
// this.events.splice(0);
|
||||||
const timeZoneName = this.timeZoneName;
|
// const timeZoneName = this.timeZoneName;
|
||||||
let i = res.data.length;
|
// let i = res.data.length;
|
||||||
while (i--) {
|
// while (i--) {
|
||||||
const x = res.data[i];
|
// const x = res.data[i];
|
||||||
this.events.push({
|
// this.events.push({
|
||||||
start: new Date(
|
// start: new Date(
|
||||||
new Date(x.start)
|
// new Date(x.start)
|
||||||
.toLocaleString("sv-SE", {
|
// .toLocaleString("sv-SE", {
|
||||||
timeZone: timeZoneName
|
// timeZone: timeZoneName
|
||||||
})
|
// })
|
||||||
.replace(" ", "T")
|
// .replace(" ", "T")
|
||||||
).getTime(),
|
// ).getTime(),
|
||||||
end: new Date(
|
// end: new Date(
|
||||||
new Date(x.end)
|
// new Date(x.end)
|
||||||
.toLocaleString("sv-SE", {
|
// .toLocaleString("sv-SE", {
|
||||||
timeZone: timeZoneName
|
// timeZone: timeZoneName
|
||||||
})
|
// })
|
||||||
.replace(" ", "T")
|
// .replace(" ", "T")
|
||||||
).getTime(),
|
// ).getTime(),
|
||||||
timed: true,
|
// timed: true,
|
||||||
name: x.name,
|
// name: x.name,
|
||||||
color: x.color,
|
// color: x.color,
|
||||||
textColor: x.textColor,
|
// textColor: x.textColor,
|
||||||
type: x.type,
|
// type: x.type,
|
||||||
id: x.id,
|
// id: x.id,
|
||||||
editable: x.editable,
|
// editable: x.editable,
|
||||||
userId: x.userId
|
// userId: x.userId
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
} catch (error) {
|
// } catch (error) {
|
||||||
window.$gz.errorHandler.handleFormError(error, this);
|
// window.$gz.errorHandler.handleFormError(error, this);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ import chartBarHorizontalControl from "./components/chart-bar-horizontal-control
|
|||||||
//DEVELOPMENT MODE
|
//DEVELOPMENT MODE
|
||||||
//THIS SHOULD BE FALSE IN RELEASE
|
//THIS SHOULD BE FALSE IN RELEASE
|
||||||
//************************************************************
|
//************************************************************
|
||||||
const DEV_MODE = true;
|
const DEV_MODE = false;
|
||||||
//************************************************************
|
//************************************************************
|
||||||
//**************************************************************
|
//**************************************************************
|
||||||
//**************************************************************
|
//**************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user