Commit 0f803b22 authored by 沈良进's avatar 沈良进

页面修改

parent 28301c00
...@@ -485,6 +485,8 @@ ...@@ -485,6 +485,8 @@
this.pdfLoading = true this.pdfLoading = true
let urlObj = this.domainManager(); let urlObj = this.domainManager();
let msg = this.getPostMsg(); let msg = this.getPostMsg();
//DownLoadPdf2023
//DownLoadPdf2023Url
this.$http({ this.$http({
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
...@@ -497,10 +499,11 @@ ...@@ -497,10 +499,11 @@
}).then(res => { }).then(res => {
if (res.data.resultCode === 1 && res.data.data) { if (res.data.resultCode === 1 && res.data.data) {
let path = res.data.data; let path = res.data.data;
this.pdfLoading=false;
var fileName = title + "_2023.pdf"; var fileName = title + "_2023.pdf";
this.pdfLoading = true; this.pdfLoading = true;
let urlObj = this.domainManager(); let urlObj = this.domainManager();
var ocrUrl = urlObj.ocrUrl + "/Home/DownloadFileForPdf?url=" + encodeURIComponent(path); var ocrUrl = urlObj.ocrUrl + "/Home/DownloadFileForPdf?configId="+msg.configId+"&url=" + encodeURIComponent(path);
this.$http({ this.$http({
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
......
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