This commit is contained in:
2021-06-11 17:21:43 +00:00
parent c44b748b71
commit 4e59992e48
3 changed files with 4 additions and 2 deletions

View File

@@ -408,7 +408,8 @@ todo 3: workorder notifications to code and test:
WorkorderCreatedForCustomer = 31, //*Service work order is created for Customer, only applies to that customer user notify sub for that customer, customer id is in conditional ID value for subscription
WorkorderCompletedFollowUp = 32, //* Service workorder closed status follow up again after this many TIMESPAN
todo: all objects that I workarounded to have name and tags that didnt originally support it
need to have name and tags set in notification standard processors first or it will bomb when notify on created that object etc
todo: notify event list table needs to show status of workorder (all fields) ideally
otherwise if you have multiple wostatusage notifications they all appear the same

View File

@@ -656,7 +656,7 @@ export default {
});
break;
case window.$gz.type.WorkOrderItemPartRequest:
z.parts.forEach((x, childindex) => {
z.partRequests.forEach((x, childindex) => {
if (x.id == val.id) {
navto.woitemindex = itemindex;
navto.childindex = childindex;

View File

@@ -100,6 +100,7 @@ export default {
vm.formState.ready = true;
//navigate somewhere??
if (this.$route.params.gotype != null) {
//console.log("wo-go:", this.$route.params);
//find out which woitem and then find out which type to set and then set them as the active item somehow
const gotype = Number(this.$route.params.gotype);
const goid = Number(this.$route.params.goid);