This commit is contained in:
@@ -29,10 +29,6 @@
|
||||
>{{ $ay.t("Upload") }}</v-btn
|
||||
>
|
||||
</v-col>
|
||||
type:
|
||||
{{ ayaType }}
|
||||
uploadFile:
|
||||
{{ uploadFile }}
|
||||
|
||||
<v-col cols="12">
|
||||
<v-textarea
|
||||
@@ -56,7 +52,7 @@ export default {
|
||||
importableAyaTypes: []
|
||||
},
|
||||
uploadFile: [],
|
||||
ayaType: 0,
|
||||
ayaType: 8, //<<<<<<<<<<<<<-----------------------------CHANGE THIS TO ZERO WHEN DONE TESTING
|
||||
importResult: "",
|
||||
rights: window.$gz.role.defaultRightsObject(),
|
||||
uploading: false
|
||||
@@ -79,6 +75,8 @@ export default {
|
||||
if (this.uploadFile && this.uploadFile.name) {
|
||||
console.log("Processing uploadfile");
|
||||
papa.parse(this.uploadFile, {
|
||||
header: true,
|
||||
dynamicTyping: true,
|
||||
worker: true,
|
||||
step: function(row) {
|
||||
console.log("Row:", row.data);
|
||||
|
||||
Reference in New Issue
Block a user