From e3ac0a8d96cb3b98e45454fac42489dce7b15c68 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 24 十一月 2023 16:15:38 +0800
Subject: [PATCH] 11

---
 src/views/project/fund/applyDetail/index.vue |   44 ++++++++++++++++++++++++++++++++------------
 1 files changed, 32 insertions(+), 12 deletions(-)

diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index 02d0d38..1b3fbdf 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -150,7 +150,8 @@
             <div
               style="margin-bottom: 15px;"
               v-if="
-                userprofile.nickName == '闄堟厱鍗�'&&(businessType=='1'||businessType=='2')
+                userprofile.nickName == '闄堟厱鍗�' &&
+                  (businessType == '1' || businessType == '2')
               "
             >
               <el-button
@@ -558,7 +559,9 @@
                   "
                   type="text"
                   size="small"
-                  v-if="businessType == 3 || businessType == 4"
+                  v-if="
+                    businessType == 3 || businessType == 2 || businessType == 4
+                  "
                   >绁ㄦ嵁</el-button
                 >
               </template>
@@ -1152,15 +1155,14 @@
                     label="鍚嶇О"
                   >
                     <template slot-scope="scope">
-                      <i style="color:#409EFF" class=" el-icon-s-order" />{{
-                        scope.row.name
-                      }}
+                      <i style="color:#409EFF" class=" el-icon-s-order" />
+                      <span>{{ scope.row.name }}</span>
                     </template>
                   </el-table-column>
 
                   <el-table-column
                     prop="name"
-                    width="180"
+                    width="190"
                     :show-overflow-tooltip="true"
                     label="鍔熻兘"
                   >
@@ -1176,6 +1178,13 @@
                         size="mini"
                         @click.native.prevent.stop="moveupdowfile(scope.row)"
                         >涓婄Щ</el-button
+                      >
+                      <el-button
+                        type="success"
+                        size="mini"
+                        icon="el-icon-search" circle
+                        @click.native.prevent.stop="Downloadfile(scope.row)"
+                        ></el-button
                       >
                     </template>
                   </el-table-column>
@@ -1249,15 +1258,14 @@
                     label="鍚嶇О"
                   >
                     <template slot-scope="scope">
-                      <i style="color:#409EFF" class=" el-icon-s-order" />{{
-                        scope.row.name
-                      }}
+                      <i style="color:#409EFF" class=" el-icon-s-order" />
+                      <span>{{ scope.row.name }}</span>
                     </template>
                   </el-table-column>
 
                   <el-table-column
                     prop="name"
-                    width="180"
+                    width="190"
                     :show-overflow-tooltip="true"
                     label="鍔熻兘"
                   >
@@ -1273,6 +1281,13 @@
                         size="mini"
                         @click.native.prevent.stop="moveupdowfile(scope.row)"
                         >涓婄Щ</el-button
+                      >
+                      <el-button
+                        type="success"
+                        size="mini"
+                        icon="el-icon-search" circle
+                        @click.native.prevent.stop="Downloadfile(scope.row)"
+                        ></el-button
                       >
                     </template>
                   </el-table-column>
@@ -2122,7 +2137,7 @@
               );
               return;
             }
-            
+
             /*
             if (
               tempDetail.idcardno == null &&
@@ -2299,6 +2314,7 @@
                   }
                 });
               }
+              this.form.id = response.data;
             } else {
               this.$modal.msgError("鐢宠鍗曚繚瀛樺け璐ワ細" + response.msg);
             }
@@ -2900,7 +2916,7 @@
           //   }
           // });
           this.$modal.msgSuccess("璁$畻鎴愬姛");
-          this.handleCheck()
+          this.handleCheck();
         } else {
           this.$message({
             type: "error",
@@ -3382,6 +3398,10 @@
         this.invoicefileListto.splice(index - 1, 0, item); // 灏唅tem鎻掑叆鍒扮储寮曚綅缃殑鍓嶄竴浣�
       }
     },
+    Downloadfile(row) {
+      console.log(row);
+      window.location.href = this.Networkheader + "/prod-api" + row.url;
+    },
     //涓撳/鍖荤枟鏈烘瀯/璐圭敤鎶ラ攢鏈烘瀯閫夋嫨
     ShowDetailDialog(spoce, showType) {
       this.spocewl = spoce;

--
Gitblit v1.9.3