Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform
Commits
e240f3b7
Commit
e240f3b7
authored
4 years ago
by
Gavin LI (李华桂)
Committed by
GitHub
4 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1984 from WeBankPartners/bug_fix
Bug fix
parents
5e74e6b9
c608141c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wecube-portal/src/pages/admin/user-role-management.vue
+9
-5
wecube-portal/src/pages/admin/user-role-management.vue
wecube-portal/src/pages/collaboration/components/plugin-register.vue
+3
-3
...al/src/pages/collaboration/components/plugin-register.vue
with
12 additions
and
8 deletions
+12
-8
wecube-portal/src/pages/admin/user-role-management.vue
+
9
-
5
View file @
e240f3b7
...
...
@@ -5,7 +5,9 @@
<Card>
<p
slot=
"title"
>
{{
$t
(
'
user
'
)
}}
<Button
icon=
"ios-add"
type=
"dashed"
size=
"small"
@
click=
"openAddUserModal"
>
{{
$t
(
'
add_user
'
)
}}
</Button>
<Button
icon=
"ios-add"
type=
"success"
ghost
size=
"small"
@
click=
"openAddUserModal"
>
{{
$t
(
'
add_user
'
)
}}
</Button>
</p>
<div
class=
"tagContainers"
>
<div
class=
"role-item"
v-for=
"item in users"
:key=
"item.id"
>
...
...
@@ -21,8 +23,8 @@
{{
` ${item.username
}
`
}}
<
/span
>
<
/Tag
>
<
Button
icon
=
"
md-trash
"
type
=
"
dashed
"
size
=
"
small
"
@
click
=
"
removeRole(item)
"
>
{{
$t
(
'
remove_user
'
)
<
Button
icon
=
"
md-trash
"
type
=
"
error
"
ghost
size
=
"
small
"
@
click
=
"
removeRole(item)
"
>
{{
$t
(
'
delete
'
)
}}
<
/Button
>
<
/div
>
<
/div
>
...
...
@@ -32,7 +34,9 @@
<
Card
>
<
p
slot
=
"
title
"
>
{{
$t
(
'
role
'
)
}}
<
Button
icon
=
"
ios-add
"
type
=
"
dashed
"
size
=
"
small
"
@
click
=
"
openAddRoleModal
"
>
{{
$t
(
'
add_role
'
)
}}
<
/Button
>
<
Button
icon
=
"
ios-add
"
type
=
"
success
"
ghost
size
=
"
small
"
@
click
=
"
openAddRoleModal
"
>
{{
$t
(
'
add_role
'
)
}}
<
/Button
>
<
/p
>
<
div
class
=
"
tagContainers
"
>
<
div
class
=
"
role-item
"
v
-
for
=
"
item in roles
"
:
key
=
"
item.id
"
>
...
...
@@ -46,7 +50,7 @@
>
<
span
:
title
=
"
item.displayName
"
>
{{
item
.
name
+
'
(
'
+
item
.
displayName
+
'
)
'
}}
<
/span
>
<
/Tag
>
<
Button
icon
=
"
ios-person
"
type
=
"
dashed
"
size
=
"
small
"
@
click
=
"
openUserManageModal(item.id)
"
>
{{
<
Button
icon
=
"
ios-person
"
type
=
"
primary
"
ghost
size
=
"
small
"
@
click
=
"
openUserManageModal(item.id)
"
>
{{
$t
(
'
user
'
)
}}
<
/Button
>
<
/div
>
...
...
This diff is collapsed.
Click to expand it.
wecube-portal/src/pages/collaboration/components/plugin-register.vue
+
3
-
3
View file @
e240f3b7
...
...
@@ -3,7 +3,7 @@
<Row>
<Col
span=
"6"
style=
"border-right: 1px solid #e8eaec"
>
<div
v-if=
"plugins.length
<
1"
>
{{
$t
(
'
no_plugin
'
)
}}
</div>
<div
style=
"
min-
height: calc(100vh - 180px);overflow:auto;"
>
<div
style=
"height: calc(100vh - 180px);overflow
-y
:auto;"
>
<Menu
theme=
"light"
:active-name=
"currentPlugin"
@
on-select=
"selectPlugin"
style=
"width: 100%;z-index:10"
>
<Submenu
v-for=
"(plugin, index) in plugins"
...
...
@@ -73,7 +73,7 @@
</FormItem>
</Col>
</Row>
<div
style=
"height: calc(100vh -
275
px);overflow:auto"
id=
"paramsContainer"
>
<div
style=
"height: calc(100vh -
300
px);overflow:auto"
id=
"paramsContainer"
>
<Collapse
v-model=
"activePanel"
accordion
>
<Panel
v-for=
"(inter, index) in currentPluginObj.interfaces"
...
...
@@ -302,7 +302,7 @@
</Panel>
</Collapse>
</div>
<Row
v-if=
"currentPluginObjKeysLength > 1"
style=
"margin:
20
px auto;margin-bottom:0;"
>
<Row
v-if=
"currentPluginObjKeysLength > 1"
style=
"margin:
45
px auto;margin-bottom:0;"
>
<Col
span=
"9"
offset=
"8"
>
<Button
type=
"primary"
ghost
v-if=
"currentPluginObj.status === 'DISABLED'"
@
click=
"pluginSave"
>
{{
$t('save')
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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