+
{{ category.name }}
- {{ category.id }}
-
{{ $ay.t("WorkOrder") }}
-
{{
@@ -448,8 +437,14 @@ export default {
async refresh() {
await this.fetchEvents({ start: null, end: null });
},
- openUserSchedule: function(id) {
- console.log("STUB OPEN USER SCHEDULE FOR " + id);
+ openUserSchedule: function(category) {
+ this.$router.push({
+ name: "svc-schedule-user",
+ params: {
+ recordid: category.id,
+ name: category.name
+ }
+ });
},
openObject: function(type, id) {
window.$gz.eventBus.$emit("openobject", {
@@ -913,7 +908,6 @@ export default {
);
},
isXS() {
- //console.log(this.$vuetify.breakpoint);
return this.$vuetify.breakpoint.xs;
},
issmAndUp() {
diff --git a/ayanova/src/views/svc-workorder-item-scheduled-users.vue b/ayanova/src/views/svc-workorder-item-scheduled-users.vue
index 7d896a9b..816a74be 100644
--- a/ayanova/src/views/svc-workorder-item-scheduled-users.vue
+++ b/ayanova/src/views/svc-workorder-item-scheduled-users.vue
@@ -35,7 +35,7 @@ export default {
);
this.aForType = window.$gz.util.stringToIntOrNull(this.$route.params.aType);
- if (this.objectId && this.objectId != 0 && this.aForType) {
+ if (this.objectId != null && this.aForType) {
//OBJECTID,AYATYPE
this.clientCriteria = `${this.objectId},${this.aForType}`;