Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
0c6f8a19
Commit
0c6f8a19
authored
Sep 22, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:修改用户列表
parent
71d430ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
14 deletions
+5
-14
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/userManagement.vue
...tformIsSet/components/permissionsModel/userManagement.vue
+5
-14
No files found.
portal-manager-ui/admin/src/views/thePlatformIsSet/components/permissionsModel/userManagement.vue
View file @
0c6f8a19
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
style=
"width: 150px"
style=
"width: 150px"
>
>
<a-select-option
<a-select-option
v-for=
"
v
in userDict"
v-for=
"
(v, key)
in userDict"
:key=
"
v.
key"
:key=
"key"
:value=
"
v.
key"
:value=
"key"
>
{{
v
.
value
}}
</a-select-option
>
{{
v
}}
</a-select-option
>
>
</a-select>
</a-select>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getUserList"
<a-button
type=
"primary"
class=
"addclass"
@
click=
"getUserList"
...
@@ -191,15 +191,6 @@ export default {
...
@@ -191,15 +191,6 @@ export default {
this
.
tablePagination
.
pageSize
=
pag
.
pageSize
;
this
.
tablePagination
.
pageSize
=
pag
.
pageSize
;
this
.
getUserList
();
this
.
getUserList
();
},
},
// 对象转对象数组
transverter
(
obj
)
{
return
Object
.
keys
(
obj
).
map
((
v
)
=>
{
return
{
key
:
v
,
value
:
obj
[
v
],
};
});
},
// 获取用户列表
// 获取用户列表
async
getUserList
()
{
async
getUserList
()
{
...
@@ -226,7 +217,7 @@ export default {
...
@@ -226,7 +217,7 @@ export default {
this
.
tablePagination
.
current
-=
1
;
this
.
tablePagination
.
current
-=
1
;
this
.
getUserList
();
this
.
getUserList
();
}
}
this
.
userDict
=
this
.
transverter
(
roleId
)
;
this
.
userDict
=
roleId
;
let
{
loginName
}
=
this
.
userData
;
let
{
loginName
}
=
this
.
userData
;
if
(
this
.
loginNames
.
includes
(
loginName
))
{
if
(
this
.
loginNames
.
includes
(
loginName
))
{
this
.
tableSourceData
=
data
;
this
.
tableSourceData
=
data
;
...
...
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