Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 62ef8a69
authored
Dec 24, 2021
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
56794448
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/role/index.vue
src/views/role/index.vue
View file @
62ef8a6
<
template
>
<
template
>
<div
class=
"role-home-page"
>
<div
class=
"role-home-page"
>
<div
class=
"top_widget"
>
<div
class=
"top_widget"
>
<
GLButton
size=
"small"
fn=
"创建角色"
icon=
"el-icon-plus"
type=
"primary"
display=
"disabled"
@
click=
"toCreatePage"
>
创建角色
</GLButton
>
<
!--
<GLButton
size=
"small"
fn=
"创建角色"
icon=
"el-icon-plus"
type=
"primary"
display=
"disabled"
@
click=
"toCreatePage"
>
创建角色
</GLButton>
--
>
<!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</el-button>
-->
<!--
<el-button
size=
"small"
icon=
"el-icon-plus"
type=
"primary"
@
click=
"toCreatePage"
>
创建角色
</el-button>
-->
</div>
</div>
<div
class=
"table_widget"
>
<div
class=
"table_widget"
>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<!--
<el-button
type=
"text"
@
click=
"toLookPage(scope.scope)"
>
查看
</el-button>
-->
<!--
<el-button
type=
"text"
@
click=
"toLookPage(scope.scope)"
>
查看
</el-button>
-->
<GLButton
type=
"text"
@
click=
"toLookPage(scope.scope)"
fn=
"查看"
>
查看
</GLButton>
<GLButton
type=
"text"
@
click=
"toLookPage(scope.scope)"
fn=
"查看"
>
查看
</GLButton>
<GLButton
v-if=
"
scope.scope.roleName != '超级管理员'
"
fn=
"修改"
type=
"text"
display=
"disabled"
@
click=
"toEditPage(scope.scope)"
>
修改
</GLButton>
<GLButton
v-if=
"
!scope.scope.defalutRole
"
fn=
"修改"
type=
"text"
display=
"disabled"
@
click=
"toEditPage(scope.scope)"
>
修改
</GLButton>
<!--
<el-button
v-if=
"scope.scope.roleName!='超级管理员'"
type=
"text"
@
click=
"toEditPage(scope.scope)"
>
修改
</el-button>
-->
<!--
<el-button
v-if=
"scope.scope.roleName!='超级管理员'"
type=
"text"
@
click=
"toEditPage(scope.scope)"
>
修改
</el-button>
-->
<el-button
v-if=
"scope.scope.delFlag"
type=
"text"
@
click=
"todelete(scope.scope)"
>
删除
</el-button>
<el-button
v-if=
"scope.scope.delFlag"
type=
"text"
@
click=
"todelete(scope.scope)"
>
删除
</el-button>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment