From b46e09e8ecafce9b5b996d9b1e8f8be854b321e9 Mon Sep 17 00:00:00 2001 From: zwq Date: Wed, 29 Apr 2026 08:57:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- src/api/analysis/exception.js | 35 + src/api/base/equipmentSectionShutdownLog.js | 64 + src/api/core/analysis/index.js | 46 +- src/api/core/monitoring/data24.js | 15 +- src/components/ButtonNav/index.vue | 7 - .../add-or-updata.vue | 189 ++ .../equipmentSectionShutdownLog/index.vue | 470 +++++ .../equipmentSectionShutdownLog/subDiv.vue | 35 + .../analysis/balanceAnalysis/index-jiepai.vue | 295 +++ .../analysis/balanceAnalysis/index-old.vue | 296 --- .../core/analysis/balanceAnalysis/index.vue | 552 ++--- .../core/analysis/balanceAnalysis/subDiv.vue | 35 + .../yieldAnalysis-handle/LineChart.vue | 103 + .../analysis/yieldAnalysis-handle/index.vue | 272 +++ .../analysis/yieldAnalysis-handle/subDiv.vue | 31 + src/views/core/base/equipmentType/index.vue | 2 + src/views/core/base/product/add-or-updata.vue | 9 +- src/views/core/monitoring/data24/index.vue | 260 ++- .../core/monitoring/groupReport/baseTable.vue | 278 +++ .../core/monitoring/groupReport/gr-detail.vue | 331 +++ .../core/monitoring/groupReport/index.vue | 594 ++++++ .../equipment/analysis/exception/index.vue | 302 +-- .../equipment/equipmentOverview/chart.js | 328 +++ .../equipment/equipmentOverview/gantt.js | 367 ++++ .../equipment/equipmentOverview/index-eq.vue | 1309 ++++++++++++ .../equipment/equipmentOverview/index-his.vue | 487 +++++ .../equipmentOverview/index-line.vue | 299 +++ .../equipment/equipmentOverview/index.vue | 1472 ++------------ .../equipment/equipmentOverview/line-pot.js | 1810 +++++++++++++++++ .../equipment/equipmentOverview/lineChart.vue | 92 + .../equipment/equipmentOverview/subDiv.vue | 29 + src/views/group/Schedule/bind-line.vue | 13 +- .../equipmentProcessAmount/graph.vue | 64 +- .../equipmentProcessAmount/index.vue | 3 +- src/views/report/files/index.vue | 46 + 36 files changed, 8457 insertions(+), 2085 deletions(-) create mode 100644 src/api/analysis/exception.js create mode 100644 src/api/base/equipmentSectionShutdownLog.js create mode 100644 src/views/base/equipmentSectionShutdownLog/add-or-updata.vue create mode 100644 src/views/base/equipmentSectionShutdownLog/index.vue create mode 100644 src/views/base/equipmentSectionShutdownLog/subDiv.vue create mode 100644 src/views/core/analysis/balanceAnalysis/index-jiepai.vue delete mode 100644 src/views/core/analysis/balanceAnalysis/index-old.vue create mode 100644 src/views/core/analysis/balanceAnalysis/subDiv.vue create mode 100644 src/views/core/analysis/yieldAnalysis-handle/LineChart.vue create mode 100644 src/views/core/analysis/yieldAnalysis-handle/index.vue create mode 100644 src/views/core/analysis/yieldAnalysis-handle/subDiv.vue create mode 100644 src/views/core/monitoring/groupReport/baseTable.vue create mode 100644 src/views/core/monitoring/groupReport/gr-detail.vue create mode 100644 src/views/core/monitoring/groupReport/index.vue create mode 100644 src/views/equipment/equipmentOverview/chart.js create mode 100644 src/views/equipment/equipmentOverview/gantt.js create mode 100644 src/views/equipment/equipmentOverview/index-eq.vue create mode 100644 src/views/equipment/equipmentOverview/index-his.vue create mode 100644 src/views/equipment/equipmentOverview/index-line.vue create mode 100644 src/views/equipment/equipmentOverview/line-pot.js create mode 100644 src/views/equipment/equipmentOverview/lineChart.vue create mode 100644 src/views/equipment/equipmentOverview/subDiv.vue create mode 100644 src/views/report/files/index.vue diff --git a/.env.dev b/.env.dev index aeb2104b..b7533c13 100644 --- a/.env.dev +++ b/.env.dev @@ -14,7 +14,7 @@ VUE_APP_TITLE = 智能监控分析系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://172.16.33.187:48082' VUE_APP_BASE_API = 'http://line.kszny.picaiba.com' -# VUE_APP_BASE_API = 'http://172.16.32.79:48082' +# VUE_APP_BASE_API = 'http://172.16.19.12:48082' # 路由懒加载 diff --git a/src/api/analysis/exception.js b/src/api/analysis/exception.js new file mode 100644 index 00000000..da15ead0 --- /dev/null +++ b/src/api/analysis/exception.js @@ -0,0 +1,35 @@ +import request from '@/utils/request' + +// 获得设备健康分析周期报表list +export function getReportPage(query) { + return request({ + url: '/analysis/equipment-health-auto-report/reportList', + method: 'get', + params: query + }) +}// 获得设备健康分析累计 +export function getQueryPage(query) { + return request({ + url: '/analysis/equipment-health-auto-report/queryList', + method: 'get', + params: query + }) +} +// 导出 +export function exportReportExcel(query) { + return request({ + url: '/analysis/equipment-health-auto-report/export-excel-report', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +export function exportQueryExcel(query) { + return request({ + url: '/analysis/equipment-health-auto-report/export-excel-query', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/base/equipmentSectionShutdownLog.js b/src/api/base/equipmentSectionShutdownLog.js new file mode 100644 index 00000000..175f2596 --- /dev/null +++ b/src/api/base/equipmentSectionShutdownLog.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + +// 创建计划停机配置 +export function createPlan(data) { + return request({ + url: '/base/equipment-section-shutdown-log/create', + method: 'post', + data: data + }) +} + +// 更新计划停机配置 +export function updatePlan(data) { + return request({ + url: '/base/equipment-section-shutdown-log/update', + method: 'put', + data: data + }) +} + +// 获得计划停机配置 +export function getPlan(id) { + return request({ + url: '/base/equipment-section-shutdown-log/get?id=' + id, + method: 'get' + }) +} + +// 计划停机配置list +export function planList(query) { + return request({ + url: '/base/equipment-section-shutdown-log/planList', + method: 'get', + params: query + }) +} + +// 停机记录list +export function errorList(query) { + return request({ + url: '/base/equipment-section-shutdown-log/errorList', + method: 'get', + params: query + }) +} + +// 导出计划停机配置list +export function exportPlanList(query) { + return request({ + url: '/base/equipment-section-shutdown-log/exportPlanList', + method: 'get', + params: query, + responseType: 'blob' + }) +} +// 导出停机记录list +export function exportErrorList(query) { + return request({ + url: '/base/equipment-section-shutdown-log/exportErrorList', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/core/analysis/index.js b/src/api/core/analysis/index.js index 84023604..712b027e 100644 --- a/src/api/core/analysis/index.js +++ b/src/api/core/analysis/index.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2023-09-12 14:07:04 - * @LastEditTime: 2025-01-08 15:47:17 + * @LastEditTime: 2026-04-28 11:13:17 * @LastEditors: zwq * @Description: */ @@ -14,6 +14,13 @@ export function getYieldAnalysisPageData(data) { data: data }) } +export function getYieldAnalysisHandlePageData(data) { + return request({ + url: '/analysis/production-analysis/getOutputManual', + method: 'post', + data: data + }) +} export function getCT(data) { return request({ @@ -46,3 +53,40 @@ export function getNewCTDet(data) { data:data }); } + +// 获得产线累计oee与teep +export function listHeader() { + return request({ + url: '/analysis/production-oee-auto-report/listHeader', + method: 'get', + }); +} + +// 获得产线报表oee与teep +export function listLineReport(query) { + return request({ + url: '/analysis/production-oee-auto-report/listLineReport', + method: 'get', + params: query, + }); +} + +// 导出生产分析teepExcel +export function exportTeepExcel(query) { + return request({ + url: '/analysis/production-oee-auto-report/export-excel-teep', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 导出生产分析oeeExcel +export function exportOeeExcel(query) { + return request({ + url: '/analysis/production-oee-auto-report/export-excel-oee', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/core/monitoring/data24.js b/src/api/core/monitoring/data24.js index 86afe0d8..c24dcc7d 100644 --- a/src/api/core/monitoring/data24.js +++ b/src/api/core/monitoring/data24.js @@ -1,9 +1,9 @@ /* * @Author: Do not edit * @Date: 2023-09-12 09:44:53 - * @LastEditTime: 2023-09-15 14:12:26 - * @LastEditors: DY - * @Description: + * @LastEditTime: 2026-03-30 15:01:38 + * @LastEditors: zwq + * @Description: */ import request from '@/utils/request' @@ -15,3 +15,12 @@ export function getPdlDataOneDay(data) { data: data }) } + +// 获得近24小时产线生产数据-新版 +export function getSectionDataOneDay(data) { + return request({ + url: '/monitoring/production-monitor/getSectionDataOneDay', + method: 'post', + data: data + }) +} diff --git a/src/components/ButtonNav/index.vue b/src/components/ButtonNav/index.vue index dedc0dca..d0282d43 100644 --- a/src/components/ButtonNav/index.vue +++ b/src/components/ButtonNav/index.vue @@ -1,10 +1,3 @@ - - + diff --git a/src/views/core/monitoring/groupReport/gr-detail.vue b/src/views/core/monitoring/groupReport/gr-detail.vue new file mode 100644 index 00000000..7e276265 --- /dev/null +++ b/src/views/core/monitoring/groupReport/gr-detail.vue @@ -0,0 +1,331 @@ + + + + diff --git a/src/views/core/monitoring/groupReport/index.vue b/src/views/core/monitoring/groupReport/index.vue new file mode 100644 index 00000000..2bd529d4 --- /dev/null +++ b/src/views/core/monitoring/groupReport/index.vue @@ -0,0 +1,594 @@ + + + + diff --git a/src/views/equipment/analysis/exception/index.vue b/src/views/equipment/analysis/exception/index.vue index fe036697..bbca7eaa 100644 --- a/src/views/equipment/analysis/exception/index.vue +++ b/src/views/equipment/analysis/exception/index.vue @@ -1,17 +1,74 @@