diff --git a/src/views/changeLedger/modules/list.vue b/src/views/changeLedger/modules/list.vue index 81a9397..381151c 100644 --- a/src/views/changeLedger/modules/list.vue +++ b/src/views/changeLedger/modules/list.vue @@ -308,6 +308,7 @@ const getList = async () => { } // 获取配置 const getConfig = async () => { + loading.value = true; const {data,error} = await systemConfigApi(); if(!error){ // 解析 变更类型设置 @@ -321,6 +322,7 @@ const getConfig = async () => { levelList.value = levelList.value.concat(changeLevelGroup.items); } } + loading.value = false; } // 获取组织列表 diff --git a/src/views/workshopStatistics/index.vue b/src/views/workshopStatistics/index.vue index d142ea4..f341c60 100644 --- a/src/views/workshopStatistics/index.vue +++ b/src/views/workshopStatistics/index.vue @@ -14,6 +14,11 @@ const loading = ref(false); const remindDays = ref(0); const homeData = ref(null); +// 小时转换天 +const hourToDay = (hour: number) => { + return Math.trunc((hour / 24) * 100) / 100; +} + // 跳转页面 const jumpTo = (key: string) => { routerPushByKey(key as any); @@ -28,6 +33,7 @@ const getData = async () => { }); if(!error){ homeData.value = data; + console.log(data); } loading.value = false; } @@ -67,7 +73,7 @@ onMounted(() => {
@@ -83,7 +89,7 @@ onMounted(() => {
@@ -100,7 +106,7 @@ onMounted(() => {
@@ -117,7 +123,8 @@ onMounted(() => {

%

@@ -136,17 +143,17 @@ onMounted(() => {
平均审批时长 - 1.6 天 - 目标 ≤2 天 + {{homeData?.my_eff?.avg_audit_days || 0}} 天 + 目标 ≤{{hourToDay(homeData?.my_eff?.sign_timely_hours || 0)}} 天
按时审批率 - 92% + {{homeData?.my_eff?.timely_rate || 0}}% 目标 ≥90%
驳回补充说明率 - 100% + {{homeData?.my_eff?.reject_comment_rate || 0}}% 驳回必附整改指引

考核数据来源:本人节点签收 → 签出时长,系统自动统计,不可修改

@@ -159,7 +166,7 @@ onMounted(() => {

本车间变更状态构成(实时)

-
+
@@ -187,21 +194,21 @@ onMounted(() => {
正常(到期 > {{remindDays}} 天) - {{homeData?.kpis?.unclosed_total || 0}} + {{homeData?.temp_watch?.normal || 0}}
临期(到期 ≤ {{remindDays}} 天) - {{homeData?.kpis?.near_overdue_total || 0}} + {{homeData?.temp_watch?.near || 0}}
已超期 - {{homeData?.kpis?.overdue_total || 0}} + {{homeData?.temp_watch?.overdue || 0}}
前往变更台账查看处置 → @@ -241,11 +248,11 @@ onMounted(() => {
新增固有高风险项
-
{{homeData?.risk?.inherent_high || 0}}
+
{{homeData?.risk?.new_high || 0}}
新增中风险项
-
{{homeData?.risk?.inherent_mid || 0}}
+
{{homeData?.risk?.new_mid || 0}}
剩余高风险项
@@ -256,15 +263,13 @@ onMounted(() => {
{{homeData?.risk?.residual_mid || 0}}
-
-
- 管控措施落实率 -
-
-
- 96% -
-
+

高风险场景明细见「高风险」页(按部门筛选一车间)

@@ -285,9 +290,9 @@ onMounted(() => {

变更投入和效果(近一年 · 已验收变更)

费用取验收时填报的「变更材料和实施费」;完整明细见操作台「变更投入和效果」

- 已验收 3 起 · - 投入合计 11.5 万元 · - 完全达到率 67% + 已验收 {{homeData?.invest?.total || 0}} 起 · + 投入合计 {{homeData?.invest?.total_cost || 0}} 万元 · + 完全达到率 {{homeData?.invest?.full_rate || 0}}%

@@ -303,36 +308,22 @@ onMounted(() => { - - -

氮气管网压力分级调整

- MOC-2026-R01-0024 - - 2026-07-08 - 2026-07-08 - 2026-07-08 - 11.5 - - 完全达到 - - + + 暂无数据 - + -

氮气管网压力分级调整

- MOC-2026-R01-0024 +

{{row.title}}

+ {{row.change_no}} - 2026-07-08 - 2026-07-08 - 2026-07-08 - 11.5 + {{row?.apply_time?.slice(0,10)}} + {{row?.use_time?.slice(0,10)}} + {{row?.accept_time?.slice(0,10)}} + {{row?.cost || 0}} - 完全达到 - + {{row.result_label}} + {{row.result_label}} + {{row.result_label}} diff --git a/src/views/workshopStatistics/modules/ringChart.vue b/src/views/workshopStatistics/modules/ringChart.vue index 43f786d..307e229 100644 --- a/src/views/workshopStatistics/modules/ringChart.vue +++ b/src/views/workshopStatistics/modules/ringChart.vue @@ -15,7 +15,7 @@ const { domRef, updateOptions } = useEcharts(() => ({ formatter: '{b}: {c} ({d}%)' }, legend: { - bottom: 0, + bottom: 10, left: 'center', icon: 'circle', itemWidth: 10,