Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
0a516e30
Commit
0a516e30
authored
Jul 25, 2021
by
RuoYi
Browse files
更多操作按钮添加权限控制
parent
bb87f357
Changes
3
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/views/monitor/job/index.vue
View file @
0a516e30
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['monitor:job:remove']"
v-hasPermi=
"['monitor:job:remove']"
>
删除
</el-button>
>
删除
</el-button>
<el-dropdown
size=
"mini"
@
command=
"(command) => handleCommand(command, scope.row)"
>
<el-dropdown
size=
"mini"
@
command=
"(command) => handleCommand(command, scope.row)"
v-hasPermi=
"['monitor:job:changeStatus', 'monitor:job:query']"
>
<span
class=
"el-dropdown-link"
>
<span
class=
"el-dropdown-link"
>
<i
class=
"el-icon-d-arrow-right el-icon--right"
></i>
更多
<i
class=
"el-icon-d-arrow-right el-icon--right"
></i>
更多
</span>
</span>
...
...
ruoyi-ui/src/views/system/role/index.vue
View file @
0a516e30
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['system:role:remove']"
v-hasPermi=
"['system:role:remove']"
>
删除
</el-button>
>
删除
</el-button>
<el-dropdown
size=
"mini"
@
command=
"(command) => handleCommand(command, scope.row)"
>
<el-dropdown
size=
"mini"
@
command=
"(command) => handleCommand(command, scope.row)"
v-hasPermi=
"['system:role:edit']"
>
<span
class=
"el-dropdown-link"
>
<span
class=
"el-dropdown-link"
>
<i
class=
"el-icon-d-arrow-right el-icon--right"
></i>
更多
<i
class=
"el-icon-d-arrow-right el-icon--right"
></i>
更多
</span>
</span>
...
...
ruoyi-ui/src/views/system/user/index.vue
View file @
0a516e30
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['system:user:remove']"
v-hasPermi=
"['system:user:remove']"
>
删除
</el-button>
>
删除
</el-button>
<el-dropdown
size=
"mini"
@
command=
"(command) => handleCommand(command, scope.row)"
>
<el-dropdown
size=
"mini"
@
command=
"(command) => handleCommand(command, scope.row)"
v-hasPermi=
"['system:user:resetPwd', 'system:user:edit']"
>
<span
class=
"el-dropdown-link"
>
<span
class=
"el-dropdown-link"
>
<i
class=
"el-icon-d-arrow-right el-icon--right"
></i>
更多
<i
class=
"el-icon-d-arrow-right el-icon--right"
></i>
更多
</span>
</span>
...
...
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