From 071d751f793056fdd8c40cde24b73a3d49151538 Mon Sep 17 00:00:00 2001 From: bestlee Date: Wed, 30 Sep 2026 14:49:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E5=B7=A5=E5=8E=82=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=A6=82=E8=A7=88=E9=A1=B5=E9=9D=A2=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/service/api/statistics.ts | 11 +- src/views/factoryOverview/index.vue | 161 ++++---- .../factoryOverview/modules/columnChart.vue | 17 +- .../factoryOverview/modules/columnChart2.vue | 91 +++++ .../factoryOverview/modules/ringChart.vue | 36 +- .../riskStatistics/modules/columnChart.vue | 5 +- src/views/signStatistics/index.vue | 367 ++++++++++-------- .../signStatistics/modules/ringChart.vue | 36 +- src/views/workshopStatistics/index.vue | 67 ++-- .../workshopStatistics/modules/ringChart.vue | 31 +- 10 files changed, 522 insertions(+), 300 deletions(-) create mode 100644 src/views/factoryOverview/modules/columnChart2.vue diff --git a/src/service/api/statistics.ts b/src/service/api/statistics.ts index 1c56907..58e2cc4 100644 --- a/src/service/api/statistics.ts +++ b/src/service/api/statistics.ts @@ -96,7 +96,7 @@ export function departmentStatisticsApi(params: {from: string | null, to: string }); } -// 本专业变更统计 +// 本专业变更统计(质量会签统计) export function specialtyStatisticsApi(params: {from: string | null, to: string | null}) { return request({ url: `/api/reports/dept-stats/specialty-sign`, @@ -113,3 +113,12 @@ export function deptStatisticsApi(params: {from: string | null, to: string | nul params }); } + +// 全工厂统计概览 +export function factoryStatisticsApi(params: {from: string | null, to: string | null}) { + return request({ + url: `/api/reports/plant-overview`, + method: 'get', + params + }); +} diff --git a/src/views/factoryOverview/index.vue b/src/views/factoryOverview/index.vue index 7d116cf..be1ce7e 100644 --- a/src/views/factoryOverview/index.vue +++ b/src/views/factoryOverview/index.vue @@ -1,63 +1,48 @@