From 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 21 十月 2026 17:39:24 +0800
Subject: [PATCH] 青岛维护

---
 src/views/project/donateorganstatics/index.vue |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/views/project/donateorganstatics/index.vue b/src/views/project/donateorganstatics/index.vue
index a58a2e7..07c1a7f 100644
--- a/src/views/project/donateorganstatics/index.vue
+++ b/src/views/project/donateorganstatics/index.vue
@@ -379,7 +379,6 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['system:donateorganstatics:add']"
           >鏂板</el-button
         >
       </el-col>
@@ -391,7 +390,6 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['system:donateorganstatics:edit']"
           >淇敼</el-button
         >
       </el-col>
@@ -403,7 +401,6 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['system:donateorganstatics:remove']"
           >鍒犻櫎</el-button
         >
       </el-col>
@@ -415,7 +412,6 @@
           size="mini"
           :loading="exportLoading"
           @click="handleExport"
-          v-hasPermi="['system:donateorganstatics:export']"
           >瀵煎嚭</el-button
         >
       </el-col>
@@ -456,7 +452,21 @@
         </template>
       </el-table-column>
       <el-table-column label="鎬у埆" align="center" prop="sex" />
-      <el-table-column label="骞撮緞" align="center" prop="age" />
+      <el-table-column label="骞撮緞" align="center" prop="age" width="100">
+        <template slot-scope="scope">
+          {{
+            `${
+              scope.row.age && scope.row.age !== 0
+                ? `${scope.row.age}${scope.row.ageunit}`
+                : ""
+            } ${
+              scope.row.age2 && scope.row.age2 !== 0
+                ? `${scope.row.age2}${scope.row.ageunit2}`
+                : ""
+            }`.trim()
+          }}
+        </template>
+      </el-table-column>
       <el-table-column
         label="鎹愮尞绫诲埆 鏍规嵁瀛楀吀sys_DonationCategory"
         align="center"
@@ -543,7 +553,6 @@
             type="text"
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
-            v-hasPermi="['system:donateorganstatics:edit']"
             >淇敼</el-button
           >
           <el-button
@@ -551,7 +560,6 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-hasPermi="['system:donateorganstatics:remove']"
             >鍒犻櫎</el-button
           >
         </template>

--
Gitblit v1.9.3