|
@@ -76,10 +76,10 @@ export async function downLoadTemplate() {
|
|
|
/**
|
|
/**
|
|
|
* 下载模板
|
|
* 下载模板
|
|
|
*/
|
|
*/
|
|
|
-export async function downLoadTemplateNew(url, fileName) {
|
|
|
|
|
|
|
+export async function downLoadTemplateNew(url, fileName, data={}) {
|
|
|
const res = await request.post(
|
|
const res = await request.post(
|
|
|
url,
|
|
url,
|
|
|
- {},
|
|
|
|
|
|
|
+ data,
|
|
|
{
|
|
{
|
|
|
responseType: 'blob'
|
|
responseType: 'blob'
|
|
|
}
|
|
}
|