Commit 9af3eda8 authored by xd's avatar xd

样式调整前保存

parent 7b0f5b1d
<template> <template>
<div> <div style="width:100%;">
<div class="left"> <div class="left">
<div class="left-c">
<div class="title">组织架构</div> <div class="title">组织架构</div>
<div class="bottom"> <div class="bottom">
<div class="ty"> <div class="ty">
...@@ -27,19 +28,21 @@ ...@@ -27,19 +28,21 @@
/></span> /></span>
</div> --> </div> -->
</div> </div>
<div class="tree">
<el-tree <el-tree
:data="data1" :data="data1"
show-checkbox show-checkbox
node-key="id" node-key="id"
default-expand-all
:expand-on-click-node="false" :expand-on-click-node="false"
class="tree"
> >
<span class="custom-tree-node" slot-scope="{ node, data }"> <span class="custom-tree-node" slot-scope="{ node, data }">
<span>{{ node.label }}</span> <span>{{ node.label }}</span>
<span style="margin-left:20px;"> <span style="margin-left:20px;">
<d2-icon-svg name="edit" class="icon" @click="() => edit(data)" /> <d2-icon-svg
name="edit"
class="icon"
@click="() => edit(data)"
/>
<d2-icon-svg <d2-icon-svg
name="delete" name="delete"
class="icon" class="icon"
...@@ -49,19 +52,32 @@ ...@@ -49,19 +52,32 @@
</span> </span>
</el-tree> </el-tree>
</div> </div>
</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 class="right"> <div class="right">
<div class="right-c">
<div class="top">三号柜组(共18人)</div> <div class="top">三号柜组(共18人)</div>
<div class="searchs"> <div class="searchs">
<div class="buttons"> <div class="buttons">
<el-button class="button buttonlight" size="small" @click="synchronismMember" <el-button
class="button buttonlight"
size="small"
@click="synchronismMember"
>同步成员</el-button >同步成员</el-button
> >
<el-button class="button buttondark" size="small" @click="handleMove">移动</el-button> <el-button
class="button buttondark"
size="small"
@click="handleMove"
>移动</el-button
>
</div> </div>
<!-- 搜索区 --> <!-- 搜索区 -->
<el-form <el-form
...@@ -100,7 +116,7 @@ ...@@ -100,7 +116,7 @@
prop="id" prop="id"
label="企业微信ID" label="企业微信ID"
align="center" align="center"
width = "120" width="120"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="taskType" prop="taskType"
...@@ -139,6 +155,7 @@ ...@@ -139,6 +155,7 @@
> >
</el-pagination> </el-pagination>
</div> </div>
</div>
<move-dialog <move-dialog
v-if="moveDialogShow" v-if="moveDialogShow"
:moveDialog="moveDialogShow" :moveDialog="moveDialogShow"
...@@ -153,7 +170,7 @@ ...@@ -153,7 +170,7 @@
<script> <script>
import MoveDialog from "./components/move"; import MoveDialog from "./components/move";
import AddCounter from "./components/addCounter"; import AddCounter from "./components/addCounter";
import AddStore from './components/addStore' import AddStore from "./components/addStore";
export default { export default {
data() { data() {
const data1 = [ const data1 = [
...@@ -365,18 +382,20 @@ export default { ...@@ -365,18 +382,20 @@ export default {
}, },
currentPage() {}, currentPage() {},
addCounter() { addCounter() {
this.$refs.addCounter.counterDialog= true this.$refs.addCounter.counterDialog = true;
}, },
addStore() { addStore() {
this.$refs.addStore.addStoreDialog = true this.$refs.addStore.addStoreDialog = true;
} }
} }
}; };
</script> </script>
<style scoped> <style scoped>
.tree { .run {
height: 34px;
width: 100%;
position: relative;
} }
.top { .top {
padding-bottom: 10px; padding-bottom: 10px;
...@@ -393,7 +412,7 @@ export default { ...@@ -393,7 +412,7 @@ export default {
border: 1px solid rgba(78, 89, 199, 1); border: 1px solid rgba(78, 89, 199, 1);
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
bottom: 0;
} }
.add-l, .add-l,
.add-r { .add-r {
...@@ -425,7 +444,7 @@ export default { ...@@ -425,7 +444,7 @@ export default {
} }
.bottom { .bottom {
padding: 12px; padding: 12px;
margin-bottom: 50px; margin-bottom: 194px;
} }
.title { .title {
height: 48px; height: 48px;
...@@ -446,7 +465,6 @@ export default { ...@@ -446,7 +465,6 @@ export default {
.right { .right {
display: inline-block; display: inline-block;
background-color: #fff; background-color: #fff;
/* height: 518px; */
height: 100%; height: 100%;
overflow: auto; overflow: auto;
box-sizing: border-box; box-sizing: border-box;
...@@ -457,6 +475,9 @@ export default { ...@@ -457,6 +475,9 @@ export default {
margin-left: 10px; margin-left: 10px;
width: 79%; width: 79%;
} }
.right-c, .left-c {
width: 100%;
}
.number { .number {
font-size: 14px; font-size: 14px;
margin-top: 2px; margin-top: 2px;
...@@ -488,9 +509,7 @@ export default { ...@@ -488,9 +509,7 @@ export default {
width: 100%; width: 100%;
margin-top: 20px; margin-top: 20px;
} }
.list {
/* // border: 1px solid red; */
}
.listButtonRed { .listButtonRed {
/* // border: 2px solid green; */ /* // border: 2px solid green; */
color: red; color: red;
......
...@@ -272,8 +272,6 @@ export default { ...@@ -272,8 +272,6 @@ export default {
border: 1px solid #4e59c7; border: 1px solid #4e59c7;
box-sizing: border-box; box-sizing: border-box;
} }
.buttonlight:hover {
}
.buttondark { .buttondark {
width: 88px; width: 88px;
height: 32px; height: 32px;
...@@ -282,8 +280,6 @@ export default { ...@@ -282,8 +280,6 @@ export default {
border: 1px solid #4e59c7; border: 1px solid #4e59c7;
box-sizing: border-box; box-sizing: border-box;
} }
.buttondark:hover {
}
.searchzone { .searchzone {
height: 40px; height: 40px;
width: auto; width: auto;
......
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