From a9d6cc5adbe760eb2d32b8d715ba077fca12b94b Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 10 Jun 2021 21:40:05 +0000 Subject: [PATCH] --- ayanova/src/views/svc-workorder.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ayanova/src/views/svc-workorder.vue b/ayanova/src/views/svc-workorder.vue index 085d635d..2d7724fe 100644 --- a/ayanova/src/views/svc-workorder.vue +++ b/ayanova/src/views/svc-workorder.vue @@ -78,6 +78,14 @@ export default { }); } else { await vm.getDataFromApi(vm.$route.params.recordid); //let getdata handle loading + //navigate somewhere?? + console.log("workorder init params:", this.$route.params); + if (this.$route.params.gotype != null) { + //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); + console.log("GO ACTIVATED, GOING...."); + } } } else { window.$gz.form.setFormState({