660 lines
20 KiB
HTML
660 lines
20 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/4.3.0/echarts.min.js"></script>
|
|
<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>
|
|
<link rel="stylesheet" href="../../css/newDataAnalysis/projectProgress.css">
|
|
<title>工程进度分析</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="proQuality">
|
|
<!-- 左右两个面板容器 -->
|
|
<div class="panels-container">
|
|
<!-- 左侧面板:变电土建专业 -->
|
|
<div class="panel panel-left">
|
|
<!-- 左上:工序整体进度(环形图+统计卡片) -->
|
|
<div class="module module-top-left">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">变电土建专业</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div class="progress-chart-wrapper">
|
|
<div id="civilProgressChart" class="chart-container"></div>
|
|
</div>
|
|
<div class="statistics-container">
|
|
<div class="stat-item">
|
|
|
|
<div class="stat-content">
|
|
<div class="stat-value" id="civilTotalProcesses">10</div>
|
|
<div class="stat-label">土建总工序</div>
|
|
</div>
|
|
<div class="stat-icon">
|
|
<img src="../../img/dataAnalysisOctober/projectProgress/left_1.png" alt="总工序">
|
|
</div>
|
|
</div>
|
|
<div class="stat-item">
|
|
|
|
<div class="stat-content">
|
|
<div class="stat-value" id="civilCompletedProcesses">5</div>
|
|
<div class="stat-label">已完成工序</div>
|
|
</div>
|
|
<div class="stat-icon">
|
|
<img src="../../img/dataAnalysisOctober/projectProgress/left_right_2.png" alt="已完成">
|
|
</div>
|
|
</div>
|
|
<div class="stat-item stat-item-abnormal">
|
|
|
|
<div class="stat-content">
|
|
<div class="stat-value" id="civilAbnormalProcesses">3</div>
|
|
<div class="stat-label">异常工序</div>
|
|
</div>
|
|
<div class="stat-icon">
|
|
<img src="../../img/dataAnalysisOctober/projectProgress/left_right_3.png" alt="异常">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 中间:进度展示 -->
|
|
<div class="module module-middle">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">进度展示</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div class="progress-search-bar">
|
|
<div class="date-range-wrapper">
|
|
<input type="text" id="civilDateRange" class="search-input date-input"
|
|
placeholder="XXXX-XX-XX~XXXX-XX-XX" readonly>
|
|
</div>
|
|
<button type="button" class="search-btn" onclick="queryCivilProgress()">查询</button>
|
|
</div>
|
|
<div id="civilProgressBarChart" class="chart-container"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 左下:进度偏差分析 -->
|
|
<div class="module module-bottom-left">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">进度偏差分析</span>
|
|
</div>
|
|
<div class="module-content">
|
|
|
|
<div class="table-container">
|
|
<table id="civilDeviationTable" lay-filter="civilDeviationTable"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 右侧面板:变电电气专业 -->
|
|
<div class="panel panel-right">
|
|
<!-- 右上:工序整体进度(环形图+统计卡片) -->
|
|
<div class="module module-top-right">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">变电电气专业</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div class="progress-chart-wrapper">
|
|
<div id="electricalProgressChart" class="chart-container"></div>
|
|
</div>
|
|
<div class="statistics-container">
|
|
<div class="stat-item">
|
|
|
|
<div class="stat-content">
|
|
<div class="stat-value" id="electricalTotalProcesses">10</div>
|
|
<div class="stat-label">电气总工序</div>
|
|
</div>
|
|
<div class="stat-icon">
|
|
<img src="../../img/dataAnalysisOctober/projectProgress/right_1.png" alt="总工序">
|
|
</div>
|
|
</div>
|
|
<div class="stat-item">
|
|
|
|
<div class="stat-content">
|
|
<div class="stat-value" id="electricalCompletedProcesses">5</div>
|
|
<div class="stat-label">已完成工序</div>
|
|
</div>
|
|
<div class="stat-icon">
|
|
<img src="../../img/dataAnalysisOctober/projectProgress/left_right_2.png" alt="已完成">
|
|
</div>
|
|
</div>
|
|
<div class="stat-item stat-item-abnormal">
|
|
|
|
<div class="stat-content">
|
|
<div class="stat-value" id="electricalAbnormalProcesses">3</div>
|
|
<div class="stat-label">异常工序</div>
|
|
</div>
|
|
<div class="stat-icon">
|
|
<img src="../../img/dataAnalysisOctober/projectProgress/left_right_3.png" alt="异常">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 中间:进度展示 -->
|
|
<div class="module module-middle">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">进度展示</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div class="progress-search-bar">
|
|
<div class="date-range-wrapper">
|
|
<input type="text" id="electricalDateRange" class="search-input date-input"
|
|
placeholder="XXXX-XX-XX~XXXX-XX-XX" readonly>
|
|
</div>
|
|
<button type="button" class="search-btn" onclick="queryElectricalProgress()">查询</button>
|
|
</div>
|
|
<div id="electricalProgressBarChart" class="chart-container"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 右下:进度偏差分析 -->
|
|
<div class="module module-bottom-right">
|
|
<div class="module-title">
|
|
<span class="title-indicator"></span>
|
|
<span class="title-text">进度偏差分析</span>
|
|
</div>
|
|
<div class="module-content">
|
|
<div class="table-container">
|
|
<table id="electricalDeviationTable" lay-filter="electricalDeviationTable"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
<style>
|
|
#proQuality {
|
|
width: 100%;
|
|
height: 100%;
|
|
/* padding: 1%; */
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panels-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
gap: 1%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel {
|
|
flex: 1;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1.8fr 2fr 2fr;
|
|
gap: 1%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.module {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
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;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.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;
|
|
flex: 1;
|
|
}
|
|
|
|
.module-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
height: 0;
|
|
padding: 0 10px 10px 10px;
|
|
}
|
|
|
|
/* 左上/右上模块:环形图+统计卡片布局 */
|
|
.module-top-left .module-content,
|
|
.module-top-right .module-content {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
/* gap: 30px; */
|
|
padding: 0 20px 10px 20px;
|
|
}
|
|
|
|
.progress-chart-wrapper {
|
|
flex: 0 0 40%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
.chart-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* 统计指标容器 */
|
|
.statistics-container {
|
|
margin-right: 20px;
|
|
flex: 0 0 60%;
|
|
height: 100%;
|
|
display: flex;
|
|
/* flex-direction: column; */
|
|
justify-content: space-around;
|
|
gap: 15px;
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
padding: 0 14px;
|
|
/* background: rgba(13, 34, 37, 0.6); */
|
|
/* border: 1px solid rgba(6, 189, 221, 0.4); */
|
|
/* border-radius: 8px; */
|
|
flex-shrink: 0;
|
|
transition: all 0.3s;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.stat-item:hover {
|
|
background: rgba(13, 34, 37, 0.8);
|
|
border-color: rgba(6, 189, 221, 0.7);
|
|
box-shadow: 0 2px 12px rgba(6, 189, 221, 0.2);
|
|
}
|
|
|
|
.stat-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.stat-icon::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: rgba(6, 189, 221, 0.2);
|
|
box-shadow: 0 0 15px rgba(6, 189, 221, 0.5);
|
|
z-index: 0;
|
|
}
|
|
|
|
.stat-icon img {
|
|
width: 80%;
|
|
height: 80%;
|
|
object-fit: contain;
|
|
position: relative;
|
|
z-index: 1;
|
|
filter: drop-shadow(0 0 8px rgba(6, 189, 221, 0.8));
|
|
}
|
|
|
|
.stat-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
color: #00FFB8;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 14px;
|
|
color: #FFFFFF;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* 异常工序特殊样式 */
|
|
.stat-item-abnormal {
|
|
border-color: rgba(255, 107, 107, 0.4);
|
|
}
|
|
|
|
.stat-item-abnormal:hover {
|
|
border-color: rgba(255, 107, 107, 0.7);
|
|
box-shadow: 0 2px 12px rgba(255, 107, 107, 0.2);
|
|
}
|
|
|
|
.stat-item-abnormal .stat-icon::before {
|
|
background: rgba(255, 107, 107, 0.2);
|
|
box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
|
|
}
|
|
|
|
.stat-item-abnormal .stat-icon img {
|
|
filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.8));
|
|
}
|
|
|
|
.stat-item-abnormal .stat-value {
|
|
color: #FF6B6B;
|
|
}
|
|
|
|
.stat-item-abnormal .stat-label {
|
|
color: #FF6B6B;
|
|
}
|
|
|
|
/* 搜索栏 */
|
|
.search-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 进度搜索栏 */
|
|
.progress-search-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
flex-shrink: 0;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.date-range-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 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-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* 警告列表容器 */
|
|
.module-bottom-right .module-content {
|
|
overflow: hidden;
|
|
padding: 0 15px;
|
|
position: relative;
|
|
}
|
|
|
|
.warning-list {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.warning-list-scroll {
|
|
gap: 0;
|
|
will-change: transform;
|
|
}
|
|
|
|
.warning-list-scroll .warning-item {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.warning-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 10px 15px;
|
|
background: rgba(25, 62, 68, 0.3);
|
|
border-left: 3px solid #FF6B6B;
|
|
border-radius: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.warning-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 10px;
|
|
flex-shrink: 0;
|
|
background-image: url("../../img/dataAnalysisOctober/proQualityAnalysis/icon.png");
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.warning-text {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: #FFFFFF;
|
|
line-height: 1.5;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* 无缝滚动动画 */
|
|
@keyframes scrollWarning {
|
|
from {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
to {
|
|
transform: translateY(-50%);
|
|
}
|
|
}
|
|
|
|
.warning-list-scroll {
|
|
animation-name: scrollWarning;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
|
|
.module-bottom-right:hover .warning-list-scroll {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
/* Layui表格样式覆盖 */
|
|
.module .layui-table {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.module .layui-table thead tr {
|
|
background-color: rgba(13, 34, 37, 0.8) !important;
|
|
}
|
|
|
|
.module .layui-table thead th {
|
|
background-color: transparent !important;
|
|
color: #FFFFFF !important;
|
|
border-color: rgba(6, 189, 221, 0.3) !important;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.module .layui-table tbody tr {
|
|
background-color: rgba(25, 62, 68, 0.3) !important;
|
|
}
|
|
|
|
.module .layui-table tbody tr:hover {
|
|
background-color: rgba(25, 62, 68, 0.6) !important;
|
|
}
|
|
|
|
.module .layui-table tbody td {
|
|
color: #FFFFFF !important;
|
|
border-color: rgba(6, 189, 221, 0.2) !important;
|
|
}
|
|
|
|
.module .layui-table-page {
|
|
background-color: transparent !important;
|
|
border-top: 1px solid rgba(6, 189, 221, 0.3) !important;
|
|
padding: 10px 0 !important;
|
|
}
|
|
|
|
.module .layui-table-page .layui-laypage {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.module .layui-table-page .layui-laypage a,
|
|
.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;
|
|
}
|
|
|
|
.module .layui-table-page .layui-laypage .layui-laypage-curr em {
|
|
background-color: #207E75 !important;
|
|
color: #FFFFFF !important;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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,
|
|
.warning-list::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
.module-content::-webkit-scrollbar-track,
|
|
.table-container::-webkit-scrollbar-track,
|
|
.warning-list::-webkit-scrollbar-track {
|
|
background: rgba(13, 34, 37, 0.5);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.module-content::-webkit-scrollbar-thumb,
|
|
.table-container::-webkit-scrollbar-thumb,
|
|
.warning-list::-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,
|
|
.warning-list::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(6, 189, 221, 0.8);
|
|
}
|
|
</style>
|
|
<script src="../../js/pages/dataAnalysisOctober/projectProgress.js" type="text/javascript"></script>
|
|
|
|
</html> |