|
@@ -131,11 +131,11 @@ let topContent = reactive({
|
|
|
//束管监测当前密闭参数激活选项
|
|
|
let activeIndex = ref(0)
|
|
|
//束管监测当前激活密闭参数类型
|
|
|
-let type = ref('O2')
|
|
|
+let type = ref('O₂')
|
|
|
//束管监测密闭参数列表
|
|
|
let mbList = reactive([
|
|
|
{
|
|
|
- label: 'O2',
|
|
|
+ label: 'O₂',
|
|
|
label1: '浓度',
|
|
|
label2: '时间',
|
|
|
label3: '位置',
|
|
@@ -153,7 +153,7 @@ let mbList = reactive([
|
|
|
address: '',
|
|
|
},
|
|
|
{
|
|
|
- label: 'CO2',
|
|
|
+ label: 'CO₂',
|
|
|
label1: '浓度',
|
|
|
label2: '时间',
|
|
|
label3: '位置',
|
|
@@ -162,7 +162,7 @@ let mbList = reactive([
|
|
|
address: '',
|
|
|
},
|
|
|
{
|
|
|
- label: 'CH4',
|
|
|
+ label: 'CH₄',
|
|
|
label1: '浓度',
|
|
|
label2: '时间',
|
|
|
label3: '位置',
|
|
@@ -171,7 +171,7 @@ let mbList = reactive([
|
|
|
address: '',
|
|
|
},
|
|
|
{
|
|
|
- label: 'C2H2',
|
|
|
+ label: 'C₂H₂',
|
|
|
label1: '浓度',
|
|
|
label2: '时间',
|
|
|
label3: '位置',
|
|
@@ -180,7 +180,7 @@ let mbList = reactive([
|
|
|
address: '',
|
|
|
},
|
|
|
{
|
|
|
- label: 'C2H4',
|
|
|
+ label: 'C₂H₄',
|
|
|
label1: '浓度',
|
|
|
label2: '时间',
|
|
|
label3: '位置',
|
|
@@ -192,7 +192,7 @@ let mbList = reactive([
|
|
|
let echartDataSg1 = reactive({
|
|
|
xData: [],
|
|
|
yData: [],
|
|
|
- lengedData: 'O2',
|
|
|
+ lengedData: 'O₂',
|
|
|
})
|
|
|
let echartDataSgList = reactive<any[]>([])
|
|
|
|
|
@@ -230,14 +230,14 @@ function btnClick(item, ind) {
|
|
|
echartDataSg1.yData.length = 0
|
|
|
echartDataSg1.lengedData = type.value
|
|
|
switch (type.value) {
|
|
|
- case 'O2':
|
|
|
+ case 'O₂':
|
|
|
echartDataSgList.forEach(el => {
|
|
|
echartDataSg1.xData.push(el.time)
|
|
|
echartDataSg1.yData.push(el.o2val)
|
|
|
|
|
|
})
|
|
|
break;
|
|
|
- case 'C2H4':
|
|
|
+ case 'C₂H₄':
|
|
|
echartDataSgList.forEach(el => {
|
|
|
echartDataSg1.xData.push(el.time)
|
|
|
echartDataSg1.yData.push(el.ch2val)
|
|
@@ -251,21 +251,21 @@ function btnClick(item, ind) {
|
|
|
|
|
|
})
|
|
|
break;
|
|
|
- case 'CH4':
|
|
|
+ case 'CH₄':
|
|
|
echartDataSgList.forEach(el => {
|
|
|
echartDataSg1.xData.push(el.time)
|
|
|
echartDataSg1.yData.push(el.chval)
|
|
|
|
|
|
})
|
|
|
break;
|
|
|
- case 'CO2':
|
|
|
+ case 'CO₂':
|
|
|
echartDataSgList.forEach(el => {
|
|
|
echartDataSg1.xData.push(el.time)
|
|
|
echartDataSg1.yData.push(el.co2val)
|
|
|
|
|
|
})
|
|
|
break;
|
|
|
- case 'C2H2':
|
|
|
+ case 'C₂H₂':
|
|
|
echartDataSgList.forEach(el => {
|
|
|
echartDataSg1.xData.push(el.time)
|
|
|
echartDataSg1.yData.push(el.gasval)
|
|
@@ -312,17 +312,17 @@ watch(() => props.listData, (val) => {
|
|
|
topContent.warn = val.bundletube[0].warnLevel == 0 ? '正常' : val.bundletube[0].warnLevel == 101 ? '较低风险' : val.bundletube[0].warnLevel == 102 ? '低风险' : val.bundletube[0].warnLevel == 103 ? '中风险' : val.bundletube[0].warnLevel == 104 ? '高风险' : val.bundletube[0].warnLevel == 201 ? '报警' : '正常'
|
|
|
val.bundletube[0].history.forEach(v => {
|
|
|
echartDataSg1.xData.push(v.time)
|
|
|
- if (echartDataSg1.lengedData == 'O2') {
|
|
|
+ if (echartDataSg1.lengedData == 'O₂') {
|
|
|
echartDataSg1.yData.push(v.o2val)
|
|
|
- } else if (echartDataSg1.lengedData == 'C2H4') {
|
|
|
+ } else if (echartDataSg1.lengedData == 'C₂H₄') {
|
|
|
echartDataSg1.yData.push(v.ch2val)
|
|
|
} else if (echartDataSg1.lengedData == 'CO') {
|
|
|
echartDataSg1.yData.push(v.coval)
|
|
|
- } else if (echartDataSg1.lengedData == 'CH4') {
|
|
|
+ } else if (echartDataSg1.lengedData == 'CH₄') {
|
|
|
echartDataSg1.yData.push(v.chval)
|
|
|
- } else if (echartDataSg1.lengedData == 'CO2') {
|
|
|
+ } else if (echartDataSg1.lengedData == 'CO₂') {
|
|
|
echartDataSg1.yData.push(v.co2val)
|
|
|
- } else if (echartDataSg1.lengedData == 'C2H2') {
|
|
|
+ } else if (echartDataSg1.lengedData == 'C₂H₂') {
|
|
|
echartDataSg1.yData.push(v.gasval)
|
|
|
}
|
|
|
echartDataSgList.push(v)
|
|
@@ -367,10 +367,10 @@ watch(() => props.listData, (val) => {
|
|
|
overflow-y: auto;
|
|
|
|
|
|
.work-nav {
|
|
|
- height: 115px;
|
|
|
+ height: 15%;
|
|
|
width: 100%;
|
|
|
margin-bottom: 20px;
|
|
|
- background: url('../../../../../assets/images/fire/bj1.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -419,8 +419,8 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.pic {
|
|
|
- width: 94px;
|
|
|
- height: 94px;
|
|
|
+ width: 26%;
|
|
|
+ height: 84%;
|
|
|
|
|
|
img {
|
|
|
width: 100%;
|
|
@@ -429,7 +429,7 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.content {
|
|
|
- height: 94px;
|
|
|
+ height: 84%;
|
|
|
margin-left: 15px;
|
|
|
color: #fff;
|
|
|
display: flex;
|
|
@@ -454,22 +454,23 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.nav:nth-child(1) .pic {
|
|
|
- background: url('../../../../../assets/images/fire/max.svg') no-repeat;
|
|
|
- background-position: 50% 50%;
|
|
|
+ background: url('../../../../../assets/images/fire/max.svg') no-repeat center;
|
|
|
+ background-size: 50% 50%;
|
|
|
}
|
|
|
|
|
|
.nav:nth-child(2) .pic {
|
|
|
- background: url('../../../../../assets/images/fire/min.svg') no-repeat;
|
|
|
- background-position: 50% 50%;
|
|
|
+ background: url('../../../../../assets/images/fire/min.svg') no-repeat center;
|
|
|
+ background-size: 50% 50%;
|
|
|
}
|
|
|
|
|
|
.nav:nth-child(3) .pic {
|
|
|
- background: url('../../../../../assets/images/fire/pj.svg') no-repeat;
|
|
|
- background-position: 50% 50%;
|
|
|
+ background: url('../../../../../assets/images/fire/pj.svg') no-repeat center;
|
|
|
+ background-size: 50% 50%;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
.box {
|
|
|
display: flex;
|
|
|
|
|
@@ -490,7 +491,7 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.contents {
|
|
|
- height: 94px;
|
|
|
+ height: 73%;
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
width: 40%;
|
|
@@ -500,10 +501,10 @@ watch(() => props.listData, (val) => {
|
|
|
|
|
|
img {
|
|
|
position: relative;
|
|
|
- width: 94px;
|
|
|
- height: 94px;
|
|
|
- background: url('../../../../../assets/images/fire/pj.svg') no-repeat;
|
|
|
- background-position: 50% 50%;
|
|
|
+ width: 23%;
|
|
|
+ height: 100%;
|
|
|
+ background: url('../../../../../assets/images/fire/pj.svg') no-repeat center;
|
|
|
+ background-size: 50% 50%;
|
|
|
}
|
|
|
|
|
|
.text {
|
|
@@ -551,7 +552,7 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.center-box {
|
|
|
- height: 355px;
|
|
|
+ height: 47%;
|
|
|
margin-bottom: 20px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -559,10 +560,10 @@ watch(() => props.listData, (val) => {
|
|
|
|
|
|
.box {
|
|
|
display: flex;
|
|
|
- flex: 1;
|
|
|
flex-direction: column;
|
|
|
+ width: 32%;
|
|
|
height: 100%;
|
|
|
- background: url('../../../../../assets/images/fire/bj1.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
|
|
|
&:nth-child(2) {
|
|
@@ -600,12 +601,12 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.footer-box {
|
|
|
- height: calc(100% - 510px);
|
|
|
- background: url('../../../../../assets/images/fire/bj1.png') no-repeat;
|
|
|
+ height: calc(38% - 40px);
|
|
|
+ background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
|
|
|
.footer-title {
|
|
|
- height: 36px;
|
|
|
+ height: 30px;
|
|
|
padding: 0px 15px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -618,42 +619,43 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.echart-content {
|
|
|
- height: calc(100% - 36px);
|
|
|
+ height: calc(100% - 30px);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .content-s {
|
|
|
+ .content-s{
|
|
|
width: 100%;
|
|
|
height: 608px;
|
|
|
padding: 15px 20px 0px 20px;
|
|
|
- background: url('../../../../../assets/images/fire/bj1.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
box-sizing: border-box;
|
|
|
-
|
|
|
.title-b {
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
font-family: 'douyuFont';
|
|
|
font-size: 16px;
|
|
|
color: #3df6ff;
|
|
|
- margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
.card-btn {
|
|
|
- height: 169px;
|
|
|
+ height: 28%;
|
|
|
margin-bottom: 10px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
.box {
|
|
|
position: relative;
|
|
|
- width: 248px;
|
|
|
+ width: 16%;
|
|
|
height: 100%;
|
|
|
- background: url('../../../../../assets/images/fire/1.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/1.png') no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
cursor: pointer;
|
|
|
|
|
|
.label {
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
- top: 2px;
|
|
|
+ top: 0;
|
|
|
transform: translate(-50%);
|
|
|
font-size: 16px;
|
|
|
color: #fff;
|
|
@@ -663,22 +665,23 @@ watch(() => props.listData, (val) => {
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
transform: translate(-50%, 0);
|
|
|
- width: 226px;
|
|
|
- height: 27px;
|
|
|
+ width: 89%;
|
|
|
+ height: 16%;
|
|
|
padding: 0px 10px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
- background: url('../../../../../assets/images/fire/contetn.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/contetn.png') no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
|
|
|
.text-t {
|
|
|
- width: 32px;
|
|
|
+ width: 17%;
|
|
|
color: #fff;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.text-v {
|
|
|
- width: calc(100% - 32px);
|
|
|
+ width: 83%;
|
|
|
font-family: 'douyuFont';
|
|
|
font-size: 10px;
|
|
|
color: #3df6ff;
|
|
@@ -687,30 +690,32 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
.box-item1 {
|
|
|
- top: 32px;
|
|
|
+ top: 24%;
|
|
|
}
|
|
|
|
|
|
.box-item2 {
|
|
|
- top: 68px;
|
|
|
+ top: 50%;
|
|
|
}
|
|
|
|
|
|
.box-item3 {
|
|
|
- top: 104px;
|
|
|
+ top: 75%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.box1 {
|
|
|
position: relative;
|
|
|
- width: 248px;
|
|
|
+ width: 16%;
|
|
|
height: 100%;
|
|
|
- background: url('../../../../../assets/images/fire/2.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/2.png') no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
cursor: pointer;
|
|
|
|
|
|
.label {
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
- top: 2px;
|
|
|
+ top: 0;
|
|
|
transform: translate(-50%);
|
|
|
font-size: 16px;
|
|
|
color: #fff;
|
|
@@ -720,22 +725,23 @@ watch(() => props.listData, (val) => {
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
transform: translate(-50%, 0);
|
|
|
- width: 226px;
|
|
|
- height: 27px;
|
|
|
+ width: 89%;
|
|
|
+ height: 16%;
|
|
|
padding: 0px 10px;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
- background: url('../../../../../assets/images/fire/contetn.png') no-repeat;
|
|
|
+ background: url('../../../../../assets/images/fire/contetn.png') no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
|
|
|
.text-t {
|
|
|
- width: 32px;
|
|
|
+ width: 17%;
|
|
|
color: #fff;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.text-v {
|
|
|
- width: calc(100% - 32px);
|
|
|
+ width: 83%;
|
|
|
font-family: 'douyuFont';
|
|
|
font-size: 10px;
|
|
|
color: #3df6ff;
|
|
@@ -745,21 +751,21 @@ watch(() => props.listData, (val) => {
|
|
|
}
|
|
|
|
|
|
.box-item1 {
|
|
|
- top: 32px;
|
|
|
+ top: 19%;
|
|
|
}
|
|
|
|
|
|
.box-item2 {
|
|
|
- top: 68px;
|
|
|
+ top: 41%;
|
|
|
}
|
|
|
|
|
|
.box-item3 {
|
|
|
- top: 104px;
|
|
|
+ top: 63%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.echart-box {
|
|
|
- height: calc(100% - 215px);
|
|
|
+ height: calc(72% - 41px);
|
|
|
border: 1px solid #114aac;
|
|
|
|
|
|
.title-f {
|