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

save

parent e0a934ef
......@@ -393,7 +393,8 @@
> 
签约资料
</p>
<a style="margin-left:20px;color:blue;cursor:pointer;font-size: 14px;" target="_blank"
@click="downloadFile(detailList.signingFile)">签约客户附件</a>
<p class="fz14 color666 mt10">
<i class="iconfont icon-fangwenjilu fz14 colorccc"></i>&nbsp;
{{ $t("salesModule.kaifaDetail") }}
......@@ -675,6 +676,7 @@
export default {
data() {
return {
subItem: {},
imageOptions: {
navbar: false,
title: false,
......@@ -714,6 +716,16 @@ export default {
};
},
methods: {
//下载文件
downloadFile(fileUrl) {
var newUrl = this.domainManager().ViittoFileUrl + fileUrl
const link = document.createElement('a');
link.href = newUrl;
// link.download = fileName;
link.download = '签约客户附件';
document.body.appendChild(link);
link.click();
},
inited(viewer) {
this.$viewer = viewer;
},
......
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