@@ -514,7 +514,7 @@ function importData(url) { | |||
BaseService.postN('/managew/api/bls/card/cardImport', { excelUrl: url }).then((res: any) => { | |||
if (res && res.code === 0) { | |||
console.log(res) | |||
const errUrl = res.data?.path ?? '' | |||
const errUrl = res.data?.excelUrl ?? '' | |||
if (errUrl) { | |||
ElMessage.error("导入失败,请查看下载到本地文件的具体错误信息"); | |||
BaseService.getDownload( |
@@ -499,7 +499,7 @@ | |||
BaseService.postN('/managew/api/bls/obu/obuImport', { excelUrl: url }).then((res: any) => { | |||
if (res && res.code === 0) { | |||
console.log(res) | |||
const errUrl = res.data?.path ?? '' | |||
const errUrl = res.data?.excelUrl ?? '' | |||
if (errUrl) { | |||
ElMessage.error("导入失败,请查看下载到本地文件的具体错误信息"); | |||
BaseService.getDownload( |