.risk-box {
|
display: flex;
|
position: absolute;
|
z-index: 101;
|
width: 100%;
|
height: 100%;
|
box-sizing: border-box;
|
color: #fff;
|
|
&>div {
|
height: 100%;
|
|
.risk-menu {
|
display: flex;
|
margin: 0;
|
padding: 0;
|
width: 100%;
|
height: 100%;
|
|
background: #2678c5;
|
box-sizing: border-box;
|
|
li {
|
width: 60px;
|
flex: 1;
|
text-align: center;
|
cursor: pointer;
|
display: flex;
|
|
justify-content: center;
|
align-items: center;
|
|
|
|
img {
|
margin-right: 20px;
|
width: 20px;
|
height: 20px;
|
}
|
}
|
|
li.on {
|
background: #4444ff;
|
}
|
}
|
}
|
|
&>div:nth-child(1) {
|
position: absolute;
|
top: 0;
|
left: 0px;
|
width: 100%;
|
height: 40px;
|
line-height: 40px;
|
}
|
|
&>div:nth-child(2) {
|
width: 100%;
|
position: absolute;
|
left: 0px;
|
top: 40px;
|
height: calc(100% - 40px);
|
background: #414157;
|
}
|
|
.risk-content {
|
height: 100%;
|
|
&>div:nth-child(1) {
|
height: 40%;
|
}
|
|
&>div:nth-child(2) {
|
height: 60%;
|
}
|
|
.risk-text {
|
.el-date-editor {
|
margin: 0 5px;
|
}
|
}
|
|
.risk-table {
|
.el-date-editor {
|
margin: 0 5px;
|
width: calc(100% - 134px)
|
}
|
}
|
|
div.header {
|
display: flex;
|
background: #14395D;
|
align-items: center;
|
height: 36px;
|
|
|
|
.el-button {
|
margin: 0 5px !important;
|
}
|
|
.search {
|
margin: 0 !important;
|
}
|
|
}
|
|
div.content {
|
position: relative;
|
height: calc(100% - 36px);
|
|
p {
|
position: absolute;
|
top: 0;
|
left: 0;
|
padding: 5px;
|
margin: 0;
|
height: 100%;
|
word-wrap: break-word;
|
box-sizing: border-box;
|
overflow-y: auto;
|
|
|
scrollbar-width: thin;
|
font-size: 16px;
|
line-height: 24px;
|
letter-spacing: 1.2px;
|
word-break: break-all;
|
|
span {
|
color: red;
|
|
i {
|
font-style: normal;
|
color: #fff;
|
}
|
|
strong {
|
font-weight: normal;
|
cursor: pointer;
|
}
|
}
|
|
span[ii="0"],
|
span[ii="1"],
|
span[ii="2"],
|
span[ii="3"],
|
span[ii="4"] {
|
cursor: pointer;
|
}
|
|
.text-tab {
|
color: red;
|
cursor: pointer;
|
font-weight: normal;
|
}
|
|
.text-tab:hover {
|
border-bottom: 1px solid red;
|
}
|
}
|
}
|
|
.risk-early {
|
.header {
|
padding: 0 5px;
|
}
|
|
p {
|
visibility: hidden;
|
}
|
}
|
|
.risk-table {
|
.content {
|
|
&>div {
|
position: absolute;
|
top: 6px;
|
left: 6px;
|
width: calc(100% - 12px);
|
height: calc(100% - 12px);
|
|
&>div {
|
visibility: hidden;
|
position: absolute;
|
top: 0px;
|
left: 0px;
|
width: 100%;
|
height: 100%;
|
}
|
}
|
|
|
|
.el-table {
|
height: calc(100%);
|
background-color: rgba(255, 255, 255, 0);
|
|
.el-table__header-wrapper {
|
th {
|
color: #fff;
|
background: #4084c5;
|
}
|
}
|
|
.el-table__body-wrapper {
|
height: calc(100% - 36px);
|
overflow-y: auto;
|
|
|
scrollbar-width: thin;
|
|
tr {
|
color: #fff;
|
background: rgba(0, 0, 0, 0);
|
cursor: pointer;
|
}
|
|
.el-table__body td {
|
position: relative;
|
background-color: rgba(0, 0, 0, 0) !important;
|
|
.cell {
|
span {
|
display: inline-block;
|
width: 100%;
|
height: 100%;
|
text-align: center;
|
}
|
}
|
|
}
|
|
.el-table__body tr:hover>td {
|
background-color: rgba(0, 0, 0, 0) !important;
|
}
|
}
|
}
|
}
|
|
}
|
|
}
|
|
.risk-child-item {
|
position: fixed;
|
top: 54%;
|
right: 10px;
|
height: auto;
|
z-index: 444;
|
background: #fff;
|
color: #677788;
|
border-radius: 10px;
|
overflow: hidden;
|
cursor: pointer;
|
box-shadow: 0px 0px 4px 1px #ccc;
|
|
ul {
|
li {
|
line-height: 36px;
|
|
div:nth-child(1) {
|
padding: 0 20px;
|
}
|
|
div:nth-child(1).on {
|
color: #fff;
|
background: #1890FF
|
}
|
|
&>div:nth-child(2) {
|
|
background: rgba(89, 109, 130, 0.1);
|
|
.el-checkbox-group {
|
display: flex;
|
flex-direction: column;
|
align-items: center;
|
|
.el-checkbox {
|
margin: 0;
|
flex: 1;
|
line-height: 24px;
|
}
|
}
|
|
}
|
}
|
}
|
}
|
|
.risk-detail-popup {
|
position: fixed;
|
z-index: 999;
|
padding: 10px;
|
background: rgba(0, 0, 0, .7);
|
color: #fff;
|
border-radius: 10px;
|
height: auto;
|
|
ul {
|
margin: 0;
|
padding: 0;
|
|
li {
|
line-height: 36px;
|
}
|
}
|
|
}
|
|
.noteDialog {
|
.el-dialog {
|
margin-top: 0 !important;
|
position: absolute;
|
top: 36%;
|
left: 0;
|
right: 0;
|
bottom: auto;
|
margin: auto;
|
width: 768px !important;
|
height: 360px !important;
|
background: #0170DA;
|
|
color: #fff;
|
|
.el-dialog__header {
|
padding: 10px 20px;
|
|
.el-dialog__title {
|
|
color: #fff !important;
|
}
|
|
.el-dialog__close {
|
color: #fff !important;
|
|
}
|
|
}
|
|
.el-dialog__body {
|
padding: 2px 20px 10px 20px;
|
color: #fff;
|
|
height: calc(100% - 44px);
|
|
p {
|
margin: 0;
|
text-indent: 2em;
|
font-size: 16px;
|
line-height: 24px;
|
letter-spacing: 1.2px;
|
word-break: break-all;
|
|
height: calc(100% - 40px);
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
}
|
|
.el-button {
|
float: right;
|
}
|
}
|
}
|
}
|
|
// 预警详情
|
.earlyDialog {
|
width: calc(100% - 396px);
|
height: calc(100% - 60px);
|
top: auto;
|
left: auto;
|
right: 0;
|
bottom: 0;
|
color: #677788;
|
|
.el-dialog {
|
padding: 10px;
|
|
.el-dialog__header {
|
padding: 0;
|
height: 48px;
|
line-height: 48px;
|
|
|
}
|
|
.el-dialog__body {
|
padding: 0;
|
height: calc(100% - 48px);
|
|
.dialog-data-table {
|
|
width: 100%;
|
height: 100%;
|
|
.el-table {
|
height: calc(100% - 32px);
|
|
.el-table__body-wrapper {
|
height: calc(100% - 71px);
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
}
|
}
|
}
|
}
|
}
|
|
}
|
|
}
|