From 02b846b1e1e23158d4c297d9adb178fd245160c0 Mon Sep 17 00:00:00 2001 From: huangjinysf Date: Fri, 19 Dec 2025 09:57:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=20item=20AI=20=E5=88=86?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/api.js | 3 +- .../WmsImportResult/ItemAnalysis.vue | 144 +++++++++++++++++- 2 files changed, 140 insertions(+), 7 deletions(-) diff --git a/src/config/api.js b/src/config/api.js index fa5b3e7..ef58140 100644 --- a/src/config/api.js +++ b/src/config/api.js @@ -7,6 +7,7 @@ export const API_CONFIG = { // API端点 ENDPOINTS: { HELLO: '/api/hello', - PARETO_ANALYSIS: '/api/qc/pareto' + PARETO_ANALYSIS: '/api/qc/pareto', + WORKBENCH_BADNESS: '/api/qc/badness/workbench' } } \ No newline at end of file diff --git a/src/views/warehouse/WmsImportResult/ItemAnalysis.vue b/src/views/warehouse/WmsImportResult/ItemAnalysis.vue index 241b56e..afc4081 100644 --- a/src/views/warehouse/WmsImportResult/ItemAnalysis.vue +++ b/src/views/warehouse/WmsImportResult/ItemAnalysis.vue @@ -20,14 +20,55 @@ type="primary" style="margin-left: 10px" :disabled="!analysisForm.selectedItem" + @click="handleFetchData" + > + 查询 + + - 分析 + AI分析 + +
+

机台不良分布 - {{ analysisForm.selectedItem }}

+ + + + + + + + + + +
+

数据范围: {{ props.dateRange.start_date }} 至 {{ props.dateRange.end_date }}

+

总计机台数: {{ workbenchData.length }}

+
+
+

{{ analysisForm.selectedItem }} - 分析结果

@@ -44,6 +85,7 @@