|
@@ -164,6 +164,7 @@ export default {
|
|
let formData = new FormData();
|
|
let formData = new FormData();
|
|
formData.append('file', fileInfo);
|
|
formData.append('file', fileInfo);
|
|
formData.append('type', 13);
|
|
formData.append('type', 13);
|
|
|
|
+ formData.append('uesrId', localStorage.getItem('uesrId'));
|
|
const header = {
|
|
const header = {
|
|
headers: {
|
|
headers: {
|
|
'Content-Type': 'multipart/form-data'
|
|
'Content-Type': 'multipart/form-data'
|
|
@@ -414,7 +415,7 @@ export default {
|
|
},
|
|
},
|
|
// 导入模板
|
|
// 导入模板
|
|
exportModule() {
|
|
exportModule() {
|
|
- api.exportTcmdromeModule().then(res => {
|
|
|
|
|
|
+ api.exportTcmdromeModule({type:13}).then(res => {
|
|
if (res.status === 200) {
|
|
if (res.status === 200) {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
utils.downloadExportedData(res.data, '中医证候导入模板.xls');
|
|
utils.downloadExportedData(res.data, '中医证候导入模板.xls');
|