From 2f98b42bd298d517b936724a87d2f02f5f35995c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Tue, 23 Apr 2024 13:52:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 6 +- src/api/report/qcReport.js | 18 +- .../Environmental/productionDayR/index.vue | 6 +- .../report/qcReport/cutDayReport/index.vue | 252 ++++++++++--- .../report/qcReport/fullInspection/index.vue | 342 ++++++++++++++++-- src/views/report/qcReport/lineReport.vue | 28 +- src/views/report/qcReport/optimizeCutData.vue | 28 +- 7 files changed, 579 insertions(+), 101 deletions(-) diff --git a/.env.dev b/.env.dev index 0a1d39c9..57f02cb8 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: zhp # @Date: 2024-04-12 14:30:48 - # @LastEditTime: 2024-04-22 16:16:52 + # @LastEditTime: 2024-04-23 13:34:27 # @LastEditors: zhp # @Description: ### @@ -12,8 +12,8 @@ ENV = 'development' VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' -VUE_APP_BASE_API = 'http://192.168.1.104:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' +# VUE_APP_BASE_API = 'http://192.168.1.104:48082' # 积木报表指向地址 VUE_APP_JIMU_API = 'http://192.168.0.33:48082' diff --git a/src/api/report/qcReport.js b/src/api/report/qcReport.js index 8d0a0e26..c4e252ec 100644 --- a/src/api/report/qcReport.js +++ b/src/api/report/qcReport.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2024-04-18 09:27:54 - * @LastEditTime: 2024-04-22 16:21:26 + * @LastEditTime: 2024-04-23 13:37:12 * @LastEditors: zhp * @Description: */ @@ -62,3 +62,19 @@ export function updateAutoDailyData(data) { data: data }) } + +export function getCWSectionList(query) { + return request({ + url: 'base/core-production-line/listAll', + method: 'get', + params: query + }) +} + +export function getCuttingReportDataList(data) { + return request({ + url: 'extend/customized-reports/cuttingReport', + method: 'post', + data: data + }) +} diff --git a/src/views/report/Environmental/productionDayR/index.vue b/src/views/report/Environmental/productionDayR/index.vue index 1e5821ca..289c08c1 100644 --- a/src/views/report/Environmental/productionDayR/index.vue +++ b/src/views/report/Environmental/productionDayR/index.vue @@ -1,7 +1,7 @@ @@ -16,9 +16,9 @@ - 查询 - 导出 diff --git a/src/views/report/qcReport/cutDayReport/index.vue b/src/views/report/qcReport/cutDayReport/index.vue index 24715252..6edd5726 100644 --- a/src/views/report/qcReport/cutDayReport/index.vue +++ b/src/views/report/qcReport/cutDayReport/index.vue @@ -1,10 +1,22 @@ +