fix: 修复前端人员性别sex显示错误
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
|
|||||||
{
|
{
|
||||||
|
|
||||||
DictLabel = "男",
|
DictLabel = "男",
|
||||||
DictValue = "0",
|
DictValue = "Male",
|
||||||
DictType = "sys_user_sex",
|
DictType = "sys_user_sex",
|
||||||
OrderNum = 100,
|
OrderNum = 100,
|
||||||
Remark = "性别男",
|
Remark = "性别男",
|
||||||
@@ -41,7 +41,7 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
|
|||||||
{
|
{
|
||||||
|
|
||||||
DictLabel = "女",
|
DictLabel = "女",
|
||||||
DictValue = "1",
|
DictValue = "Woman",
|
||||||
DictType = "sys_user_sex",
|
DictType = "sys_user_sex",
|
||||||
OrderNum = 99,
|
OrderNum = 99,
|
||||||
Remark = "性别女",
|
Remark = "性别女",
|
||||||
@@ -54,7 +54,7 @@ namespace Yi.Framework.Rbac.SqlSugarCore.DataSeeds
|
|||||||
{
|
{
|
||||||
|
|
||||||
DictLabel = "未知",
|
DictLabel = "未知",
|
||||||
DictValue = "2",
|
DictValue = "Unknown",
|
||||||
DictType = "sys_user_sex",
|
DictType = "sys_user_sex",
|
||||||
OrderNum = 98,
|
OrderNum = 98,
|
||||||
Remark = "性别未知",
|
Remark = "性别未知",
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
<!-- <router-link :to="'/system/dict-data/index/' + scope.row.id" class="link-type">
|
<!-- <router-link :to="'/system/dict-data/index/' + scope.row.id" class="link-type">
|
||||||
|
|
||||||
</router-link> -->
|
</router-link> -->
|
||||||
<span @click="handleToPath(scope.row.id)">{{ scope.row.dictType }}</span>
|
<span style="color: blue; cursor: pointer; " @click="handleToPath(scope.row.id)">{{ scope.row.dictType }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="状态" align="center" prop="state">
|
<el-table-column label="状态" align="center" prop="state">
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="用户性别">
|
<el-form-item label="用户性别">
|
||||||
<el-select v-model="form.sex" placeholder="请选择">
|
<el-select v-model="form.sex" placeholder="请选择">
|
||||||
<el-option v-for="dict in sys_user_sex" :key="dict.value" :label="dict.label" :value="JSON.parse(dict.value) "></el-option>
|
<el-option v-for="dict in sys_user_sex" :key="dict.value" :label="dict.label" :value="dict.value "></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
Reference in New Issue
Block a user