client api generation

This commit is contained in:
vabene1111
2021-04-08 22:05:05 +02:00
parent 015e01afb9
commit fad40dab6c
20 changed files with 10769 additions and 72 deletions

View File

@@ -50,8 +50,9 @@
</template>
</template>
</div>
</template>
<script>
@@ -62,9 +63,10 @@ import 'bootstrap-vue/dist/bootstrap-vue.css'
import {GettextMixin, ResolveUrlMixin, ToastMixin} from "@/utils/utils";
import {apiLoadImportLog} from "@/utils/api";
import LoadingSpinner from "@/components/LoadingSpinner";
import {ApiApiFactory} from "@/utils/openapi/api.ts";
Vue.use(BootstrapVue)
export default {
@@ -95,8 +97,10 @@ export default {
},
methods: {
refreshData: function () {
apiLoadImportLog(this.import_id).then(data => {
this.import_info = data
let apiClient = new ApiApiFactory()
apiClient.retrieveImportLog(this.import_id).then(result => {
this.import_info = result.data
})
}
}