From f64155f6ad27c50451bb7d4a15f553bc72ead7de Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 12 九月 2025 14:35:26 +0800
Subject: [PATCH] 年龄计算相关

---
 src/views/project/fundstatistics/index.vue |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/views/project/fundstatistics/index.vue b/src/views/project/fundstatistics/index.vue
index 334c2ea..35195cc 100644
--- a/src/views/project/fundstatistics/index.vue
+++ b/src/views/project/fundstatistics/index.vue
@@ -67,7 +67,21 @@
             align="center"
             prop="name"
           />
-          <el-table-column label="骞撮緞" width="120" 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="鎬у埆" width="120" align="center" prop="sex">
             <template slot-scope="scope">
               <dict-tag

--
Gitblit v1.9.3