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 @@
按期关闭率
- 93.8%
+ {{homeData?.gauges?.ontime_close_rate || 0}}%
Good PSSR 完成率
- 96%
+ {{homeData?.gauges?.pssr_rate || 0}}%
Excellent 近一年 · 全厂 验收一次通过率
- 88%
- Fair 近一年 · 全厂 当月临时变更数量 {{homeData?.gauges?.month_created || 0}} 近一年 · 全厂 平均关闭时长 8.2 {{homeData?.gauges?.avg_close_days || 0}} 天 · 优于行业均值 月度变更数量 变更类型分布
平均审批周期趋势(天)
报表导出
本月会签 / 审批
-口径:节点签出记录
-我的会签平均耗时
-天
-口径:签收→签出时长 · 目标 ≤2.5 天
-按时完成率
-%
-考核:目标 ≥90%
-参与风险分析
-次
-口径:HAZOP / JSA 分析组成员(选择式)记录
-当前待我审批
-实时 · 与工作台同源
-会签效率对比(考核 · 汇报)
-考核数据来源:节点签收 → 签出时长自动统计;连续两月超标将纳入绩效面谈
+ > +本月会签 / 审批
+口径:节点签出记录
本专业变更类型分布(近一年)
-我的会签平均耗时
+天
高风险在办(直达风险分析)
-更多高风险场景与分析记录见「高风险」页
-口径:签收→签出时长 · 目标 ≤{{hourToDay(homeData?.my_stats?.sign_timely_hours || 0)}} 天
+按时完成率
+%
考核:目标 ≥90%
+参与风险分析
+次
+口径:HAZOP / FMEA 分析组成员(选择式)记录
+当前待我审批
+实时 · 与工作台同源
+会签效率对比(考核 · 汇报)
+暂无数据
+考核数据来源:节点签收 → 签出时长自动统计;连续两月超标将纳入绩效面谈
+本专业变更类型分布(近一年)
+高风险在办(直达风险分析)
+更多高风险场景与分析记录见「高风险」页
+暂无高风险在办
+