Commit a9d46a54 authored by 黄奎's avatar 黄奎

页面修改

parent 1161f408
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },
method: 'post', method: 'post',
url: urlObj.DomainUrl + '/api/file/DownLoadPdf2023', url: urlObj.DomainUrl + '/api/file/DownLoadPdf2023Url',
data: { data: {
"msg": msg "msg": msg
} }
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
let sign = title + "V2" let sign = title + "V2"
const a = document.createElement('a'); const a = document.createElement('a');
a.setAttribute('download', ''); a.setAttribute('download', '');
a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownLoadPdf2023New?fileName=' + sign + a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownloadFileForPdf?fileName=' + sign +
'.pdf&&fPath=' + res.data.data); '.pdf&&fPath=' + res.data.data);
a.click(); a.click();
} else { } else {
......
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