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 @@