360 lines
10 KiB
HTML
360 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="../../css/font.css">
|
|
<link rel="stylesheet" href="../../plugin/layui-v2.9.7/layui/css/layui.css">
|
|
<link rel="stylesheet" href="../../css/dataAnalysis/dataAnalysis.css">
|
|
<link rel="stylesheet" href="../../css/shuiYin/shuiYin.css">
|
|
<link rel="stylesheet" href="../../css/coreTable.css" />
|
|
<link rel="stylesheet" href="../../css/accessMge/accessMge.css">
|
|
<script src="../../js/publics/sm4.js" type="text/javascript"></script>
|
|
<script src="../../js/publics/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
<script src="../../js/publics/public.js"></script>
|
|
<script src="../../plugin/scroll/jquery.nicescroll.min.js"></script>
|
|
<script src="../../js/publics/echarts.js"></script>
|
|
<script src="../../plugin/layui-v2.9.7/layui/layui.js"></script>
|
|
<script src="../../js/publics/aescbc.js"></script>
|
|
<script src="../../js/publics/sm3.js"></script>
|
|
<script src="../../api/commonRequest.js"></script>
|
|
<title>工程安全分析</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="proQuality">
|
|
<!-- 顶部查询栏 -->
|
|
<div class="top-query-bar">
|
|
<div class="date-range-wrapper">
|
|
<input type="text" id="dateRange" class="search-input date-input" placeholder="XXXX-XX-XX-XXXX-XX-XX"
|
|
readonly>
|
|
</div>
|
|
<button type="button" class="search-btn" onclick="queryData()">查询</button>
|
|
</div>
|
|
|
|
<!-- 中间图表区域 - 三个图表横向排列 -->
|
|
<div class="charts-container">
|
|
<!-- 模块1: 温湿度 (左) -->
|
|
<div class="module module-1">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">温湿度</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div id="temperatureHumidityChart" class="chart-container"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 模块2: 风速 (中) -->
|
|
<div class="module module-2">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">风速</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div id="windSpeedChart" class="chart-container"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 模块3: 空气质量 (右) -->
|
|
<div class="module module-3">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">空气质量</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div id="airQualityChart" class="chart-container"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 底部表格区域 -->
|
|
<div class="table-module">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">质量检测记录</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div class="search-bar">
|
|
<span class="search-label">检测点:</span>
|
|
<input type="text" id="keywordInput" class="search-input" placeholder="请输入关键字">
|
|
<button type="button" class="search-btn" onclick="queryRecords()">查询</button>
|
|
</div>
|
|
<div class="table-container">
|
|
<table id="environmentRecordTable" lay-filter="environmentRecordTable"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
<style>
|
|
#proQuality {
|
|
width: 100%;
|
|
height: 100%;
|
|
/* padding: 1%; */
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* 顶部查询栏 */
|
|
.top-query-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 1%;
|
|
height: 40px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.date-range-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 中间图表容器 - 三个图表横向排列 */
|
|
.charts-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 1%;
|
|
height: 0;
|
|
flex: 1;
|
|
min-height: 0;
|
|
margin-bottom: 1%;
|
|
}
|
|
|
|
/* 底部表格模块 */
|
|
.table-module {
|
|
height: 0;
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
/* background-size: 100% 100%;
|
|
background-position: center center;
|
|
background-repeat: no-repeat; */
|
|
background-image: url("../../img/dataAnalysisOctober/proQualityAnalysis/common_bg.png");
|
|
}
|
|
|
|
.module {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
/* background-size: 100% 100%;
|
|
background-position: center center;
|
|
background-repeat: no-repeat; */
|
|
background-image: url("../../img/dataAnalysisOctober/proQualityAnalysis/common_bg.png");
|
|
}
|
|
|
|
.module-title {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 40px;
|
|
min-height: 40px;
|
|
margin-bottom: 10px;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.title-indicator {
|
|
width: 4px;
|
|
height: 20px;
|
|
background: linear-gradient(180deg, #FF9C65 0%, #FFD700 100%);
|
|
margin-right: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.title-text {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #FFFFFF;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.module-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
/* 图表容器 */
|
|
.chart-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* 搜索输入框样式 */
|
|
.search-input {
|
|
width: 160px;
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
background: rgba(25, 62, 68, 0.6);
|
|
border: 1px solid rgba(6, 189, 221, 0.6);
|
|
border-radius: 2px;
|
|
color: #FFFFFF;
|
|
font-size: 14px;
|
|
transition: all 0.3s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: rgba(6, 189, 221, 1);
|
|
background: rgba(25, 62, 68, 0.8);
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.date-input {
|
|
width: 200px;
|
|
}
|
|
|
|
.search-btn {
|
|
height: 32px;
|
|
padding: 0 24px;
|
|
background: linear-gradient(135deg, #207E75 0%, #2A9D8F 100%);
|
|
border: none;
|
|
border-radius: 2px;
|
|
color: #FFFFFF;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.3s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.search-btn:hover {
|
|
background: linear-gradient(135deg, #2A9D8F 0%, #3AB5A5 100%);
|
|
box-shadow: 0 2px 8px rgba(6, 189, 221, 0.3);
|
|
}
|
|
|
|
.search-btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
/* 表格搜索栏 */
|
|
.table-module .search-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.search-label {
|
|
color: #FFFFFF;
|
|
font-size: 14px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.table-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
min-height: 0;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
/* Layui表格样式覆盖 */
|
|
.table-module .layui-table {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.table-module .layui-table thead tr {
|
|
background-color: rgba(13, 34, 37, 0.8) !important;
|
|
}
|
|
|
|
.table-module .layui-table thead th {
|
|
background-color: transparent !important;
|
|
color: #FFFFFF !important;
|
|
border-color: rgba(6, 189, 221, 0.3) !important;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.table-module .layui-table tbody tr {
|
|
background-color: rgba(25, 62, 68, 0.3) !important;
|
|
}
|
|
|
|
.table-module .layui-table tbody tr:hover {
|
|
background-color: rgba(25, 62, 68, 0.6) !important;
|
|
}
|
|
|
|
.table-module .layui-table tbody td {
|
|
color: #FFFFFF !important;
|
|
border-color: rgba(6, 189, 221, 0.2) !important;
|
|
}
|
|
|
|
.table-module .layui-table-page {
|
|
background-color: transparent !important;
|
|
border-top: 1px solid rgba(6, 189, 221, 0.3) !important;
|
|
padding: 10px 0 !important;
|
|
}
|
|
|
|
.table-module .layui-table-page .layui-laypage {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.table-module .layui-table-page .layui-laypage a,
|
|
.table-module .layui-table-page .layui-laypage span {
|
|
color: #FFFFFF !important;
|
|
background-color: rgba(25, 62, 68, 0.6) !important;
|
|
border-color: rgba(6, 189, 221, 0.5) !important;
|
|
}
|
|
|
|
.table-module .layui-table-page .layui-laypage .layui-laypage-curr em {
|
|
background-color: #207E75 !important;
|
|
color: #FFFFFF !important;
|
|
}
|
|
|
|
.table-module .layui-table-page .layui-laypage a:hover {
|
|
background-color: rgba(6, 189, 221, 0.6) !important;
|
|
border-color: rgba(6, 189, 221, 0.8) !important;
|
|
}
|
|
|
|
.table-module .layui-table-page input {
|
|
background-color: rgba(25, 62, 68, 0.6) !important;
|
|
border-color: rgba(6, 189, 221, 0.5) !important;
|
|
color: #FFFFFF !important;
|
|
}
|
|
|
|
/* 滚动条样式 */
|
|
.module-content::-webkit-scrollbar,
|
|
.table-container::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
.module-content::-webkit-scrollbar-track,
|
|
.table-container::-webkit-scrollbar-track {
|
|
background: rgba(13, 34, 37, 0.5);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.module-content::-webkit-scrollbar-thumb,
|
|
.table-container::-webkit-scrollbar-thumb {
|
|
background: rgba(6, 189, 221, 0.5);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.module-content::-webkit-scrollbar-thumb:hover,
|
|
.table-container::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(6, 189, 221, 0.8);
|
|
}
|
|
</style>
|
|
<script src="../../js/pages/dataAnalysisOctober/engineeringSafetyAnalysis.js" type="text/javascript"></script>
|
|
|
|
</html> |