|
|
@ -3,14 +3,12 @@ const { $api } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
export default class ExcelUrlTemplateAdapter extends ExcelTemplateAdapter { |
|
|
|
export default class ExcelUrlTemplateAdapter extends ExcelTemplateAdapter { |
|
|
|
url: string |
|
|
|
url: string |
|
|
|
quickImportType: string |
|
|
|
|
|
|
|
excelData: any |
|
|
|
excelData: any |
|
|
|
|
|
|
|
|
|
|
|
constructor(url: string, parserConfig: Record<string, any>, quickImportType: string) { |
|
|
|
constructor(url: string, parserConfig: Record<string, any>) { |
|
|
|
const name = url.split('/').pop() |
|
|
|
const name = url.split('/').pop() |
|
|
|
super(name, parserConfig) |
|
|
|
super(name, parserConfig) |
|
|
|
this.url = url |
|
|
|
this.url = url |
|
|
|
this.quickImportType = quickImportType |
|
|
|
|
|
|
|
this.excelData = null |
|
|
|
this.excelData = null |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|