@@ -182,6 +182,7 @@ export function download(url: any, params = {}, fileName = '') {
const config: any = {}
config.headers = { 'Content-Type': 'application/x-www-form-urlencoded' };
config.responseType = 'blob';
+ config.params = params;
return service
.get(url, config)
.then(async (resp: any) => {
@@ -181,7 +181,7 @@ const resetQuery = () => {
};
const handleExport = () => {
proxy?.download(
- 'dgtmedicine/member/exportMemberList',
+ `dgtmedicine/member/exportMemberList?`,
{
...queryParams.value
},