From 799f206549b25ca0ae8dee94d21b987fc1e6e26c Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 19 十一月 2024 15:21:12 +0800
Subject: [PATCH] 修改bug

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

diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue
index 817da99..08f94c2 100644
--- a/ruoyi-ui/src/views/genealogy/index.vue
+++ b/ruoyi-ui/src/views/genealogy/index.vue
@@ -39,9 +39,9 @@
         </el-select>
       </el-form-item>
 
-      <el-form-item label="鐢熸棩" prop="birth deadDay">
+      <el-form-item label="鐢熸棩" prop="birth">
         <el-date-picker
-          v-model="dateRange"
+          v-model="queryParams.birth"
           style="width:  240px;
           height: 30px;
           background: #FFFFFF;
@@ -49,10 +49,6 @@
           opacity: 0.5;
           border: 1px solid rgba(0,0,0,0.25);"
           value-format="yyyy-MM-dd"
-          type="daterange"
-          range-separator="-"
-          start-placeholder="寮�濮嬫棩鏈�"
-          end-placeholder="缁撴潫鏃ユ湡"
           @keyup.enter.native="handleQuery"
         ></el-date-picker>
 
@@ -101,8 +97,8 @@
 		  
       <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>
@@ -125,7 +121,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">
 
 
@@ -302,11 +298,11 @@
 
       },
       typeOption: [{
-        value: '1',
+        value: '0',
         label: '鐢�',
       },
         {
-          value: '0',
+          value: '1',
           label: '濂�',
         }],
       typeOptions: [{

--
Gitblit v1.9.1