提交 2f134263 authored 作者: pengxiaohui's avatar pengxiaohui

统一用户姓名取值

上级 f4aed421
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="创建人" min-width="100" align="center"> <el-table-column label="创建人" min-width="100" align="center">
<template slot-scope="scope">{{scope.row.sso_user.realname || scope.row.sso_user.username}}</template> <template slot-scope="scope">{{scope.row.sso_user.realname || scope.row.sso_user.nickname}}</template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="240" align="center"> <el-table-column label="操作" width="240" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
......
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
this.selection = val this.selection = val
}, },
handleSelect(val) { handleSelect(val) {
this.form.username = val.username this.form.username = val.realname || val.nickname
this.form.email = val.email this.form.email = val.email
this.form.phone = val.mobile this.form.phone = val.mobile
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论