This commit is contained in:
2021-06-10 22:27:22 +00:00
parent 48bc82c6aa
commit bec1c0088f
2 changed files with 90 additions and 2 deletions

View File

@@ -99,12 +99,10 @@ export default {
} finally {
vm.formState.ready = true;
//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....");
if (gotype != window.$gz.type.WorkOrder) {
this.$nextTick(() => {
//not workorder? Then must be a descendant so let's gooooooooooo!