This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user