feige
2024-11-16 2697e109da871cb81936965c16c47c97635ecfb6
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">
@@ -296,11 +302,11 @@
      },
      typeOption: [{
        value: '1',
        value: '0',
        label: '男',
      },
        {
          value: '0',
          value: '1',
          label: '女',
        }],
      typeOptions: [{
@@ -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)