fix: 对接电动门接口 电梯接口

This commit is contained in:
zhaohy
2024-08-19 16:15:37 +08:00
parent 45d914b16e
commit 580d82639d
9 changed files with 215 additions and 205 deletions

View File

@@ -10,12 +10,13 @@
@close="handleClose">
<div style="width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden">
<!-- top -->
<div class="box">
<div class="card"></div>
<div style="left: 25px; position: absolute; height: 35px; line-height: 35px">
<div class="boxstyle">
<div
class="ns-title-extra-box"
style="left: 5px; position: absolute; height: 35px; line-height: 30px">
告警编号{{ infoObject.alarmCode }}
</div>
<div style="right: 20px; position: absolute; height: 35px; line-height: 35px">
<div style="right: 20px; position: absolute; height: 35px; line-height: 30px">
{{ infoObject.updateTime }}
</div>
</div>
@@ -284,23 +285,18 @@
});
</script>
<style scoped lang="less">
.box {
.boxstyle {
width: 100%;
height: 35px;
display: flex;
position: relative;
font-size: @font-size-base;
border-bottom: 1px solid @primary-color;
}
.card {
position: absolute;
left: 0px;
top: 0px;
width: 5px;
height: 35px;
background-color: @primary-color;
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 700;
}
:deep(.ant-descriptions-item-label) {
width: 25%;
width: 134px;
text-align: center;
font-weight: 700;
}
</style>

View File

@@ -10,12 +10,13 @@
@close="handleClose">
<div style="width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden">
<!-- top -->
<div class="box">
<div class="card"></div>
<div style="left: 25px; position: absolute; height: 35px; line-height: 35px">
<div class="boxstyle">
<div
class="ns-title-extra-box"
style="left: 5px; position: absolute; height: 35px; line-height: 30px">
告警编号{{ infoObject.alarmCode }}
</div>
<div style="right: 20px; position: absolute; height: 35px; line-height: 35px">
<div style="right: 20px; position: absolute; height: 35px; line-height: 30px">
{{ infoObject.updateTime }}
</div>
</div>
@@ -34,7 +35,7 @@
}}</a-descriptions-item>
<a-descriptions-item label="错误码">{{ infoObject.errorCode }}</a-descriptions-item>
<a-descriptions-item label="告警描述">
<div style="color: #2778ff">{{ infoObject.alarmTitle }}</div>
<div style="color: rgba(255, 118, 54, 1)">{{ infoObject.alarmTitle }}</div>
{{ infoObject.abnormalDescription }}</a-descriptions-item
>
<a-descriptions-item label="设备信息"> {{ infoObject.deviceInfo }} </a-descriptions-item>
@@ -291,15 +292,18 @@
font-size: @font-size-base;
border-bottom: 1px solid @primary-color;
}
.card {
position: absolute;
left: 0px;
top: 0px;
width: 5px;
.boxstyle {
width: 100%;
height: 35px;
background-color: @primary-color;
display: flex;
position: relative;
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 700;
}
:deep(.ant-descriptions-item-label) {
width: 25%;
width: 134px;
text-align: center;
font-weight: 700;
}
</style>

View File

@@ -11,11 +11,12 @@
<div style="width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden">
<!-- top -->
<div class="boxstyle">
<div class="card"></div>
<div style="left: 25px; position: absolute; height: 35px; line-height: 35px">
<div
class="ns-title-extra-box"
style="left: 25px; position: absolute; height: 35px; line-height: 30px">
告警编号{{ infoObject.alarmCode }}
</div>
<div style="right: 20px; position: absolute; height: 35px; line-height: 35px">
<div style="right: 30px; position: absolute; height: 35px; line-height: 30px">
{{ infoObject.updateTime }}
</div>
</div>
@@ -276,18 +277,13 @@
height: 35px;
display: flex;
position: relative;
font-size: @font-size-base;
border-bottom: 1px solid @primary-color;
}
.card {
position: absolute;
left: 0px;
top: 0px;
width: 5px;
height: 35px;
background-color: @primary-color;
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 700;
}
:deep(.ant-descriptions-item-label) {
width: 25%;
width: 134px;
text-align: center;
font-weight: 700;
}
</style>