| | |
| | | <el-table |
| | | :data="tableData" |
| | | style="width: 100%" |
| | | height="84%" |
| | | height="77%" |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55"> </el-table-column> |
| | |
| | | <script> |
| | | import MyBread from '../../components/MyBread.vue'; |
| | | import { |
| | | selectMenuRecursive, |
| | | selectMenuRecursives, |
| | | select_menuAuth_ByPageAndCount, |
| | | menuAuthDeletes, |
| | | select_AuthMenu_ByPageAndCount, |
| | |
| | | // 部门请求 |
| | | async getMenuTree() { |
| | | //获取目录树最大ID,新建节点使用 |
| | | const data = await selectMenuRecursive({ name: menuStartName }); |
| | | const data = await selectMenuRecursives({ name: menuStartName }); |
| | | if (data.code !== 200) { |
| | | return this.$message.error('请求单位报错'); |
| | | } |
| | |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .menuSettings_box { |
| | | width: 97%; |
| | | height: 81%; |
| | | |
| | | height: 98%; |
| | | width: 98%; |
| | | padding: 1%; |
| | | position: absolute; |
| | | .menuTreeBox { |
| | | width: 100%; |
| | | height: 91%; |
| | | position: relative; |
| | | |
| | | .left_tree { |
| | | width: 30%; |
| | | height: 94%; |
| | | padding: 20px; |
| | | height: 92%; |
| | | padding: 10px; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | border-radius: 5px; |
| | | float: left; |
| | |
| | | } |
| | | } |
| | | .right_menu { |
| | | width: 63%; |
| | | height: 94%; |
| | | padding: 20px; |
| | | width: 65%; |
| | | height: 92%; |
| | | padding: 10px; |
| | | border: 1px solid rgb(202, 201, 204); |
| | | border-radius: 5px; |
| | | float: right; |