Commit 9d22232a authored by Z's avatar Z

Merge branch 'master' of http://114.67.93.201/xulili/ybf

parents 6e4d9f16 44c70323
<template> <template>
<div class="mail"> <div class="mail">
<div class="left"> <div class="left">
<!-- <div class="left-c"> --> <div>
<div class="title">组织架构</div> <div class="title">组织架构</div>
<div class="bottom"> <div class="bottom">
<div class="ty"> <div class="ty">
...@@ -9,24 +9,12 @@ ...@@ -9,24 +9,12 @@
<span>全部</span> <span>全部</span>
<span class="number">(103)</span> <span class="number">(103)</span>
</div> </div>
<!-- <div>
<span><d2-icon-svg name="edit" class="icon"/></span>
<span style="margin-left:8px;"
><d2-icon-svg name="delete" class="icon"
/></span>
</div> -->
</div> </div>
<div class="ty" style="margin:15px 0;"> <div class="ty" style="margin:15px 0;">
<div> <div>
<span>未分组</span> <span>未分组</span>
<span class="number">(8)</span> <span class="number">(8)</span>
</div> </div>
<!-- <div>
<span><d2-icon-svg name="edit" class="icon"/></span>
<span style="margin-left:8px;"
><d2-icon-svg name="delete" class="icon"
/></span>
</div> -->
</div> </div>
<div class="tree"> <div class="tree">
<el-tree <el-tree
...@@ -53,12 +41,13 @@ ...@@ -53,12 +41,13 @@
</el-tree> </el-tree>
</div> </div>
</div> </div>
<div class="run"> </div>
<!-- <div class="run"> -->
<div class="end"> <div class="end">
<span class="add-l" @click="addCounter">添加柜组</span> <span class="add-l" @click="addCounter">添加柜组</span>
<span class="add-r" @click="addStore">添加门店/专柜</span> <span class="add-r" @click="addStore">添加门店/专柜</span>
</div> </div>
</div>
<!-- </div> --> <!-- </div> -->
</div> </div>
<div class="right"> <div class="right">
...@@ -72,10 +61,7 @@ ...@@ -72,10 +61,7 @@
@click="synchronismMember" @click="synchronismMember"
>同步成员</el-button >同步成员</el-button
> >
<el-button <el-button class="button buttondark" size="small" @click="handleMove"
class="button buttondark"
size="small"
@click="handleMove"
>移动</el-button >移动</el-button
> >
</div> </div>
...@@ -225,6 +211,48 @@ export default { ...@@ -225,6 +211,48 @@ export default {
} }
] ]
}, },
{
id: 9,
label: "一级 3",
children: [
{
id: 10,
label: "二级 3-1"
},
{
id: 11,
label: "二级 3-2"
}
]
},
{
id: 9,
label: "一级 3",
children: [
{
id: 10,
label: "二级 3-1"
},
{
id: 11,
label: "二级 3-2"
}
]
},
/* {
id: 9,
label: "一级 3",
children: [
{
id: 10,
label: "二级 3-1"
},
{
id: 11,
label: "二级 3-2"
}
]
},*/
{ {
id: 9, id: 9,
label: "一级 3", label: "一级 3",
...@@ -395,6 +423,10 @@ export default { ...@@ -395,6 +423,10 @@ export default {
</script> </script>
<style scoped> <style scoped>
.tree {
/* height: 100%;
overflow: auto; */
}
.mail { .mail {
display: flex; display: flex;
width: 100%; width: 100%;
...@@ -411,7 +443,6 @@ export default { ...@@ -411,7 +443,6 @@ export default {
} }
.end { .end {
position: absolute;
display: flex; display: flex;
align-items: center; align-items: center;
border: 1px solid rgba(78, 89, 199, 1); border: 1px solid rgba(78, 89, 199, 1);
...@@ -449,7 +480,8 @@ export default { ...@@ -449,7 +480,8 @@ export default {
} }
.bottom { .bottom {
padding: 12px; padding: 12px;
margin-bottom: 194px; margin-bottom: 20px;
/* margin-bottom: 194px; */
} }
.title { .title {
height: 48px; height: 48px;
...@@ -469,13 +501,14 @@ export default { ...@@ -469,13 +501,14 @@ export default {
position: relative; position: relative;
width: 20%; width: 20%;
overflow: auto; overflow: auto;
flex-direction: column;
justify-content: space-between;
} }
.right { .right {
position: relative; position: relative;
padding: 10px; padding: 10px;
margin-left: 10px; margin-left: 10px;
width: 79%; width: 79%;
/*width: 80%;*/
} }
.left, .left,
.right { .right {
...@@ -483,11 +516,11 @@ export default { ...@@ -483,11 +516,11 @@ export default {
flex-direction: column; flex-direction: column;
background-color: #fff; background-color: #fff;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
} }
.right-c, .left-c { .right-c,
.left-c {
width: 100%; width: 100%;
} }
.number { .number {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment