From 4afb944c92aed7287cc4691fc9019f3b9faea1c0 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 03 十一月 2026 16:04:37 +0800
Subject: [PATCH] 增加对pdf预览支持,统计分析对时间范围的限定要求
---
src/views/project/unitCost/organfee/index.vue | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index 6989a7b..145ca25 100644
--- a/src/views/project/unitCost/organfee/index.vue
+++ b/src/views/project/unitCost/organfee/index.vue
@@ -182,7 +182,7 @@
/>
<el-table-column
label="鎿嶄綔"
- width="160"
+ width="210"
align="center"
fixed="right"
>
@@ -201,6 +201,13 @@
@click="handleCharge(scope.row)"
v-hasPermi="['project:donorchargeorgan:edit']"
>宸叉敹璐�</el-button
+ >
+ <el-button
+ type="text"
+ icon="el-icon-delete"
+ @click="handleDelete(scope.row)"
+ v-hasPermi="['project:donorchargeorgan:edit']"
+ >鍒犻櫎</el-button
>
</template>
</el-table-column>
@@ -467,6 +474,7 @@
listDonorchargeorgan,
addDonorchargeorgan,
updateDonorchargeorgan,
+ delDonorchargeorgan,
exportOrganfee
} from "@/api/project/donorcharge";
import { listOrganization } from "@/api/project/organization";
@@ -650,6 +658,20 @@
})
.catch(() => {});
},
+ /** 鍒犻櫎鎸夐挳鎿嶄綔 */
+ handleDelete(row) {
+ this.$modal
+ .confirm('鏄惁纭鍒犻櫎鍣ㄥ畼璐圭敤缂栧彿涓�"' + row.id + '"鐨勬暟鎹」锛�')
+ .then(() => delDonorchargeorgan(row.id))
+ .then(() => {
+ this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
+ if (this.currentRow && this.currentRow.id === row.id) {
+ this.currentRow = null;
+ }
+ this.getList();
+ })
+ .catch(() => {});
+ },
/** 琛ㄦ牸褰撳墠琛屽彉鍖� */
handleCurrentChange(row) {
this.currentRow = row;
--
Gitblit v1.9.3