From 2f9782e01d723d9c28c3871b0cf296b6615de936 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 31 八月 2024 10:55:09 +0800
Subject: [PATCH] 11

---
 ruoyi-ui/src/views/genealogy/index.vue |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue
index 94f1a3d..817da99 100644
--- a/ruoyi-ui/src/views/genealogy/index.vue
+++ b/ruoyi-ui/src/views/genealogy/index.vue
@@ -83,7 +83,7 @@
       </el-row>
     </div>
 
-    <el-table v-loading="loading" :data="listRoot" :row-key="getRowId" ref="multipleTable"  @selection-change="handleSelectionChange"  :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
+    <el-table v-loading="loading" border :data="listRoot" :row-key="getRowId" ref="multipleTable"  @selection-change="handleSelectionChange"  :row-class-name="tableRowClassName" style="background: #FFEFF2;  border-radius: 14px 14px 14px 14px;">
       <el-table-column type="selection" width="55"  align="center" />
       <el-table-column fixed label="搴忓彿" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="80"/>
       <el-table-column label="韬唤" prop="identity" sortable width="100" >
@@ -92,7 +92,13 @@
           <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>
@@ -255,6 +261,7 @@
         nickName:undefined,
         sex:undefined,
         birth:undefined,
+		clanId: undefined
       },
       // searchVal:"",
 
@@ -366,10 +373,8 @@
       //alert(23)
       this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0]
       this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1]
-
-      // this.queryParams.pageSize = this.pageSize; // 娣诲姞 pageSize 鍙傛暟
-      // this.queryParams.pageNum = this.pageNum; // 娣诲姞 pageNum 鍙傛暟
-
+	  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)
@@ -435,7 +440,7 @@
           deptCheckStrictly: true,
           remark: undefined
         };
-      this.resetForm("form");
+      this.resetForm("elForm");
     },
     /** 鎼滅储鎸夐挳鎿嶄綔 */
     handleQuery() {

--
Gitblit v1.9.1