|
@@ -260,7 +260,7 @@ export default {
|
|
|
hisName: this.filter.hisName.trim(),
|
|
|
uniqueName: this.filter.uniqueName.trim(),
|
|
|
icdCode: '',
|
|
|
- hospitalId: data && data.hospitalId,
|
|
|
+ hospitalId: (data && data.hospitalId) || localStorage.getItem('hospitalId'),
|
|
|
type: 4,
|
|
|
isMatch: this.filter.match
|
|
|
};
|
|
@@ -438,7 +438,7 @@ export default {
|
|
|
this.$message({ message: '请根据模板进行导入', type: 'error' });
|
|
|
return;
|
|
|
}
|
|
|
- e.preventDefault();
|
|
|
+ // e.preventDefault();
|
|
|
let formData = new FormData();
|
|
|
formData.append('file', fileInfo);
|
|
|
formData.append('hospitalId', this.hospitalId);
|