feige
2024-11-17 7c33a1164d3019feb3ad9e4844b3d364e5c6eb44
ruoyi-ui/src/views/genealogy/index.vue
@@ -101,8 +101,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 +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">
@@ -302,11 +302,11 @@
      },
      typeOption: [{
        value: '1',
        value: '0',
        label: '男',
      },
        {
          value: '0',
          value: '1',
          label: '女',
        }],
      typeOptions: [{