hb_zhgd_screen/pages/dataAnalysisOctober/resourceRateAnalysis.html

308 lines
8.8 KiB
HTML
Raw Normal View History

2025-10-16 15:26:20 +08:00
<!DOCTYPE html>
<html lang="en">
2026-01-21 10:34:06 +08:00
2025-10-16 15:26:20 +08:00
<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">
2026-01-21 10:34:06 +08:00
<link rel="stylesheet" href="../../css/coreTable.css" />
2025-10-16 15:26:20 +08:00
<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>
<style>
#proQuality {
width: 100%;
height: 100%;
display: flex;
2025-10-18 17:19:35 +08:00
flex-direction: column;
2026-01-21 10:34:06 +08:00
gap: 1%;
padding: 1%;
box-sizing: border-box;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.row {
width: 100%;
2025-10-16 15:26:20 +08:00
display: flex;
2026-01-21 10:34:06 +08:00
gap: 1%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.row-top {
height: 34%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.row-middle {
2025-10-21 13:21:22 +08:00
height: 33%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.row-bottom {
height: 30%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.panel {
border: 1px solid rgba(0, 255, 255, 0.15);
box-shadow: 0 0 8px rgba(0, 255, 255, 0.15);
border-radius: 3px;
overflow: hidden;
position: relative;
background-image: url("../../img/dataAnalysisOctober/proQualityAnalysis/common_bg.png");
/* background-position: center center;
background-repeat: no-repeat;
background-size: 100% 100%; */
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.panel-title {
height: 40px;
2025-10-16 15:26:20 +08:00
display: flex;
align-items: center;
2026-01-21 10:34:06 +08:00
padding: 0 18px;
font-size: 16px;
color: #ffffff;
font-weight: bold;
gap: 8px;
2025-10-16 15:26:20 +08:00
flex-shrink: 0;
}
2026-01-21 10:34:06 +08:00
.panel-title::before {
2025-10-16 15:26:20 +08:00
content: '';
2026-01-21 10:34:06 +08:00
width: 4px;
height: 18px;
background: linear-gradient(180deg, #FF9C65 0%, #FFD700 100%);
border-radius: 2px;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.panel-body {
flex: 1;
height: calc(100% - 36px);
padding: 10px 12px 12px 12px;
box-sizing: border-box;
2025-10-16 15:26:20 +08:00
display: flex;
2025-10-21 13:21:22 +08:00
2026-01-21 10:34:06 +08:00
gap: 10px;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.panel-flex {
2025-10-16 15:26:20 +08:00
display: flex;
2026-01-21 10:34:06 +08:00
flex: 1;
gap: 1%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
/* Top row */
.table-panel {
width: 60%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.cards-panel {
width: 40%;
2025-10-16 15:26:20 +08:00
display: flex;
2026-01-21 10:34:06 +08:00
flex-direction: column;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.metric-card {
width: 45%;
height: 90%;
border: 1px dashed rgba(0, 255, 255, 0.4);
2025-10-16 15:26:20 +08:00
display: flex;
flex-direction: column;
2026-01-21 10:34:06 +08:00
align-items: center;
justify-content: center;
gap: 6px;
color: #fff;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.metric-value {
font-size: 30px;
font-weight: 700;
color: #00ffcc;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.metric-label {
2025-10-21 13:21:22 +08:00
font-size: 14px;
2026-01-21 10:34:06 +08:00
opacity: 0.8;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
/* middle row */
.trend-panel {
width: 60%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.cards-panel .panel-body,
.cards-small-panel .panel-body {
2025-10-16 15:26:20 +08:00
display: flex;
align-items: center;
2026-01-21 10:34:06 +08:00
justify-content: space-evenly;
gap: 10px;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.trend-chart {
width: 100%;
height: 100%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.cards-small-panel {
width: 40%;
2025-10-16 15:26:20 +08:00
display: flex;
flex-direction: column;
}
2026-01-21 10:34:06 +08:00
.metric-card-small {
width: 45%;
height: 70%;
border: 1px dashed rgba(0, 255, 255, 0.4);
2025-10-16 15:26:20 +08:00
display: flex;
2026-01-21 10:34:06 +08:00
flex-direction: column;
2025-10-16 15:26:20 +08:00
align-items: center;
2026-01-21 10:34:06 +08:00
justify-content: center;
gap: 6px;
color: #fff;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
/* bottom row */
.bar-panel {
width: 60%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.bar-chart {
width: 100%;
height: 100%;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.analysis-panel {
width: 40%;
2025-10-16 15:26:20 +08:00
display: flex;
2026-01-21 10:34:06 +08:00
flex-direction: column;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.analysis-tabs {
display: flex;
gap: 10px;
padding: 0 12px;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.analysis-tab {
padding: 4px 10px;
border: 1px solid rgba(0, 255, 255, 0.5);
border-radius: 2px;
color: #fff;
cursor: pointer;
2025-10-16 15:26:20 +08:00
font-size: 12px;
}
2026-01-21 10:34:06 +08:00
.analysis-tab.active {
background: rgba(0, 255, 255, 0.15);
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.analysis-list {
flex: 1;
overflow-y: auto;
padding: 0 12px 10px 12px;
2025-10-16 15:26:20 +08:00
display: flex;
flex-direction: column;
2026-01-21 10:34:06 +08:00
gap: 8px;
2025-10-16 15:26:20 +08:00
}
2026-01-21 10:34:06 +08:00
.analysis-item {
background: rgba(13, 34, 37, 0.6);
border: 1px solid rgba(0, 255, 255, 0.2);
padding: 10px;
color: #fff;
font-size: 13px;
line-height: 1.5;
2025-10-16 15:26:20 +08:00
}
</style>
<body>
2026-01-21 10:34:06 +08:00
<div id="proQuality">
<!-- Top row -->
<div class="row row-top">
<div class="panel table-panel">
<div class="panel-title">班组人员利用率排名</div>
<div class="panel-body">
<table id="teamTable" lay-filter="teamTable"></table>
</div>
2025-10-21 13:21:22 +08:00
</div>
2026-01-21 10:34:06 +08:00
<div class="panel cards-panel">
<div class="panel-title">整体情况</div>
<div class="panel-body">
<div class="metric-card">
<div class="metric-value" id="workerUtilization">75%</div>
<div class="metric-label">人员利用率</div>
<div class="monitor-icon"
style="width:60px;height:60px;background:url('../../img/dataAnalysisOctober/personnelUtilizationRate.png') no-repeat center/100% 100%;">
</div>
</div>
<div class="metric-card">
<div class="metric-value" id="deviceUtilization">80%</div>
<div class="metric-label">大型设备利用率</div>
<div class="monitor-icon"
style="width:60px;height:60px;background:url('../../img/dataAnalysisOctober/equipmentUtilizationRate.png') no-repeat center/100% 100%;">
</div>
</div>
</div>
2025-10-18 17:19:35 +08:00
</div>
</div>
2026-01-21 10:34:06 +08:00
<!-- Middle row -->
<div class="row row-middle">
<div class="panel trend-panel">
<div class="panel-title">一周到岗人数趋势</div>
<div class="panel-body" style="padding:8px;">
<div id="trendChart" class="trend-chart"></div>
</div>
2025-10-21 13:21:22 +08:00
</div>
2026-01-21 10:34:06 +08:00
<div class="panel cards-small-panel">
<div class="panel-title">人员到岗情况</div>
<div class="panel-body">
<div class="metric-card-small">
<div class="metric-value" id="todayDutyRate">96</div>
<div class="metric-label">今日到岗人数</div>
<div class="monitor-icon"
style="width:50px;height:50px;background:url('../../img/dataAnalysisOctober/now.png') no-repeat center/100% 100%;">
</div>
</div>
<div class="metric-card-small">
<div class="metric-value" id="yesterdayDutyRate">104</div>
<div class="metric-label">昨日到岗人数</div>
<div class="monitor-icon"
style="width:50px;height:50px;background:url('../../img/dataAnalysisOctober/yesterday.png') no-repeat center/100% 100%;">
</div>
</div>
</div>
2025-10-16 15:26:20 +08:00
</div>
</div>
2025-10-21 13:21:22 +08:00
2026-01-21 10:34:06 +08:00
<!-- Bottom row -->
<div class="row row-bottom">
<div class="panel bar-panel">
<div class="panel-title">设备情况</div>
<div class="panel-body" style="padding:8px;">
<div id="equipmentStatus" class="bar-chart"></div>
</div>
</div>
<div class="panel analysis-panel">
<div class="panel-title">分析提醒</div>
<div class="analysis-tabs">
<div class="analysis-tab active">全部</div>
<div class="analysis-tab">人员</div>
<div class="analysis-tab">设备</div>
</div>
<div class="analysis-list" id="analysisList"></div>
</div>
2025-10-18 17:19:35 +08:00
</div>
</div>
2025-10-16 15:26:20 +08:00
</body>
<script src="../../js/pages/dataAnalysisOctober/resourceRateAnalysis.js" type="text/javascript"></script>
2025-10-21 13:21:22 +08:00
2026-01-21 10:34:06 +08:00
</html>