This commit is contained in:
2020-02-17 22:56:09 +00:00
parent e4a782773f
commit 4b3bc936ce
4 changed files with 15 additions and 22 deletions

View File

@@ -114,9 +114,10 @@ export default {
initForm(vm)
.then(() => {
// path: "/ay-data-list-view/:listViewId/:dataListKey",
vm.formState.ready = true;
vm.dataListKey = this.$route.params.dataListKey;
vm.recordid = this.$route.params.recordid;
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
@@ -141,7 +142,7 @@ export default {
data() {
return {
obj: [],
recordid: null,
listViewId: null,
dataListKey: null,
concurrencyToken: undefined,
formCustomTemplateKey: this.$route.params.formCustomTemplateKey,