|
@@ -56,7 +56,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<div style="display: flex; justify-content: flex-end;margin-bottom: 10px;">
|
|
|
- <el-button type="primary">导出明细表</el-button>
|
|
|
+ <el-button type="primary" @click="exportExcel">导出明细表</el-button>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-table :data="housingFundPersonList" border style="width: 100%" show-summary
|
|
@@ -152,7 +152,7 @@
|
|
|
<script setup>
|
|
|
import {
|
|
|
getDetail,
|
|
|
- saveDetail, turnBackDetail
|
|
|
+ saveDetail, turnBackDetail,exportDetail
|
|
|
} from "@/api/business/production/housingFundDeclare";
|
|
|
import { getMembers, getMembersNoDelete } from "@/api/business/production/housingFundDeclare";
|
|
|
import { uploadFile } from "@/api/tool/file";
|
|
@@ -443,7 +443,14 @@ return sums
|
|
|
form.value.individualAmount == null ? 0 : form.value.individualAmount;
|
|
|
form.value.amount = amount;
|
|
|
}
|
|
|
-
|
|
|
+ function exportExcel() {
|
|
|
+ let data = {
|
|
|
+ "companyId": form.value.companyId,
|
|
|
+ "year": form.value.year,
|
|
|
+ "month": form.value.month
|
|
|
+ }
|
|
|
+ exportDetail(data)
|
|
|
+ }
|
|
|
function handleDel(row, index) {
|
|
|
proxy.$modal
|
|
|
.confirm("确定删除吗?")
|