feat: excel parser - handle date, datetime, duplicate column

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-11-18 14:55:41 +05:30
parent f6b21429ff
commit cc9956df1f
7 changed files with 101 additions and 61 deletions

View File

@@ -1,9 +1,9 @@
import ExcelTemplateAdapter from '~/components/import/templateParsers/ExcelTemplateAdapter'
export default class ExcelUrlTemplateAdapter extends ExcelTemplateAdapter {
constructor(url, $store) {
constructor(url, $store, parserConfig) {
const name = url.split('/').pop()
super(name, null)
super(name, null, parserConfig)
this.url = url
this.$store = $store
}