Commit 5837c943 authored by 张伯涛's avatar 张伯涛

修改

parent 076171b1
...@@ -17,12 +17,13 @@ export function cardGetInfo(query) { ...@@ -17,12 +17,13 @@ export function cardGetInfo(query) {
}) })
} }
// 下载治疗情况导入模板 // 下载导入模板
export function importTemplate(params) { export function importTemplate(params) {
return request({ return request({
url: '/system/yxry/importTemplate', url: '/system/yxry/importTemplate',
method: 'post', method: 'post',
responseType: 'blob', responseType: 'blob',
timeout: 30 * 1000,
params params
}) })
} }
...@@ -33,6 +34,7 @@ export function importExcel(data) { ...@@ -33,6 +34,7 @@ export function importExcel(data) {
url: '/system/yxry/importData', url: '/system/yxry/importData',
method: 'post', method: 'post',
responseType: 'blob', responseType: 'blob',
timeout: 30 * 1000,
data data
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment