From 48daa70fcdbbacc0d3c7ed72abd2534a99f88a27 Mon Sep 17 00:00:00 2001 From: "lj7788@126.com" Date: Thu, 17 Jul 2025 18:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=90=E6=96=99=E7=AE=A1=E7=90=86=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-bigscreen/src/api/machmater.js | 12 +- .../machmater/{ => components}/baiduMap.vue | 0 .../{ => components}/certInfoDataDialog.vue | 0 .../machmater/{ => components}/chinaMap.vue | 0 .../{ => components}/machineInfoDialog.vue | 0 .../machmater/components/manyBarChart.vue | 229 ++++++++++++++ .../views/machmater/components/manyChart.vue | 105 +++++++ .../views/machmater/components/moreButton.vue | 82 +++++ .../{ => components}/processControlBar.vue | 0 .../src/views/machmater/machineManage.vue | 8 +- .../src/views/machmater/materialManage.vue | 286 +++++++++++++++++- .../bigscreen/MachMaterController.java | 27 +- 12 files changed, 729 insertions(+), 20 deletions(-) rename yanzhu-bigscreen/src/views/machmater/{ => components}/baiduMap.vue (100%) rename yanzhu-bigscreen/src/views/machmater/{ => components}/certInfoDataDialog.vue (100%) rename yanzhu-bigscreen/src/views/machmater/{ => components}/chinaMap.vue (100%) rename yanzhu-bigscreen/src/views/machmater/{ => components}/machineInfoDialog.vue (100%) create mode 100644 yanzhu-bigscreen/src/views/machmater/components/manyBarChart.vue create mode 100644 yanzhu-bigscreen/src/views/machmater/components/manyChart.vue create mode 100644 yanzhu-bigscreen/src/views/machmater/components/moreButton.vue rename yanzhu-bigscreen/src/views/machmater/{ => components}/processControlBar.vue (100%) diff --git a/yanzhu-bigscreen/src/api/machmater.js b/yanzhu-bigscreen/src/api/machmater.js index 5597d065..ee0acdbb 100644 --- a/yanzhu-bigscreen/src/api/machmater.js +++ b/yanzhu-bigscreen/src/api/machmater.js @@ -157,7 +157,7 @@ const materGetConcreteMaterialActQuantityGhInfoService=data=>{ }) } -//材料销号制-时间段内工号申领情况 +//材料销号制-获取材料销号制混凝土楼号维度信息 const materGetConcreteMaterialActQuantityBuildingNoInfoService=data=>{ return request({ url: '/manage/bgscreen/machMater/materGetConcreteMaterialActQuantityBuildingNoInfoService', @@ -166,6 +166,15 @@ const materGetConcreteMaterialActQuantityBuildingNoInfoService=data=>{ }) } +//材料销号制-获取材料销号制混凝土楼层维度信息 +const materGetConcreteMaterialActQuantityFloorLevelInfoService=data=>{ + return request({ + url: '/manage/bgscreen/machMater/materGetConcreteMaterialActQuantityFloorLevelInfoService', + method: 'get', + params: data + }) +} + //材料销号制-获取用量情况统计服务 const materGetProjectChaoHaoStatisticsRPTService=data=>{ return request({ @@ -217,6 +226,7 @@ export default{ machSelectMachineCardImageList, machGetCertInfoList, materGetConcreteMaterialActQuantityBuildingNoInfoService, + materGetConcreteMaterialActQuantityFloorLevelInfoService, materGetConcreteMaterialActQuantityGhInfoService, materGetProjectChaoHaoStatisticsRPTService, materGetReportConcreteExceedReasonService, diff --git a/yanzhu-bigscreen/src/views/machmater/baiduMap.vue b/yanzhu-bigscreen/src/views/machmater/components/baiduMap.vue similarity index 100% rename from yanzhu-bigscreen/src/views/machmater/baiduMap.vue rename to yanzhu-bigscreen/src/views/machmater/components/baiduMap.vue diff --git a/yanzhu-bigscreen/src/views/machmater/certInfoDataDialog.vue b/yanzhu-bigscreen/src/views/machmater/components/certInfoDataDialog.vue similarity index 100% rename from yanzhu-bigscreen/src/views/machmater/certInfoDataDialog.vue rename to yanzhu-bigscreen/src/views/machmater/components/certInfoDataDialog.vue diff --git a/yanzhu-bigscreen/src/views/machmater/chinaMap.vue b/yanzhu-bigscreen/src/views/machmater/components/chinaMap.vue similarity index 100% rename from yanzhu-bigscreen/src/views/machmater/chinaMap.vue rename to yanzhu-bigscreen/src/views/machmater/components/chinaMap.vue diff --git a/yanzhu-bigscreen/src/views/machmater/machineInfoDialog.vue b/yanzhu-bigscreen/src/views/machmater/components/machineInfoDialog.vue similarity index 100% rename from yanzhu-bigscreen/src/views/machmater/machineInfoDialog.vue rename to yanzhu-bigscreen/src/views/machmater/components/machineInfoDialog.vue diff --git a/yanzhu-bigscreen/src/views/machmater/components/manyBarChart.vue b/yanzhu-bigscreen/src/views/machmater/components/manyBarChart.vue new file mode 100644 index 00000000..491cec7f --- /dev/null +++ b/yanzhu-bigscreen/src/views/machmater/components/manyBarChart.vue @@ -0,0 +1,229 @@ + + + diff --git a/yanzhu-bigscreen/src/views/machmater/components/manyChart.vue b/yanzhu-bigscreen/src/views/machmater/components/manyChart.vue new file mode 100644 index 00000000..a003e9bb --- /dev/null +++ b/yanzhu-bigscreen/src/views/machmater/components/manyChart.vue @@ -0,0 +1,105 @@ + + + + diff --git a/yanzhu-bigscreen/src/views/machmater/components/moreButton.vue b/yanzhu-bigscreen/src/views/machmater/components/moreButton.vue new file mode 100644 index 00000000..aaf34c63 --- /dev/null +++ b/yanzhu-bigscreen/src/views/machmater/components/moreButton.vue @@ -0,0 +1,82 @@ + + + diff --git a/yanzhu-bigscreen/src/views/machmater/processControlBar.vue b/yanzhu-bigscreen/src/views/machmater/components/processControlBar.vue similarity index 100% rename from yanzhu-bigscreen/src/views/machmater/processControlBar.vue rename to yanzhu-bigscreen/src/views/machmater/components/processControlBar.vue diff --git a/yanzhu-bigscreen/src/views/machmater/machineManage.vue b/yanzhu-bigscreen/src/views/machmater/machineManage.vue index 9926c328..7360bf71 100644 --- a/yanzhu-bigscreen/src/views/machmater/machineManage.vue +++ b/yanzhu-bigscreen/src/views/machmater/machineManage.vue @@ -175,13 +175,13 @@ @@ -294,9 +511,11 @@ export default { &.h66 { height: calc(66% - 20px); } + &.h100 { height: calc(100% - 20px); } + &.h33 { height: calc(33% - 20px); } @@ -306,16 +525,55 @@ export default { .module-ctx { padding: 0px 1px 0px 0px; } + .element-table-ranking { padding: 0px; } } + + .concrete-module { + .xhz-concrete-nav { + margin-top: -12px; + + .sjk-chart-line-title-tz { + button { + width: auto; + border: 0; + padding: 5px 10px; + } + } + + } + + .xhz-concrete-chart { + &.no-data { + height: 100%; + justify-content: center; + align-items: center; + } + + .no-data { + width: 100%; + text-align: center; + + .no-data-img { + width: 120px; + } + + .no-data-text { + font-size: 14px; + } + } + } + } + @media (max-width: 1920px) { .order-data-module { .element-table-ranking { .el-table { th { padding: 0px; + .cell { padding-left: 0px; padding-right: 0px; diff --git a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/bigscreen/MachMaterController.java b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/bigscreen/MachMaterController.java index baae1116..df367dff 100644 --- a/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/bigscreen/MachMaterController.java +++ b/yanzhu-modules/yanzhu-manage/src/main/java/com/yanzhu/manage/controller/bigscreen/MachMaterController.java @@ -270,7 +270,7 @@ public class MachMaterController extends BaseController { /** - * 材料销号制-时间段内工号申领情况 + * 材料销号制-获取材料销号制混凝土楼号维度信息 */ @GetMapping("/materGetConcreteMaterialActQuantityBuildingNoInfoService") public AjaxResult materGetConcreteMaterialActQuantityBuildingNoInfoService(Long projectId, String startTime, String endTime) throws Exception { @@ -292,6 +292,31 @@ public class MachMaterController extends BaseController { } + /** + * 材料销号制-获取材料销号制混凝土楼层维度信息 + */ + @GetMapping("/materGetConcreteMaterialActQuantityFloorLevelInfoService") + public AjaxResult materGetConcreteMaterialActQuantityFloorLevelInfoService(Long projectId, String startTime, String endTime,String ghId) throws Exception { + Map map = getConfig(projectId, "mater"); + String url = map.get("url").toString(); + url += "/MklBaseController/getService"; + JSONObject paramJson = (JSONObject) map.get("obj"); + if (StringUtils.isNotEmpty(startTime)) { + paramJson.put("startTime", startTime); + } + if (StringUtils.isNotEmpty(endTime)) { + paramJson.put("endTime", endTime); + } + if(StringUtils.isNotEmpty(ghId)){ + paramJson.put("ghId", ghId); + } + paramJson.put("service", "getConcreteMaterialActQuantityFloorLevelInfoService"); + HttpUtils httpUtils = new HttpUtils(); + + String result = httpUtils.sendGet(url, HttpUtils.jsonToGetParams(paramJson)); + return AjaxResult.success(JSONObject.parseObject(result)); + } + /** * 材料销号制-获取用量情况统计服务 */