style
This commit is contained in:
parent
0a22e9e56f
commit
910a690507
@ -66,6 +66,7 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="角色权限" prop="permissions">
|
<el-form-item label="角色权限" prop="permissions">
|
||||||
|
<div class="h-40 overflow-auto w-full border border-gray-300 rounded pt-2 pl-2">
|
||||||
<el-tree
|
<el-tree
|
||||||
ref="permissionTree"
|
ref="permissionTree"
|
||||||
v-model="formData.permissions"
|
v-model="formData.permissions"
|
||||||
@ -74,10 +75,11 @@
|
|||||||
class="w-full"
|
class="w-full"
|
||||||
:props="{ label: 'permission_name', value: 'id' }"
|
:props="{ label: 'permission_name', value: 'id' }"
|
||||||
show-checkbox
|
show-checkbox
|
||||||
:default-expand-all="false"
|
:default-expand-all="true"
|
||||||
@check="selectPermissions"
|
@check="selectPermissions"
|
||||||
:empty-text="permissionLoadingText"
|
:empty-text="permissionLoadingText"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<div class="flex justify-end">
|
<div class="flex justify-end">
|
||||||
<el-button type="primary" @click="submitForm(form)">{{ $t('system.confirm') }}</el-button>
|
<el-button type="primary" @click="submitForm(form)">{{ $t('system.confirm') }}</el-button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user