This commit is contained in:
2020-05-13 23:40:18 +00:00
parent 15b845813a
commit 93746e8a7a
2 changed files with 6 additions and 6 deletions

View File

@@ -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 {