Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
6cd826d5
authored
Aug 23, 2024
by
芋道源码
Committed by
Gitee
Aug 23, 2024
Browse files
Options
Browse Files
Download
Plain Diff
!509 【优化】优化权限选择框
Merge pull request !509 from 半栈幼儿员/hotfix/permission-form
parents
c820b5a5
98a95e6e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
19 deletions
+5
-19
src/views/system/role/RoleAssignMenuForm.vue
+1
-8
src/views/system/role/RoleDataPermissionForm.vue
+3
-3
src/views/system/tenantPackage/TenantPackageForm.vue
+1
-8
No files found.
src/views/system/role/RoleAssignMenuForm.vue
View file @
6cd826d5
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<el-tag>
{{
formData
.
code
}}
</el-tag>
<el-tag>
{{
formData
.
code
}}
</el-tag>
</el-form-item>
</el-form-item>
<el-form-item
label=
"菜单权限"
>
<el-form-item
label=
"菜单权限"
>
<el-card
class=
"
cardHeight
"
>
<el-card
class=
"
w-full h-400px !overflow-y-scroll"
shadow=
"never
"
>
<template
#
header
>
<template
#
header
>
全选/全不选:
全选/全不选:
<el-switch
<el-switch
...
@@ -151,10 +151,3 @@ const handleCheckedTreeExpand = () => {
...
@@ -151,10 +151,3 @@ const handleCheckedTreeExpand = () => {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.cardHeight
{
width
:
100%
;
max-height
:
400px
;
overflow-y
:
scroll
;
}
</
style
>
src/views/system/role/RoleDataPermissionForm.vue
View file @
6cd826d5
<
template
>
<
template
>
<Dialog
v-model=
"dialogVisible"
title=
"
菜单
权限"
width=
"800"
>
<Dialog
v-model=
"dialogVisible"
title=
"
数据
权限"
width=
"800"
>
<el-form
ref=
"formRef"
v-loading=
"formLoading"
:model=
"formData"
label-width=
"80px"
>
<el-form
ref=
"formRef"
v-loading=
"formLoading"
:model=
"formData"
label-width=
"80px"
>
<el-form-item
label=
"角色名称"
>
<el-form-item
label=
"角色名称"
>
<el-tag>
{{
formData
.
name
}}
</el-tag>
<el-tag>
{{
formData
.
name
}}
</el-tag>
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
<el-form-item
<el-form-item
v-if=
"formData.dataScope === SystemDataScopeEnum.DEPT_CUSTOM"
v-if=
"formData.dataScope === SystemDataScopeEnum.DEPT_CUSTOM"
label=
"权限范围"
label=
"权限范围"
style=
"display: fle
x"
label-width=
"80p
x"
>
>
<el-card
class=
"
card
"
shadow=
"never"
>
<el-card
class=
"
w-full h-400px !overflow-y-scroll
"
shadow=
"never"
>
<template
#
header
>
<template
#
header
>
全选/全不选:
全选/全不选:
<el-switch
<el-switch
...
...
src/views/system/tenantPackage/TenantPackageForm.vue
View file @
6cd826d5
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<el-input
v-model=
"formData.name"
placeholder=
"请输入套餐名"
/>
<el-input
v-model=
"formData.name"
placeholder=
"请输入套餐名"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"菜单权限"
>
<el-form-item
label=
"菜单权限"
>
<el-card
class=
"
cardHeight
"
>
<el-card
class=
"
w-full h-400px !overflow-y-scroll"
shadow=
"never
"
>
<template
#
header
>
<template
#
header
>
全选/全不选:
全选/全不选:
<el-switch
<el-switch
...
@@ -185,10 +185,3 @@ const handleCheckedTreeExpand = () => {
...
@@ -185,10 +185,3 @@ const handleCheckedTreeExpand = () => {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.cardHeight
{
width
:
100%
;
max-height
:
400px
;
overflow-y
:
scroll
;
}
</
style
>
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