2024-06-12 22:11:48 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="rightTop">
|
|
|
|
|
|
<Card title="应急记录">
|
2024-06-13 16:33:10 +08:00
|
|
|
|
<div class="mainContainer">
|
2024-06-15 20:31:54 +08:00
|
|
|
|
<el-scrollbar style="height:104.5%">
|
2024-06-15 09:46:11 +08:00
|
|
|
|
<div class="itemBox" v-for="(item,i) in 10" :key="i">
|
|
|
|
|
|
<div class="itemLeft">
|
|
|
|
|
|
<div style="font-size:24px;transform:translateY(-3px)">⚠</div>
|
|
|
|
|
|
<div style="margin-left:8px">事项</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="itemRight">
|
|
|
|
|
|
<div class="rightTop">
|
2024-06-15 20:31:54 +08:00
|
|
|
|
<div class="overHiddenText" style="width:60%">被困电梯,需要救援</div>
|
2024-06-15 09:46:11 +08:00
|
|
|
|
<div style="width:20%">检查人:张三</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="rightCenter">
|
|
|
|
|
|
<div style="">责任单位:辽宁五瞏</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="rightBottom">
|
|
|
|
|
|
<div class="rbInner1">处理状态:已处理</div>
|
|
|
|
|
|
<div class="rbInner2">处理报告:下载</div>
|
|
|
|
|
|
<div class="rbInner3">2024-03-01 12:00:00</div>
|
|
|
|
|
|
</div>
|
2024-06-13 16:33:10 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-06-15 09:46:11 +08:00
|
|
|
|
</el-scrollbar>
|
2024-06-13 16:33:10 +08:00
|
|
|
|
</div>
|
2024-06-15 09:46:11 +08:00
|
|
|
|
<!-- <div class="not-data">
|
|
|
|
|
|
<img src="@/assets/images/noData.png" alt="" />
|
|
|
|
|
|
<p>暂无数据</p>
|
|
|
|
|
|
</div> -->
|
2024-06-12 22:11:48 +08:00
|
|
|
|
</Card>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
|
import Card from "@/components/card.vue";
|
|
|
|
|
|
import { onMounted, ref } from "vue";
|
|
|
|
|
|
import { GlobalStore } from "@/stores";
|
|
|
|
|
|
const store = GlobalStore();
|
|
|
|
|
|
import * as echarts from "echarts";
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(async () => {
|
|
|
|
|
|
});
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2024-06-13 16:33:10 +08:00
|
|
|
|
<style lang="scss" scoped>
|
2024-06-12 22:11:48 +08:00
|
|
|
|
.rightTop {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
.mainContainer{
|
|
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
|
|
height: calc(100% - 20px);
|
|
|
|
|
|
padding: 10px 10px;
|
|
|
|
|
|
.itemBox{
|
|
|
|
|
|
width: 100%;
|
2024-06-15 09:46:11 +08:00
|
|
|
|
height: 65px;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
.itemLeft{
|
|
|
|
|
|
width: 16%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
border-left: 2px solid #f73758;
|
|
|
|
|
|
background-color: rgba($color: darkred, $alpha: 0.4);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
.itemRight{
|
2024-06-15 09:46:11 +08:00
|
|
|
|
height: calc(100% - 10px);
|
|
|
|
|
|
width: calc(82% - 10px);
|
|
|
|
|
|
padding: 5px 5px;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
// background-color: rgba($color: #a85454, $alpha: 0.3);
|
|
|
|
|
|
background: repeating-linear-gradient(100deg, rgba(200,10,10,0.1), rgba(200,10,10,0.1) 20px, rgba(0,0,0,0) 20px, rgba(0,0,0,0) 40px),
|
|
|
|
|
|
linear-gradient(to bottom, rgba(200,10,10,0.2), rgba(200,10,10,0.3));
|
|
|
|
|
|
background-size: 100% 100%, 100% 100%;
|
2024-06-15 09:46:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: space-between;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
.rightTop{
|
2024-06-15 09:46:11 +08:00
|
|
|
|
height: 30%;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
width: 100%;
|
2024-06-15 09:46:11 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
}
|
|
|
|
|
|
.rightCenter{
|
|
|
|
|
|
height: 30%;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: flex-end;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
.rightBottom{
|
|
|
|
|
|
color: #19bfef;
|
2024-06-15 09:46:11 +08:00
|
|
|
|
height: 30%;
|
2024-06-13 16:33:10 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
2024-06-15 09:46:11 +08:00
|
|
|
|
// transform: translateY(-3px);
|
2024-06-13 16:33:10 +08:00
|
|
|
|
.rbInner1{}
|
|
|
|
|
|
.rbInner2{}
|
2024-06-15 09:46:11 +08:00
|
|
|
|
.rbInner3{
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
}
|
2024-06-13 16:33:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-06-12 22:11:48 +08:00
|
|
|
|
}
|
2024-06-15 09:46:11 +08:00
|
|
|
|
.overHiddenText{
|
|
|
|
|
|
white-space: nowrap; /* 防止文字换行 */
|
|
|
|
|
|
overflow: hidden; /* 超出部分隐藏 */
|
|
|
|
|
|
text-overflow: ellipsis; /* 超出部分显示省略号 */
|
|
|
|
|
|
}
|
2024-06-12 22:11:48 +08:00
|
|
|
|
::v-deep .h-card .content {
|
|
|
|
|
|
height: 80%;
|
|
|
|
|
|
}
|
|
|
|
|
|
::v-deep .h-card {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
2024-06-15 09:46:11 +08:00
|
|
|
|
.not-data {
|
|
|
|
|
|
top: 40%;
|
|
|
|
|
|
width: 30%;
|
|
|
|
|
|
left: 35%;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
img {
|
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
}
|
|
|
|
|
|
p {
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-06-12 22:11:48 +08:00
|
|
|
|
</style>
|