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 |   44 ++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/src/views/project/unitCost/organfee/index.vue b/src/views/project/unitCost/organfee/index.vue
index d019258..145ca25 100644
--- a/src/views/project/unitCost/organfee/index.vue
+++ b/src/views/project/unitCost/organfee/index.vue
@@ -133,7 +133,7 @@
         align="center"
         show-overflow-tooltip
       />
-      <el-table-column prop="name" label="鍙椾綋濮撴皬" width="120" align="center" />
+      <el-table-column prop="name" label="鍙椾綋" width="120" align="center" />
       
       <el-table-column label="鍣ㄥ畼鐘舵��" width="120" align="center">
         <template slot-scope="scope">
@@ -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>
@@ -258,6 +265,15 @@
                 v-model="editForm.caseno"
                 maxlength="50"
                 placeholder="璇疯緭鍏ュ櫒瀹樺垎閰嶇紪鍙�"
+              />
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="鍙椾綋" prop="name">
+              <el-input
+                v-model="editForm.name"
+                maxlength="50"
+                placeholder="璇疯緭鍏ュ彈浣�"
               />
             </el-form-item>
           </el-col>
@@ -370,11 +386,11 @@
             </el-form-item>
           </el-col>
           <el-col :span="12">
-            <el-form-item label="鍙椾綋濮撴皬" prop="name">
+            <el-form-item label="鍙椾綋" prop="name">
               <el-input
                 v-model="addForm.name"
                 maxlength="50"
-                placeholder="璇疯緭鍏ュ彈浣撳姘�"
+                placeholder="璇疯緭鍏ュ彈浣�"
               />
             </el-form-item>
           </el-col>
@@ -458,6 +474,7 @@
   listDonorchargeorgan,
   addDonorchargeorgan,
   updateDonorchargeorgan,
+  delDonorchargeorgan,
   exportOrganfee
 } from "@/api/project/donorcharge";
 import { listOrganization } from "@/api/project/organization";
@@ -465,6 +482,7 @@
 /** 鏂板鍣ㄥ畼璐圭敤鐨勭┖琛ㄥ崟 */
 function emptyAddForm() {
   return {
+    infoid: null,
     donorname: null,
     hospitalno: null,
     hospitalname: null,
@@ -519,6 +537,7 @@
         hospitalname: null,
         payOrganName: null,
         caseno: null,
+        name: null,
         organState: null,
         organchargedesc: null
       },
@@ -639,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;
@@ -651,6 +684,8 @@
         return;
       }
       this.addForm = {
+        infoid:
+          row.infoid === null || row.infoid === undefined ? null : row.infoid,
         donorname: row.donorname || null,
         hospitalno:
           row.hospitalno === null || row.hospitalno === undefined
@@ -722,6 +757,7 @@
         hospitalname: row.hospitalname || null,
         payOrganName: row.payOrganName || "",
         caseno: row.caseno || "",
+        name: row.name || "",
         organState:
           row.organState === null || row.organState === undefined
             ? null

--
Gitblit v1.9.3