Commit 3662a30d authored by 黄奎's avatar 黄奎

页面修改

parent 9a1eded0
...@@ -386,6 +386,7 @@ ...@@ -386,6 +386,7 @@
<template> <template>
<div class="TD_MainContent" v-loading="pdfLoading"> <div class="TD_MainContent" v-loading="pdfLoading">
<a id="contractDownLoad" ></a>
<div class="container-fluid"> <div class="container-fluid">
<div class="block mtop15"> <div class="block mtop15">
<div class="blockTitle"> <div class="blockTitle">
...@@ -1046,7 +1047,7 @@ ...@@ -1046,7 +1047,7 @@
this.pdfLoading = false this.pdfLoading = false
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let sign = title + "V2" let sign = title + "V2"
const a = document.createElement('a'); const a = document.getElementById('contractDownLoad');
a.setAttribute('download', ''); a.setAttribute('download', '');
a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownloadFileForPdf?fileName=' + sign + a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownloadFileForPdf?fileName=' + sign +
'.pdf&&fPath=' + res.data.data); '.pdf&&fPath=' + res.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