This commit is contained in:
2022-03-24 23:56:55 +00:00
parent 2d1283ac96
commit e4f6d45962

View File

@@ -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);
}