From 1c08c6dcbe0f81bd8cff8a363e0d6f5c996474be Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 14 三月 2024 09:49:33 +0800 Subject: [PATCH] 11 --- src/views/project/unitCost/index.vue | 31 +++++++++++++++++++++---------- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/views/project/unitCost/index.vue b/src/views/project/unitCost/index.vue index 5585253..ed51192 100644 --- a/src/views/project/unitCost/index.vue +++ b/src/views/project/unitCost/index.vue @@ -128,7 +128,12 @@ prop="receivableamount" /> <el-table-column label="宸叉敹閲戦" align="center" prop="receivedamount" /> - <el-table-column label="鏀舵鏃ユ湡" width="180" align="center" prop="receivedtime" /> + <el-table-column + label="鏀舵鏃ユ湡" + width="180" + align="center" + prop="receivedtime" + /> <el-table-column label="缁忓姙浜�" align="center" prop="updateBy" /> <el-table-column label="鎿嶄綔" width="280" align="center"> <template slot-scope="scope"> @@ -157,6 +162,13 @@ ><i class="el-icon-delete"></i>鍒犻櫎</span ></el-button > + <el-button + size="mini" + type="primary" + @click="download(scope.row)" + icon="el-icon-download" + circle + ></el-button> </template> </el-table-column> </el-table> @@ -168,8 +180,6 @@ :limit.sync="queryParams.pageSize" @pagination="getList" /> - - <el-dialog :visible.sync="showSelectionDialog" @@ -211,7 +221,8 @@ addDonorcharge, updateDonorcharge, exportDonorcharge, - listDonorpayment + listDonorpayment, + dyDonorpayment } from "@/api/project/donorcharge"; import { listOrganization } from "@/api/project/organization"; @@ -244,7 +255,7 @@ // 鎹愮尞妗堜緥鍣ㄥ畼鍒楄〃鏍兼暟鎹� donorchargeList: [], donorchargerogans: [], - + //鎹愮尞妗堜緥閫夋嫨 showSelectionDialog: false, donorlist: [], @@ -328,7 +339,6 @@ }); }, - // 琛ㄥ崟閲嶇疆 reset() { this.form = { @@ -403,8 +413,6 @@ this.showSelectionDialog = true; } - - }, /** 淇敼鎸夐挳鎿嶄綔 */ @@ -421,6 +429,10 @@ path: "/cost/particulars", query: { id: row.id, operation: "detail", data: row } }); + }, + // 鎵撳嵃 + download(row) { + dyDonorpayment(row.id).then(res => {}); }, /** 鍒犻櫎鎸夐挳鎿嶄綔 */ @@ -452,8 +464,7 @@ this.exportLoading = false; }) .catch(() => {}); - }, - + } } }; </script> -- Gitblit v1.9.3