Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
Project
Project
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
qzhxx
national_museum_vod
Commits
d8f1f387
Commit
d8f1f387
authored
Mar 15, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放开权限按钮
parent
d8e8fd06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
roleManagePage.vue
src/page/end/roleManagePage.vue
+6
-6
userManagePage.vue
src/page/end/userManagePage.vue
+2
-2
No files found.
src/page/end/roleManagePage.vue
View file @
d8f1f387
...
@@ -48,10 +48,10 @@
...
@@ -48,10 +48,10 @@
<el-table-column
label=
"操作"
header-align=
"center"
align=
"center"
width=
"230"
>
<el-table-column
label=
"操作"
header-align=
"center"
align=
"center"
width=
"230"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button-group
>
<el-button-group
>
<el-button
title=
"编辑"
size=
"mini"
:disabled=
"scope.row.id == '1' || scope.row.id == '2'|| scope.row.id == '3'|| scope.row.id == '4'|| scope.row.id == '5'"
type=
"text"
@
click=
"openEdit(scope.row)"
>
编辑
|
</el-button>
<el-button
title=
"编辑"
size=
"mini"
type=
"text"
@
click=
"openEdit(scope.row)"
>
编辑
|
</el-button>
<el-button
title=
"权限分配"
:disabled=
"scope.row.id == '1' || scope.row.id == '2'|| scope.row.id == '3'|| scope.row.id == '4'|| scope.row.id == '5'"
type=
"text"
size=
"mini
"
@
click=
"allocate(scope.row)"
>
权限分配
|
</el-button>
<el-button
title=
"权限分配"
size=
"mini"
type=
"text
"
@
click=
"allocate(scope.row)"
>
权限分配
|
</el-button>
<el-button
title=
"菜单分配"
:disabled=
"scope.row.id == '1' || scope.row.id == '2'|| scope.row.id == '3'|| scope.row.id == '4'|| scope.row.id == '5'"
type=
"text"
size=
"mini"
@
click=
"munuAllocate(scope.row)"
>
菜单分配
|
</el-button>
<el-button
title=
"菜单分配"
type=
"text"
size=
"mini"
@
click=
"munuAllocate(scope.row)"
>
菜单分配
|
</el-button>
<el-button
title=
"删除"
:disabled=
"scope.row.id == '1' || scope.row.id == '2'|| scope.row.id == '3'|| scope.row.id == '4'|| scope.row.id == '5'"
type=
"text"
size=
"mini"
@
click=
"handleDelete(scope.row)"
>
删除
</el-button>
<el-button
title=
"删除"
type=
"text"
size=
"mini"
@
click=
"handleDelete(scope.row)"
>
删除
</el-button>
</el-button-group>
</el-button-group>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -66,9 +66,9 @@
...
@@ -66,9 +66,9 @@
</el-pagination>
</el-pagination>
</div>
</div>
<!--新建弹框-->
<!--新建弹框-->
<el-dialog
title=
"新建"
:visible
.
sync=
"FormVisible2"
:before-close=
"close2"
>
<el-dialog
title=
"新建"
:visible
.
sync=
"FormVisible2"
:before-close=
"close2"
>
<div
class=
"form_box"
>
<div
class=
"form_box"
>
<el-form
:model=
"roleform"
ref=
"roleform"
:rules=
"rules2"
>
<el-form
:model=
"roleform"
ref=
"roleform"
:rules=
"rules2"
>
<el-form-item
label=
"角色名称:"
prop=
"name"
:label-width=
"formLabelWidth"
>
<el-form-item
label=
"角色名称:"
prop=
"name"
:label-width=
"formLabelWidth"
>
<el-input
v-model=
"roleform.name"
size=
"small"
clearable
auto-complete=
"off"
placeholder=
"请输入您的角色名称"
<el-input
v-model=
"roleform.name"
size=
"small"
clearable
auto-complete=
"off"
placeholder=
"请输入您的角色名称"
onkeyup=
"this.value=this.value.replace(/^ +| +$/g,'')"
></el-input>
onkeyup=
"this.value=this.value.replace(/^ +| +$/g,'')"
></el-input>
...
...
src/page/end/userManagePage.vue
View file @
d8f1f387
...
@@ -46,8 +46,8 @@
...
@@ -46,8 +46,8 @@
<el-table-column
label=
"操作"
header-align=
"center"
align=
"center"
width=
"190"
>
<el-table-column
label=
"操作"
header-align=
"center"
align=
"center"
width=
"190"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button-group>
<el-button-group>
<el-button
title=
"编辑"
:disabled=
"scope.row.id == '1'"
size=
"mini"
type=
"text"
@
click=
"openEdit(scope.row)"
>
编辑
|
</el-button>
<el-button
title=
"编辑"
size=
"mini"
type=
"text"
@
click=
"openEdit(scope.row)"
>
编辑
|
</el-button>
<el-button
title=
"删除"
:disabled=
"scope.row.id == '1'"
type=
"text"
size=
"mini"
@
click=
"handleDelete(scope.row)"
>
删除
|
</el-button>
<el-button
title=
"删除"
size=
"mini"
type=
"text"
@
click=
"handleDelete(scope.row)"
>
删除
|
</el-button>
<el-button
title=
"密码重置"
type=
"text"
size=
"mini"
@
click=
"resetPassWord(scope.row)"
>
密码重置
</el-button>
<el-button
title=
"密码重置"
type=
"text"
size=
"mini"
@
click=
"resetPassWord(scope.row)"
>
密码重置
</el-button>
</el-button-group>
</el-button-group>
</
template
>
</
template
>
...
...
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