|
@@ -492,7 +492,6 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
this.importTcmdromeRecord(formData, header);
|
|
|
- this.getDataList();
|
|
|
// this.uploadInfo = '导入中...';
|
|
|
// api.importExcelDataVerify(formData, header).then(res => {
|
|
|
// if (res.data.code === '00020001') {
|
|
@@ -538,6 +537,7 @@ export default {
|
|
|
api.importTcmdromeRecord(formData, header).then(res => {
|
|
|
if (res.headers['content-disposition']) {
|
|
|
this.downloadUrl(res);
|
|
|
+ this.getDataList();
|
|
|
} else {
|
|
|
let r = new FileReader();
|
|
|
r.onload = function() {
|
|
@@ -563,6 +563,7 @@ export default {
|
|
|
// customClass: 'exportConfirm',
|
|
|
type: 'success'
|
|
|
});
|
|
|
+ this.getDataList();
|
|
|
}
|
|
|
};
|
|
|
r.readAsText(res.data);
|