|
@@ -332,14 +332,15 @@ export default {
|
|
|
};
|
|
|
this.uploadInfo = '导入中...';
|
|
|
api.importDrugRecord(formData, header).then(res => {
|
|
|
- console.log(res, '======================res导入结果');
|
|
|
+ // console.log(res, '======================res导入结果');
|
|
|
if (res.data === '' && res.status === 200) {
|
|
|
- this.$confirm(`导入成功`, '', {
|
|
|
+ this.$confirm(`导入成功`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
// cancelButtonText: '取消',
|
|
|
cancelButtonClass: 'cancelSure',
|
|
|
confirmButtonClass: 'sure',
|
|
|
- customClass: 'exportConfirm'
|
|
|
+ customClass: 'exportConfirm',
|
|
|
+ type: 'warning'
|
|
|
})
|
|
|
.then(() => {})
|
|
|
.catch(() => {});
|