File tree Expand file tree Collapse file tree 3 files changed +5
-19
lines changed Expand file tree Collapse file tree 3 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 8
8
<el-tag >{{ formData.code }}</el-tag >
9
9
</el-form-item >
10
10
<el-form-item label =" 菜单权限" >
11
- <el-card class =" cardHeight " >
11
+ <el-card class =" w-full h-400px !overflow-y-scroll " shadow = " never " >
12
12
<template #header >
13
13
全选/全不选:
14
14
<el-switch
@@ -151,10 +151,3 @@ const handleCheckedTreeExpand = () => {
151
151
}
152
152
}
153
153
</script >
154
- <style lang="scss" scoped>
155
- .cardHeight {
156
- width : 100% ;
157
- max-height : 400px ;
158
- overflow-y : scroll ;
159
- }
160
- </style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <Dialog v-model =" dialogVisible" title =" 菜单权限 " width =" 800" >
2
+ <Dialog v-model =" dialogVisible" title =" 数据权限 " width =" 800" >
3
3
<el-form ref =" formRef" v-loading =" formLoading" :model =" formData" label-width =" 80px" >
4
4
<el-form-item label =" 角色名称" >
5
5
<el-tag >{{ formData.name }}</el-tag >
21
21
<el-form-item
22
22
v-if =" formData.dataScope === SystemDataScopeEnum.DEPT_CUSTOM"
23
23
label =" 权限范围"
24
- style = " display : flex "
24
+ label-width = " 80px "
25
25
>
26
- <el-card class =" card " shadow =" never" >
26
+ <el-card class =" w-full h-400px !overflow-y-scroll " shadow =" never" >
27
27
<template #header >
28
28
全选/全不选:
29
29
<el-switch
Original file line number Diff line number Diff line change 11
11
<el-input v-model =" formData.name" placeholder =" 请输入套餐名" />
12
12
</el-form-item >
13
13
<el-form-item label =" 菜单权限" >
14
- <el-card class =" cardHeight " >
14
+ <el-card class =" w-full h-400px !overflow-y-scroll " shadow = " never " >
15
15
<template #header >
16
16
全选/全不选:
17
17
<el-switch
@@ -185,10 +185,3 @@ const handleCheckedTreeExpand = () => {
185
185
}
186
186
}
187
187
</script >
188
- <style lang="scss" scoped>
189
- .cardHeight {
190
- width : 100% ;
191
- max-height : 400px ;
192
- overflow-y : scroll ;
193
- }
194
- </style >
You can’t perform that action at this time.
0 commit comments