Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qa-platform-ui
Commits
42a9b7e6
Commit
42a9b7e6
authored
Jul 06, 2021
by
晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新角色菜单
parent
6fd1f1f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
role.vue
src/views/user/role.vue
+2
-2
No files found.
src/views/user/role.vue
View file @
42a9b7e6
...
...
@@ -38,12 +38,12 @@
</el-pagination>
</el-card>
<!-- 添加角色 -->
<el-dialog
:title=
"textMap[dialogStatus]"
:visible.sync=
"dialogFormVisible"
width=
"
45
%"
>
<el-dialog
:title=
"textMap[dialogStatus]"
:visible.sync=
"dialogFormVisible"
width=
"
50
%"
>
<el-form
ref=
"addRoleFormRef"
:rules=
"rules"
:model=
"addRoleForm"
label-width=
"90px"
>
<el-form-item
label=
"角色名称:"
prop=
"roleName"
style=
"width:400px"
>
<el-input
v-model=
"addRoleForm.roleName"
></el-input>
</el-form-item>
<el-form-item
label=
"菜单&权限"
prop=
"roleCode"
style=
"width:
6
00px"
>
<el-form-item
label=
"菜单&权限"
prop=
"roleCode"
style=
"width:
7
00px"
>
<div
v-for=
" (menu,_index) in allPermissionList"
:key=
"menu.menuName"
>
<span
style=
"width:100px;display: inline-block;"
>
<el-button
:type=
"isMenuNone(_index)?'':(isMenuAll(_index)?'success':'primary')"
size=
"mini"
style=
"width:100px;"
@
click=
"checkAll(_index)"
>
{{menu.menuName}}
</el-button>
...
...
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