From c09b09a73a7905f980f5ebb8f25df0500d7c8ccb Mon Sep 17 00:00:00 2001 From: WXL <wl_5969728@163.com> Date: 星期三, 24 九月 2025 16:15: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