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 | 26 ++++++++++++++++++++++---- 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 7dc23bb..1b3fbdf 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -1156,13 +1156,13 @@ > <template slot-scope="scope"> <i style="color:#409EFF" class=" el-icon-s-order" /> - <a :href="pdfimg">{{ scope.row.name }}</a> + <span>{{ scope.row.name }}</span> </template> </el-table-column> <el-table-column prop="name" - width="180" + width="190" :show-overflow-tooltip="true" label="鍔熻兘" > @@ -1178,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> @@ -1252,13 +1259,13 @@ > <template slot-scope="scope"> <i style="color:#409EFF" class=" el-icon-s-order" /> - <a :href="invoicepdfimg">{{ scope.row.name }}</a> + <span>{{ scope.row.name }}</span> </template> </el-table-column> <el-table-column prop="name" - width="180" + width="190" :show-overflow-tooltip="true" label="鍔熻兘" > @@ -1274,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> @@ -3384,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