This commit is contained in:
@@ -14,13 +14,18 @@
|
||||
</v-col>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox v-model="doImport" :label="$ay.t('ImportNew')"></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="doUpdate"
|
||||
:label="$ay.t('UpdateExisting')"
|
||||
color="warning"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<!-- <v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-checkbox
|
||||
v-model="doUpdate"
|
||||
:label="$ay.t('UpdateExisting')"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
</v-col> -->
|
||||
|
||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||
<v-file-input
|
||||
@@ -39,8 +44,7 @@
|
||||
>{{ $ay.t("Open") }}</v-btn
|
||||
>
|
||||
</v-col>
|
||||
importable
|
||||
{{ importable }}
|
||||
|
||||
<v-col v-if="outputText != null" cols="12">
|
||||
<v-textarea
|
||||
v-model="outputText"
|
||||
@@ -129,10 +133,10 @@ export default {
|
||||
//strip out any unsupported fields before transmission
|
||||
cleanData(dat, this.ayaType);
|
||||
|
||||
console.log(
|
||||
"The processed data AFTER cleaning is ",
|
||||
JSON.stringify(dat)
|
||||
);
|
||||
// console.log(
|
||||
// "The processed data AFTER cleaning is ",
|
||||
// JSON.stringify(dat)
|
||||
// );
|
||||
|
||||
// console.log(
|
||||
// "if it was csv it should look like this:",
|
||||
@@ -140,7 +144,7 @@ export default {
|
||||
// );
|
||||
|
||||
//upload the data
|
||||
//await this.upload(dat);
|
||||
await this.upload(dat);
|
||||
} catch (error) {
|
||||
window.$gz.errorHandler.handleFormError(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user