| | |
| | | <div class="menuSettings_box"> |
| | | <!-- 角色,单位 --> |
| | | <div class="menuSettings_tree"> |
| | | <div class="content_box subpage_Div"> |
| | | <div class="content_box subpage_Div content-border"> |
| | | <My-bread :list="[ |
| | | `${$t('operatManage.operatManage')}`, |
| | | `${$t('operatManage.RoleMenuAuthorization')}`, |
| | |
| | | ref="form" |
| | | :model="selFrom" |
| | | > |
| | | <el-form-item label="单位"> |
| | | <el-form-item :label="$t('userManage.roleMenuAuth.name')"> |
| | | <el-select |
| | | :popper-append-to-body="false" |
| | | ref="multiSelect" |
| | | style="width: 300px;" |
| | | v-model="selFrom.name" |
| | | placeholder="请选择单位名称..." |
| | | size="small" |
| | | :placeholder="$t('userManage.roleMenuAuth.nameHolder')" |
| | | @change="chooseCustom('multiSelect')" |
| | | > |
| | | <el-option |
| | |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | border |
| | | @row-click="singleElection" |
| | | highlight-current-row |
| | | height="calc(100% - 135px)" |
| | | > |
| | | <el-table-column |
| | | align="center" |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <div class="content_box subpage_Div"> |
| | | <div class="content_box subpage_Div content-border"> |
| | | <div style=" |
| | | font-size: 14px; |
| | | color: #216fe6; |
| | |
| | | </el-tree> |
| | | |
| | | </div> |
| | | <div class="content_box subpage_Div"> |
| | | <div class="content_box subpage_Div content-border"> |
| | | <div style=" |
| | | font-size: 14px; |
| | | color: #216fe6; |
| | | line-height: 1; |
| | | cursor: text; |
| | | position: relative; |
| | | top: 5px; |
| | | top: 0px; |
| | | margin-left: 10px; |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | > |
| | | <el-button |
| | | v-if="menuStatus.insert" |
| | | type="primary" |
| | | type="success" |
| | | icon="el-icon-circle-plus-outline" |
| | | size="small" |
| | | @click="adduser" |
| | |
| | | <el-divider class="divider" /> |
| | | <el-table |
| | | :data="menuTableData" |
| | | stripe |
| | | border |
| | | style="width: 100%" |
| | | height="78%" |
| | | height="calc(100% - 85px)" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column |
| | |
| | | </el-table> |
| | | |
| | | <div |
| | | style="margin-top: 20px; text-align: center" |
| | | style="margin-top: 10px; text-align: center" |
| | | class="pagination_box" |
| | | > |
| | | <el-pagination |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .menuSettings_box { |
| | | height: 98%; |
| | | //height: 98%; |
| | | |
| | | height: calc(100% - 20px); |
| | | width: 98%; |
| | | padding: 1%; |
| | | padding: 10px 0.5%; |
| | | |
| | | .menuSettings_tree { |
| | | display: flex; |
| | |
| | | .content_box { |
| | | padding: 10px; |
| | | width: 30%; |
| | | height: 94%; |
| | | height: calc(100% - 20px); |
| | | //height: 94%; |
| | | overflow-y: auto; |
| | | overflow-x: hidden; |
| | | border-radius: 5px; |
| | |
| | | margin-top: 8px; |
| | | } |
| | | } |
| | | .el-table, |
| | | .el-table /deep/ .el-table__expanded-cell { |
| | | background-color: transparent !important; |
| | | } |
| | | .el-table /deep/ th, |
| | | .el-table /deep/ tr { |
| | | background-color: transparent !important; |
| | | } |
| | | </style> |
| | | |