From 38bb6cfe527cfa264f7b6b88168bdba23863b189 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期一, 11 十一月 2024 17:17:56 +0800 Subject: [PATCH] 修改了性别 --- ruoyi-ui/src/views/genealogy/index.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue index f8a97c1..3278f67 100644 --- a/ruoyi-ui/src/views/genealogy/index.vue +++ b/ruoyi-ui/src/views/genealogy/index.vue @@ -92,11 +92,17 @@ <span v-else>鈥斺��</span> </template> </el-table-column> - <el-table-column label="濮撳悕" prop="nickName" sortable :show-overflow-tooltip="true" width="100" align="center"/> + <el-table-column label="濮撳悕" prop="nickName" sortable :show-overflow-tooltip="true" width="100" align="center"> + <template slot-scope="scope" > + + <el-button @click="handleCheck(scope.row)">{{scope.row.nickName}}</el-button> + </template> + </el-table-column> + <el-table-column label="鎬у埆" prop="sex" sortable width="100" align="center" > <template slot-scope="scope"> - <span v-if="scope.row.sex===1">鐢�</span> - <span v-if="scope.row.sex===0">濂�</span> + <span v-if="scope.row.sex===0">鐢�</span> + <span v-if="scope.row.sex===1">濂�</span> <span v-if="scope.row.sex== null">鈥斺��</span> </template> </el-table-column> @@ -119,7 +125,7 @@ <template slot-scope="scope">{{scope.row.spouseName? scope.row.spouseName: '鈥斺�斺�斺��'}}</template> </el-table-column> - <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> + <el-table-column fixed="right" label="鎿嶄綔" align="center" class-name="small-padding fixed-width"> <template slot-scope="scope" v-if="scope.row.roleId !== 1"> @@ -368,7 +374,7 @@ this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] this.queryParams.clanId = this.$store.state.user.clanId - + this.listRoot = [] // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { listUserAll(this.queryParams).then(response => { // console.log(response.data) -- Gitblit v1.9.1