2022-10-17 10:13:22 +08:00
|
|
|
<template>
|
2022-12-21 09:38:25 +08:00
|
|
|
<Card title="混凝土浇筑">
|
2022-10-17 10:13:22 +08:00
|
|
|
<div class="contentBox">
|
|
|
|
|
<div class="point"></div>
|
|
|
|
|
<span class="mintit">混凝土浇筑统计</span>
|
|
|
|
|
<div class="rowInfo">
|
|
|
|
|
<!-- <span class="point"></span> -->
|
|
|
|
|
<span>混凝土浇筑重量</span>
|
2022-12-21 09:38:25 +08:00
|
|
|
<span style="color: #5ec2c8">62461.5m³</span>
|
2022-10-17 10:13:22 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="checkChart" ref="checkChart"></div>
|
|
|
|
|
<div class="midTit">
|
|
|
|
|
<div class="point"></div>
|
|
|
|
|
<span class="mintit">混凝土浇筑记录</span>
|
|
|
|
|
</div>
|
2022-12-21 09:38:25 +08:00
|
|
|
<div class="timeBox">
|
2022-10-17 10:13:22 +08:00
|
|
|
<el-timeline class="timeline">
|
2022-12-21 09:38:25 +08:00
|
|
|
<el-timeline-item
|
|
|
|
|
v-for="(item, index) in dataList"
|
|
|
|
|
:key="index"
|
|
|
|
|
:timestamp="item.date"
|
|
|
|
|
placement="top"
|
|
|
|
|
>
|
|
|
|
|
<el-card>
|
|
|
|
|
<p>{{ item.date }}</p>
|
|
|
|
|
<span>{{ item.building }}</span>
|
|
|
|
|
<span class="area">{{ item.quantity }}m³</span>
|
|
|
|
|
</el-card>
|
|
|
|
|
</el-timeline-item>
|
|
|
|
|
</el-timeline>
|
2022-10-17 10:13:22 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Card>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import Card from "../components/Card.vue";
|
|
|
|
|
import echarts from "echarts4";
|
|
|
|
|
export default {
|
|
|
|
|
components: { Card },
|
2022-12-21 09:38:25 +08:00
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
dataList: [
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.20",
|
|
|
|
|
building: "3号桩",
|
|
|
|
|
quantity: 97,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.20",
|
|
|
|
|
building: "11号桩",
|
|
|
|
|
quantity: 91.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.15",
|
|
|
|
|
building: "7号桩",
|
|
|
|
|
quantity: 134,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.14",
|
|
|
|
|
building: "26号桩",
|
|
|
|
|
quantity: 28,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.14",
|
|
|
|
|
building: "16号桩",
|
|
|
|
|
quantity: 91.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.14",
|
|
|
|
|
building: "14号桩",
|
|
|
|
|
quantity: 98.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.12",
|
|
|
|
|
building: "20号桩",
|
|
|
|
|
quantity: 120,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.12",
|
|
|
|
|
building: "18号桩",
|
|
|
|
|
quantity: 90.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.12",
|
|
|
|
|
building: "基坑承台垫层",
|
|
|
|
|
quantity: 40,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.12",
|
|
|
|
|
building: "22号桩",
|
|
|
|
|
quantity: 122,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.11",
|
|
|
|
|
building: "23号桩",
|
|
|
|
|
quantity: 110,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.10",
|
|
|
|
|
building: "基坑承台垫层",
|
|
|
|
|
quantity: 40,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.7",
|
|
|
|
|
building: "北侧道路",
|
|
|
|
|
quantity: 115,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.6",
|
|
|
|
|
building: "21号桩",
|
|
|
|
|
quantity: 132,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.6",
|
|
|
|
|
building: "4号桩",
|
|
|
|
|
quantity: 86,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.6",
|
|
|
|
|
building: "北侧道路",
|
|
|
|
|
quantity: 47.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.5",
|
|
|
|
|
building: "北侧道路",
|
|
|
|
|
quantity: 246.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.3",
|
|
|
|
|
building: "北侧道路",
|
|
|
|
|
quantity: 60.5,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.12.2",
|
|
|
|
|
building: "北侧道路",
|
|
|
|
|
quantity: 90,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.11.22",
|
|
|
|
|
building: "垫层",
|
|
|
|
|
quantity: 3,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.11.21",
|
|
|
|
|
building: "抗拔实验基础",
|
|
|
|
|
quantity: 13,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-12-19 19:01:41 +08:00
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.11.21",
|
|
|
|
|
building: "5号桩",
|
|
|
|
|
quantity: 93,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
date: "2022.11.20",
|
|
|
|
|
building: "25号桩",
|
|
|
|
|
quantity: 31,
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-12-21 09:38:25 +08:00
|
|
|
],
|
|
|
|
|
};
|
2022-12-19 19:01:41 +08:00
|
|
|
},
|
2022-10-17 10:13:22 +08:00
|
|
|
mounted() {
|
|
|
|
|
this.createChart();
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
createChart() {
|
|
|
|
|
const checkChart = echarts.init(this.$refs.checkChart);
|
2022-12-21 09:38:25 +08:00
|
|
|
const option = {
|
2022-10-17 10:13:22 +08:00
|
|
|
grid: {
|
|
|
|
|
x: "9%", //x 偏移量
|
2022-12-21 09:38:25 +08:00
|
|
|
y: "5%", // y 偏移量
|
|
|
|
|
right: "0%", // 宽度
|
|
|
|
|
left: "12%", // 高度
|
|
|
|
|
},
|
|
|
|
|
tooltip: {
|
|
|
|
|
trigger: "axis",
|
|
|
|
|
axisPointer: {
|
|
|
|
|
type: "cross",
|
|
|
|
|
label: {
|
|
|
|
|
backgroundColor: "#6a7985",
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-10-17 10:13:22 +08:00
|
|
|
},
|
|
|
|
|
xAxis: {
|
|
|
|
|
type: "category",
|
2022-12-21 09:38:25 +08:00
|
|
|
data: ["2022-8", "2022-9", "2022-10", "2022-11", "2022-12"],
|
|
|
|
|
},
|
|
|
|
|
axisLabel: {
|
|
|
|
|
show: true,
|
|
|
|
|
textStyle: {
|
|
|
|
|
color: "#fff",
|
|
|
|
|
},
|
|
|
|
|
color: "#fff",
|
|
|
|
|
|
2022-10-17 10:13:22 +08:00
|
|
|
},
|
|
|
|
|
yAxis: {
|
|
|
|
|
type: "value",
|
|
|
|
|
splitLine: {
|
|
|
|
|
show: true,
|
|
|
|
|
lineStyle: {
|
|
|
|
|
type: "dashed",
|
2022-12-21 09:38:25 +08:00
|
|
|
color: "#777f8a",
|
|
|
|
|
},
|
2022-10-17 10:13:22 +08:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
series: [
|
|
|
|
|
{
|
2022-12-21 09:38:25 +08:00
|
|
|
data: [12111.5, 12111.5, 12619.5, 12809.5, 12809.5],
|
2022-10-17 10:13:22 +08:00
|
|
|
type: "line",
|
|
|
|
|
smooth: true,
|
2022-12-21 09:38:25 +08:00
|
|
|
color: "#f56c35",
|
|
|
|
|
},
|
|
|
|
|
],
|
2022-10-17 10:13:22 +08:00
|
|
|
};
|
|
|
|
|
checkChart.setOption(option);
|
2022-12-21 09:38:25 +08:00
|
|
|
},
|
|
|
|
|
},
|
2022-10-17 10:13:22 +08:00
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.contentBox {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
color: #fff;
|
|
|
|
|
padding-top: 2%;
|
|
|
|
|
margin-left: 1%;
|
|
|
|
|
.point {
|
|
|
|
|
width: 8px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-right: 2%;
|
|
|
|
|
margin-top: 15px;
|
|
|
|
|
}
|
|
|
|
|
.mintit {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.rowInfo {
|
|
|
|
|
margin-top: 3%;
|
|
|
|
|
margin-bottom: 3%;
|
|
|
|
|
height: 45px;
|
|
|
|
|
line-height: 45px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
background-image: url(../assets/images/common/bg-intro.png);
|
|
|
|
|
background-size: 120%;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
span {
|
|
|
|
|
margin-left: 5%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.midTit {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding-bottom: 3%;
|
|
|
|
|
}
|
|
|
|
|
.checkChart {
|
|
|
|
|
width: 95%;
|
|
|
|
|
height: 20%;
|
|
|
|
|
}
|
|
|
|
|
// .timeline {
|
|
|
|
|
// height: 30%;
|
|
|
|
|
// }
|
2022-12-21 09:38:25 +08:00
|
|
|
.timeBox {
|
2022-10-17 10:13:22 +08:00
|
|
|
height: 65%;
|
|
|
|
|
width: 98%;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-12-21 09:38:25 +08:00
|
|
|
::v-deep .el-timeline {
|
2022-10-17 10:13:22 +08:00
|
|
|
margin: 5px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-timeline-item__timestamp.is-top {
|
2022-12-21 09:38:25 +08:00
|
|
|
font-size: 20px;
|
|
|
|
|
color: #fff;
|
2022-10-17 10:13:22 +08:00
|
|
|
}
|
2022-12-21 09:38:25 +08:00
|
|
|
::v-deep .el-timeline-item__node--normal {
|
2022-10-17 10:13:22 +08:00
|
|
|
left: 0px;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-card {
|
|
|
|
|
border: none;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
background-color: #182337;
|
|
|
|
|
background-image: url(../assets/images/common/bg_time.png);
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
p {
|
|
|
|
|
color: #63cfd4;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
// margin-top: 20px;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
2022-12-21 09:38:25 +08:00
|
|
|
|
2022-10-17 10:13:22 +08:00
|
|
|
.area {
|
|
|
|
|
float: right;
|
|
|
|
|
color: #63cfd4;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-timeline-item__tail {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 4px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-left: 3px solid #274b5f;
|
|
|
|
|
}
|
2022-12-21 09:38:25 +08:00
|
|
|
::v-deep .el-timeline-item__node {
|
2022-10-17 10:13:22 +08:00
|
|
|
box-shadow: 0px 0px 6px 2px #bddade;
|
|
|
|
|
}
|
|
|
|
|
</style>
|