|
@@ -49,11 +49,13 @@
|
|
|
:columns="activeColumns"
|
|
|
>
|
|
|
<template #toolLeft>
|
|
|
- <el-button plain :icon="Plus" type="primary" @click="addHandler">新增</el-button>
|
|
|
- <el-button plain :icon="Delete" :disabled="curSelectionRows.length === 0" type="danger" @click="batch_del">删除</el-button>
|
|
|
- <el-button plain :icon="User" :disabled="curSelectionRows.length === 0" @click="chooseThing('role')">分配角色</el-button>
|
|
|
- <el-button plain :icon="Connection" :disabled="curSelectionRows.length === 0" @click="chooseThing('department')">分配部门</el-button>
|
|
|
- <el-button plain :icon="Key" :disabled="curSelectionRows.length === 0" @click="resetPwdVisibile = true">密码重置</el-button>
|
|
|
+ <div class="btn-actions-flex-gap">
|
|
|
+ <el-button plain :icon="Plus" type="primary" @click="addHandler">新增</el-button>
|
|
|
+ <el-button plain :icon="Delete" :disabled="curSelectionRows.length === 0" type="danger" @click="batch_del">删除</el-button>
|
|
|
+ <el-button plain :icon="User" :disabled="curSelectionRows.length === 0" @click="chooseThing('role')">分配角色</el-button>
|
|
|
+ <el-button plain :icon="Connection" :disabled="curSelectionRows.length === 0" @click="chooseThing('department')">分配部门</el-button>
|
|
|
+ <el-button plain :icon="Key" :disabled="curSelectionRows.length === 0" @click="resetPwdVisibile = true">密码重置</el-button>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<template #filterAvatarSlot="scope">
|
|
@@ -541,6 +543,15 @@ watch(groupFilterText, val => {
|
|
|
.content-warp {
|
|
|
// 300 + 28
|
|
|
width: calc(100% - 328px);
|
|
|
+ /*.actions {
|
|
|
+ //margin-top: 10px;
|
|
|
+ .el-button {
|
|
|
+ //:deep(.el-button) {
|
|
|
+ & + .el-button {
|
|
|
+ margin-left: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }*/
|
|
|
}
|
|
|
.aside-wrap--collapsed {
|
|
|
margin-left: -10px;
|
|
@@ -548,4 +559,36 @@ watch(groupFilterText, val => {
|
|
|
width: 0;
|
|
|
}
|
|
|
}
|
|
|
+@media (max-width: 750px) {
|
|
|
+ .pageWrap {
|
|
|
+ flex-direction: column;
|
|
|
+ overflow-y: auto;
|
|
|
+ :deep(.aside-wrap) {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ margin-right: 0;
|
|
|
+ //height: 50%;
|
|
|
+ .menu-card {
|
|
|
+ .el-card__body {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .trigger-bar {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .content-warp {
|
|
|
+ width: 100%;
|
|
|
+ min-height: 130%;
|
|
|
+ /*:deep(.le-table-warp) {
|
|
|
+ .tableBody {
|
|
|
+ min-height: 500px;
|
|
|
+ }
|
|
|
+ !*.tableParentEl {
|
|
|
+ min-height: 300px;
|
|
|
+ }*!
|
|
|
+ }*/
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|