Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
web
soss
Commits
dc34c818
Commit
dc34c818
authored
May 30, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人员管理
parent
e37f2393
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
src/views/system/user/index.vue
+12
-1
No files found.
src/views/system/user/index.vue
View file @
dc34c818
...
@@ -68,7 +68,9 @@
...
@@ -68,7 +68,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"手机号"
align=
"center"
prop=
"phonenumber"
/>
<el-table-column
label=
"手机号"
align=
"center"
prop=
"phonenumber"
/>
<el-table-column
label=
"角色"
align=
"center"
prop=
""
/>
<el-table-column
label=
"角色"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
formatterRoles
(
scope
.
row
.
roles
)
}}
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
...
@@ -207,6 +209,15 @@ export default {
...
@@ -207,6 +209,15 @@ export default {
});
});
},
},
methods
:
{
methods
:
{
formatterRoles
(
roleList
){
let
roleNames
=
[];
if
(
roleList
.
length
>
0
){
for
(
let
i
=
0
;
i
<
roleList
.
length
;
i
++
){
roleNames
.
push
(
roleList
[
i
].
roleName
);
}
return
roleNames
.
join
();
}
},
/** 查询人员列表 */
/** 查询人员列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment