diff --git a/img/dataAnalysisOctober/decline.png b/img/dataAnalysisOctober/decline.png new file mode 100644 index 0000000..3d2985b Binary files /dev/null and b/img/dataAnalysisOctober/decline.png differ diff --git a/img/dataAnalysisOctober/deviceTotal.png b/img/dataAnalysisOctober/deviceTotal.png new file mode 100644 index 0000000..4e72584 Binary files /dev/null and b/img/dataAnalysisOctober/deviceTotal.png differ diff --git a/img/dataAnalysisOctober/efficiencyAnalysis.png b/img/dataAnalysisOctober/efficiencyAnalysis.png new file mode 100644 index 0000000..0880565 Binary files /dev/null and b/img/dataAnalysisOctober/efficiencyAnalysis.png differ diff --git a/img/dataAnalysisOctober/equipmentStatus.png b/img/dataAnalysisOctober/equipmentStatus.png new file mode 100644 index 0000000..51c9265 Binary files /dev/null and b/img/dataAnalysisOctober/equipmentStatus.png differ diff --git a/img/dataAnalysisOctober/equipmentUtilizationRate.png b/img/dataAnalysisOctober/equipmentUtilizationRate.png new file mode 100644 index 0000000..06481dc Binary files /dev/null and b/img/dataAnalysisOctober/equipmentUtilizationRate.png differ diff --git a/img/dataAnalysisOctober/inventory.png b/img/dataAnalysisOctober/inventory.png new file mode 100644 index 0000000..8e93772 Binary files /dev/null and b/img/dataAnalysisOctober/inventory.png differ diff --git a/img/dataAnalysisOctober/material.png b/img/dataAnalysisOctober/material.png new file mode 100644 index 0000000..da0b5a9 Binary files /dev/null and b/img/dataAnalysisOctober/material.png differ diff --git a/img/dataAnalysisOctober/materialSituation.png b/img/dataAnalysisOctober/materialSituation.png new file mode 100644 index 0000000..0c1989c Binary files /dev/null and b/img/dataAnalysisOctober/materialSituation.png differ diff --git a/img/dataAnalysisOctober/materialUtilizationRate.png b/img/dataAnalysisOctober/materialUtilizationRate.png new file mode 100644 index 0000000..69147b8 Binary files /dev/null and b/img/dataAnalysisOctober/materialUtilizationRate.png differ diff --git a/img/dataAnalysisOctober/monthRate.png b/img/dataAnalysisOctober/monthRate.png new file mode 100644 index 0000000..a47cd8d Binary files /dev/null and b/img/dataAnalysisOctober/monthRate.png differ diff --git a/img/dataAnalysisOctober/now.png b/img/dataAnalysisOctober/now.png new file mode 100644 index 0000000..c620f1c Binary files /dev/null and b/img/dataAnalysisOctober/now.png differ diff --git a/img/dataAnalysisOctober/ofDevices.png b/img/dataAnalysisOctober/ofDevices.png new file mode 100644 index 0000000..40d4ef3 Binary files /dev/null and b/img/dataAnalysisOctober/ofDevices.png differ diff --git a/img/dataAnalysisOctober/onYear.png b/img/dataAnalysisOctober/onYear.png new file mode 100644 index 0000000..50610ba Binary files /dev/null and b/img/dataAnalysisOctober/onYear.png differ diff --git a/img/dataAnalysisOctober/optimizationReminder.png b/img/dataAnalysisOctober/optimizationReminder.png new file mode 100644 index 0000000..711225a Binary files /dev/null and b/img/dataAnalysisOctober/optimizationReminder.png differ diff --git a/img/dataAnalysisOctober/overallSituation.png b/img/dataAnalysisOctober/overallSituation.png new file mode 100644 index 0000000..e0cfaeb Binary files /dev/null and b/img/dataAnalysisOctober/overallSituation.png differ diff --git a/img/dataAnalysisOctober/personnel.png b/img/dataAnalysisOctober/personnel.png new file mode 100644 index 0000000..b5bb7bb Binary files /dev/null and b/img/dataAnalysisOctober/personnel.png differ diff --git a/img/dataAnalysisOctober/personnelSetup.png b/img/dataAnalysisOctober/personnelSetup.png new file mode 100644 index 0000000..835116a Binary files /dev/null and b/img/dataAnalysisOctober/personnelSetup.png differ diff --git a/img/dataAnalysisOctober/personnelStatus.png b/img/dataAnalysisOctober/personnelStatus.png new file mode 100644 index 0000000..e90d502 Binary files /dev/null and b/img/dataAnalysisOctober/personnelStatus.png differ diff --git a/img/dataAnalysisOctober/personnelUtilizationRate.png b/img/dataAnalysisOctober/personnelUtilizationRate.png new file mode 100644 index 0000000..f11c5b7 Binary files /dev/null and b/img/dataAnalysisOctober/personnelUtilizationRate.png differ diff --git a/img/dataAnalysisOctober/yesterday.png b/img/dataAnalysisOctober/yesterday.png new file mode 100644 index 0000000..9b47312 Binary files /dev/null and b/img/dataAnalysisOctober/yesterday.png differ diff --git a/js/pages/dataAnalysisOctober/resourceRateAnalysis.js b/js/pages/dataAnalysisOctober/resourceRateAnalysis.js new file mode 100644 index 0000000..66788a1 --- /dev/null +++ b/js/pages/dataAnalysisOctober/resourceRateAnalysis.js @@ -0,0 +1,246 @@ +let table, layer, form; +let fontSize = '14', fontFamily = 'Alibaba PuHuiTi R', fontColor = '#fff'; + +const bidCode = parent.$('#bidPro').val(); +layui.use(["layer", "table", "form"], function () { + layer = layui.layer; + table = layui.table; + form = layui.form; + getTrend(); + + wearGarList() +}); + + +function getTrend() { + let xLabel = ['xxxx-xx-01', 'xxxx-xx-02', 'xxxx-xx-03', 'xxxx-xx-04', 'xxxx-xx-05', 'xxxx-xx-06','xxxx-xx-07', 'xxxx-xx-08', 'xxxx-xx-09', 'xxxx-xx-10', 'xxxx-xx-11', 'xxxx-xx-12',] + let expenditureData = ["12", "15", "4", "8", "13", "6","10", "11", "5", "12","10", "15"] + let incomeData = ["4", "5", "5", "5", "5", "4","3", "5", "3","16", "5", "18"] + initTrend(xLabel,expenditureData,incomeData) +} + +function initTrend(xLabel,expenditureData,incomeData) { + const leftChart = echarts.init(document.getElementById("trend")); + const option = { + title: { + text: '一周到岗人数趋势', + textStyle: { + color: '#ffffff', + fontSize: fontSize, + fontFamily: fontFamily + }, + left: 5, + top: 5 + }, + tooltip: { + show:true, + trigger: 'axis', + axisPointer: { + type: 'shadow', + }, + borderColor: 'rgba(255,255,255,.3)', + backgroundColor: 'rgba(19,51,55,.6)', + textStyle: { + color: 'white', //设置文字颜色 + }, + borderWidth: 1, + padding: 10, + }, + legend: { + show:true, + top:10, + right:20, + textStyle:{ + color:'#ffffff' + } + }, + grid: { + top: '25%', + left: '8%', + right: '4%', + bottom: '15%' + }, + xAxis: [ + { + type: 'category', + boundaryGap: true, + axisLine: { + //坐标轴轴线相关设置。数学上的x轴 + show: true, + lineStyle: { + color: '#5A6E71', + }, + }, + axisLabel: { + //坐标轴刻度标签的相关设置 + textStyle: { + color: fontColor, + fontSize: fontSize, + fontFamily: fontFamily + }, + }, + splitLine: { + show: false, + lineStyle: { + color: '#233653', + }, + }, + axisTick: { + show: true, + }, + data: xLabel, + }, + ], + yAxis: [{ + min: 0, + splitNumber: 10, + splitLine: { + show: true, + lineStyle: { + color: 'rgba(255,255,255,0.6)', + type: 'dashed', + }, + }, + axisLine: { + show: false, + }, + axisLabel: { + show: true, + textStyle: { + color: 'rgba(255,255,255,0.8)', + padding: 16 + }, + formatter: function(value) { + if (value === 0) { + return value + } + return value + } + }, + axisTick: { + show: false, + }, + }], + series: [{ + name: '支出', + type: 'line', + symbol: 'circle', + showAllSymbol: true, + symbolSize: 0, + smooth: true, + lineStyle: { + normal: { + width: 2, + color: "#00FEFC", + } + }, + itemStyle: { + color: "#00FEFC", + borderWidth: 2 + }, + tooltip: { + show: true + }, + areaStyle: { + normal: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ + offset: 0, + color: "rgba(18,86,100,0.6)" + }, + { + offset: 1, + color: "rgba(16,72,81, 0.7)" + } + ], false), + shadowColor: 'rgba(15,55,63, 0.8)', + shadowBlur: 20 + } + }, + data: expenditureData + }, { + name: '收入', + type: 'line', + symbol: 'circle', + showAllSymbol: true, + symbolSize: 0, + smooth: true, + lineStyle: { + normal: { + width: 2, + color: "rgba(25,196,134, 1)", + } + }, + itemStyle: { + color: "rgba(25,196,134, 1)", + borderWidth: 2 + + }, + tooltip: { + show: true + }, + areaStyle: { + normal: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ + offset: 0, + color: "rgba(17,95,82, 0.6)" + }, + { + offset: 1, + color: "rgba(16,72,67, 0.7)" + } + ], false), + shadowColor: 'rgba(15,55,54, 0.8)', + shadowBlur: 20 + } + }, + data: incomeData + }] + }; + + leftChart.setOption(option); + // 响应式调整 + window.addEventListener("resize", function () { + leftChart.resize(); + }); +} + +function wearGarList(){ + const url = commonUrl + "screen/largeScreen/personnelControl/getWearEquipmentList"; + + table.render({ + elem: '#dome1', + url: url, + skin: 'line', + page: false, + headers:{ + decrypt:"decrypt", + "Authorization":token + }, + where: { + roleCode: roleCode, + orgId: orgId, + userId: userId, + bidCode: bidCode + }, + cols: [[ + {field: 'number', width:'10%',title: '序号', align: 'center', type: 'numbers'}, + {field: 'deviceType', width:'20%', align: 'center', title: '专业'}, + {field: 'deviceName', width:'20%', align: 'center', title: '班组'}, + {field: 'userName', width:'15%', align: 'center', title: '班组负责人'}, + {field: 'userName', width:'15%', align: 'center', title: '班组人数'}, + {field: 'userName', width:'20%', align: 'center', title: '利用率'}, + ]], + initComplete: function () { + // 在表格渲染完成后,重新渲染序号列 + var that = this.elem.next(); + var tool = that.children('.layui-table-box').children('.layui-table-fixed').children('.layui-table-body').children('.layui-table'); + tool.find("tr").each(function (index, item) { + $(this).find('td[data-field="LAY_TABLE_INDEX"]').text(index + 1); + }); + }, + done:function(res, curr, count, origin){ + console.log(res); + } + }) + +} diff --git a/pages/dataAnalysisOctober/resourceRateAnalysis.html b/pages/dataAnalysisOctober/resourceRateAnalysis.html new file mode 100644 index 0000000..db2a6bf --- /dev/null +++ b/pages/dataAnalysisOctober/resourceRateAnalysis.html @@ -0,0 +1,673 @@ + + + + + + + + + + + + + + + + + + + + + 资源利用率分析 + + + + + + +
+
+
+
+

75%

+

人员利用率

+
+
+
+

80%

+

设备利用率

+
+
+
+

90%

+

材料利用率

+
+
+ +
+
+
+
+
+
+
设备总数
+
18 +
+
+
+
+
+
+
在运设备总数
+
15 +
+
+
+
+
+
+
本月使用率
+
80% +
+
+
+
+
+
+
同比
+
+3% +
+
+
+
+
+
+
+
+
人员总数统计
+
+
+
+ 管理人员 +
+
22
+
+
+
+
+ 工人 +
+
387
+
+ +
+
+
到岗人员统计
+
+
+
+ 管理人员 +
+
22
+
+
+
+
+ 工人 +
+
387
+
+ +
+
+
到岗情况
+
+
+
+ 今日到岗率 +
+
90%
+
+
+
+
+ 昨日到岗率 +
+
100%
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
材料总数
+
18 +
+
+
+
+
+
+
库存状态超过
一个月的材料总数
+
15 +
+
+
+
+
+
+
本月使用率
+
80% +
+
+
+
+
+
+
同比
+
+3% +
+
+
+
+ +
+
+
+
+
+
设备调度优化
+
2025-08-18 10:32:17
+
+
+ 近期机12易用率偏低,建议安排此设备,提高设备运转效率 +
+
+ +
+
+
材料库存优化
+
2025-08-18 10:32:17
+
+
+ 2号仓库水泥入库一个月未使用,建议尽快出库,避免材料被浪费 +
+
+ +
+
+
班组使用优化
+
2025-08-18 10:32:17
+
+
+ 安装电气、养护子班、连续三天同时未达60%,建议调整工作计划,提高人员使用率 +
+
+
+ + +
+
+
+ + +