This commit is contained in:
2020-02-18 18:53:27 +00:00
parent 2e9431112a
commit 8333f6aed9
2 changed files with 30 additions and 32 deletions

View File

@@ -102,6 +102,10 @@ export default {
},
created() {
var vm = this;
//set route values in data object so init form can handle
vm.dataListKey = this.$route.params.dataListKey;
vm.listViewId = this.$route.params.listViewId;
// //rehydrate last form settings
// var formSettings = window.$gz.form.getFormSettings(this.formKey);
@@ -116,8 +120,7 @@ export default {
.then(() => {
// path: "/ay-data-list-view/:listViewId/:dataListKey",
vm.formState.ready = true;
vm.dataListKey = this.$route.params.dataListKey;
vm.listViewId = this.$route.params.listViewId;
window.$gz.eventBus.$on("menu-click", clickHandler);
//NOTE: this would normally be in getDataFromAPI but this form doesn't really need that function so doing it here
//modify the menu as necessary