This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
//NOTE: This is a simple form with no need for business rules or validation so stripped out any extraneous code related to all that
|
||||
//
|
||||
const FORM_KEY = "adm-global-select-templates";
|
||||
const API_BASE_URL = "picklist/template/";
|
||||
const API_BASE_URL = "pick-list/template/";
|
||||
export default {
|
||||
beforeRouteLeave(to, from, next) {
|
||||
//let vm = this;
|
||||
@@ -247,7 +247,7 @@ export default {
|
||||
|
||||
//get available fields
|
||||
window.$gz.api
|
||||
.get(API_BASE_URL + "ListFields/" + vm.templateId)
|
||||
.get(API_BASE_URL + "listfields/" + vm.templateId)
|
||||
.then(res => {
|
||||
if (res.error) {
|
||||
vm.formState.serverError = res.error;
|
||||
|
||||
@@ -7,25 +7,7 @@
|
||||
<v-btn @click="getDataFromApi" class="mt-1 mb-n6">
|
||||
<v-icon>fa-sync</v-icon>
|
||||
</v-btn>
|
||||
<v-simple-table>
|
||||
<template v-slot:default>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-left"></th>
|
||||
<th class="text-left"></th>
|
||||
<th class="text-left"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="item in obj" :key="item.id">
|
||||
<td>{{ item.created }}</td>
|
||||
<td>{{ item.jobId }}</td>
|
||||
<td>{{ item.status }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</template>
|
||||
</v-simple-table>
|
||||
<!-- </v-col> -->
|
||||
<v-textarea v-model="logText" full-width readonly auto-grow></v-textarea>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user