Browse Source

融信详情合同下载

peixh 3 years ago
parent
commit
c0ba8f2808
1 changed files with 10 additions and 1 deletions
  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: "该附件不存在!",