From 93746e8a7ad9fb0cd0bbaa664fc16ca5e2ad4e06 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 13 May 2020 23:40:18 +0000 Subject: [PATCH] --- ayanova/src/components/gz-data-table.vue | 6 +++--- ayanova/src/views/ay-data-list-view.vue | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 69f7ada8..a54a2897 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -772,9 +772,9 @@ function initForm(vm) { //////////////////// // function populateSelectionLists(vm) { - //http://localhost:7575/api/v8/DataListView/ViewList?ListKey=TestWidgetDataList + //http://localhost:7575/api/v8/data-list-view/viewlist?ListKey=TestWidgetDataList return window.$gz.api - .get("DataListView/ViewList?ListKey=" + vm.dataListKey) + .get("data-list-view/viewlist?ListKey=" + vm.dataListKey) .then(res => { if (res.error) { window.$gz.errorHandler.handleFormError(res.error, vm); @@ -793,7 +793,7 @@ function fetchListView(vm) { if (!vm.listViewId) { return; } - return window.$gz.api.get("DataListView/" + vm.listViewId).then(res => { + return window.$gz.api.get("data-list-view/" + vm.listViewId).then(res => { if (res.error) { window.$gz.errorHandler.handleFormError(res.error, vm); } else { diff --git a/ayanova/src/views/ay-data-list-view.vue b/ayanova/src/views/ay-data-list-view.vue index 12e49c74..9f1e4edc 100644 --- a/ayanova/src/views/ay-data-list-view.vue +++ b/ayanova/src/views/ay-data-list-view.vue @@ -405,7 +405,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////////// const FORM_KEY = "ay-data-list-view"; -const API_BASE_URL = "DataListView/"; +const API_BASE_URL = "data-list-view/"; let JUST_DELETED = false; export default { //unsaved changes are actually valid for this form so no need to warn @@ -1219,7 +1219,7 @@ function setEffectiveListView(vm) { //get default list view //http://localhost:7575/api/v8/DataListView/default/TestWidgetDataList return window.$gz.api - .get("DataListView/default/" + vm.dataListKey) + .get("data-list-view/default/" + vm.dataListKey) .then(res => { if (res.error) { throw res.error; @@ -1230,7 +1230,7 @@ function setEffectiveListView(vm) { }); } else { //listview has an id value - return window.$gz.api.get("DataListView/" + vm.listViewId).then(res => { + return window.$gz.api.get("data-list-view/" + vm.listViewId).then(res => { if (res.error) { throw res.error; } else {