<template>
|
<div class="page-container page-safety-dispatch-report colorfff">
|
<div class="content">
|
|
</div>
|
</div>
|
</template>
|
|
<script>
|
export default {
|
name: "dispatchAccidentReport",
|
data() {
|
return {
|
data: [],
|
defaultProps: {
|
children: "children",
|
label: "label",
|
},
|
};
|
},
|
methods: {
|
goBack() {
|
this.$router.go(-1);
|
},
|
},
|
};
|
</script>
|
|
<style lang="less" scoped>
|
@import url("../../assets/css/common.css");
|
@orange: #1cd1d3;
|
@blue: #3e89d3;
|
.pointer {
|
cursor: pointer;
|
}
|
.page-container {
|
padding: 0 30px;
|
padding-top: 80px;
|
.nav {
|
display: flex;
|
font-size: 14px;
|
width: 100%;
|
height: 20px;
|
align-items: center;
|
.nav-icon {
|
width: 18px;
|
margin-left: 11px;
|
flex-shrink: 0;
|
margin-right: 11px;
|
}
|
.nav-content {
|
flex: 1;
|
}
|
}
|
.content {
|
.dialog {
|
width: 690px;
|
height: 768px;
|
opacity: 1;
|
background: linear-gradient(180deg, #06203f, #08141c);
|
border: 2px solid #2a488a;
|
margin: auto;
|
position: relative;
|
.title {
|
.title-icon {
|
margin: 17px 20px;
|
margin-right: 8px;
|
width: 20px;
|
}
|
}
|
.icon-close {
|
position: absolute;
|
top: 0;
|
right: -3px;
|
width: 42px;
|
cursor: pointer;
|
}
|
|
.tree-wrap {
|
margin: 62px 92px;
|
margin-bottom: 0;
|
/deep/.el-icon-caret-right:before {
|
content: "" !important;
|
}
|
}
|
|
.action-bar {
|
position: absolute;
|
width: 100%;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
color: #fff;
|
font-size: 14px;
|
margin-top: 113px;
|
bottom: 60px;
|
.action-item:first-child {
|
margin-right: 96px;
|
}
|
.action-item {
|
padding: 8px 30px;
|
border-left: 2px solid;
|
border-right: 2px solid;
|
opacity: 0.8;
|
}
|
.orange {
|
border-color: @orange;
|
background-color: rgba(28, 209, 211, 0.1);
|
}
|
.blue {
|
border-color: @blue;
|
background-color: rgba(62, 137, 211, 0.1);
|
}
|
}
|
}
|
}
|
}
|
</style>
|
<style lang="less">
|
.page-safety-dispatch-report {
|
.tree-wrap {
|
.el-tree {
|
background: none !important;
|
color: #fff;
|
}
|
.el-tree > .el-tree-node:after {
|
border-top: none;
|
}
|
.el-tree-node {
|
position: relative;
|
padding-left: 16px;
|
}
|
//节点有间隙,隐藏掉展开按钮就好了,如果觉得空隙没事可以删掉
|
.el-tree-node__expand-icon.is-leaf {
|
display: none;
|
}
|
.el-tree-node__children {
|
padding-left: 10px;
|
}
|
|
.el-tree-node :last-child:before {
|
height: 38px;
|
}
|
|
.el-tree > .el-tree-node:before {
|
border-left: none;
|
}
|
|
.el-tree > .el-tree-node:after {
|
border-top: none;
|
}
|
|
.el-tree-node:before {
|
content: "";
|
left: -4px;
|
position: absolute;
|
right: auto;
|
border-width: 1px;
|
}
|
|
.el-tree-node:after {
|
content: "";
|
left: -4px;
|
position: absolute;
|
right: auto;
|
border-width: 1px;
|
}
|
|
.el-tree-node:before {
|
border-left: 1px dashed #4386c6;
|
bottom: 0px;
|
height: 100%;
|
top: -26px;
|
width: 1px;
|
}
|
|
.el-tree-node:after {
|
border-top: 1px dashed #4386c6;
|
height: 20px;
|
top: 12px;
|
width: 24px;
|
}
|
.el-tree-node__content > .el-tree-node__expand-icon {
|
padding: 0px;
|
}
|
.el-tree-node__content:hover{
|
background: none!important;
|
}
|
.el-tree-node.is-focusable .el-tree-node__content, .el-tree-node.is-current .el-tree-node__content{
|
background: none!important;
|
}
|
.el-tree-node.is-focusable{
|
padding-left: 20px!important;
|
}
|
}
|
}
|
</style>
|