浏览代码

融信详情合同下载

peixh 3 年之前
父节点
当前提交
c0ba8f2808
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      front-vue/src/views/service/credit/creditDetail.vue

+ 10 - 1
front-vue/src/views/service/credit/creditDetail.vue

@@ -500,7 +500,16 @@ export default {
     handleDownload(row) {
       const pfiUrl = row.pfiUrl;
       if (pfiUrl != null && pfiUrl != "") {
-        window.open(pfiUrl + "/" + getToken());
+            const pfiFileName = row.pfiFileName;
+            this.queryParamsDown.pfiUrl = pfiUrl;
+            this.download(
+                "sc-service/creditLine/jpgAuthorization",
+                {
+                    ...this.queryParamsDown
+                },
+                pfiFileName
+            );
+        // window.open(pfiUrl + "/" + getToken());
       } else {
         this.$message({
           message: "该附件不存在!",