|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="home">
|
|
<div class="home">
|
|
<div class="grand flex">
|
|
<div class="grand flex">
|
|
- <div class="left-laowang" style="flex: 0 0 180px;">
|
|
|
|
|
|
+ <div class="left-laowang" style="flex: 0 0 180px;overflow: hidden;">
|
|
<el-col :span="24" class="left" :style="'height:'+ (tableHeight + 113) + 'px;'">
|
|
<el-col :span="24" class="left" :style="'height:'+ (tableHeight + 113) + 'px;'">
|
|
<div class="department">
|
|
<div class="department">
|
|
<span><i class="iconfont firerock-iconzuzhijiegou" style="font-size:10px;" ></i> 部门</span>
|
|
<span><i class="iconfont firerock-iconzuzhijiegou" style="font-size:10px;" ></i> 部门</span>
|
|
@@ -14,7 +14,7 @@
|
|
<div class="tree" :style="'height:'+ (tableHeight + 83) + 'px'">
|
|
<div class="tree" :style="'height:'+ (tableHeight + 83) + 'px'">
|
|
<!-- <el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick" accordion></el-tree> -->
|
|
<!-- <el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick" accordion></el-tree> -->
|
|
<el-tree :data="data" :props="defaultProps" :expand-on-click-node="false" accordion @node-click="handleNodeClick" :default-expanded-keys="jDarr" @node-expand="jieDian" @node-collapse="shutDown" @current-change="chufa">
|
|
<el-tree :data="data" :props="defaultProps" :expand-on-click-node="false" accordion @node-click="handleNodeClick" :default-expanded-keys="jDarr" @node-expand="jieDian" @node-collapse="shutDown" @current-change="chufa">
|
|
- <span class="custom-tree-node" style="position: relative;box-sizing: border-box;width: 10%" slot-scope="{ node }" @mouseleave= mouseleave(data,$event) @mouseover= mouseover(data,$event)>
|
|
|
|
|
|
+ <span class="custom-tree-node" style="position: relative;box-sizing: border-box;width: 10%;max-width: 140px" slot-scope="{ node }" @mouseleave= mouseleave(data,$event) @mouseover= mouseover(data,$event)>
|
|
|
|
|
|
<span style="padding-right: 50px;box-sizing: border-box;overflow:hidden;text-overflow:ellipsis;line-height: 36px; display: inline-block;">{{ node.label }}</span>
|
|
<span style="padding-right: 50px;box-sizing: border-box;overflow:hidden;text-overflow:ellipsis;line-height: 36px; display: inline-block;">{{ node.label }}</span>
|
|
|
|
|
|
@@ -615,7 +615,7 @@ export default {
|
|
},
|
|
},
|
|
otherInfo: {
|
|
otherInfo: {
|
|
// 限制左边栏最低宽度
|
|
// 限制左边栏最低宽度
|
|
- leftWidth: 100,
|
|
|
|
|
|
+ leftWidth: 120,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -632,7 +632,7 @@ export default {
|
|
},
|
|
},
|
|
otherInfo: {
|
|
otherInfo: {
|
|
// 限制左边栏最低宽度
|
|
// 限制左边栏最低宽度
|
|
- leftWidth: 100,
|
|
|
|
|
|
+ leftWidth: 120,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
]);
|
|
]);
|