From bcfc1679054804434faff8cac4b5a4d3c6c77997 Mon Sep 17 00:00:00 2001 From: bestlee Date: Wed, 30 Sep 2026 10:29:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=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 | 20 +- src/views/home/modules/template1.vue | 34 +- src/views/home/modules/template7.vue | 2 +- src/views/my/dataChangeCenter/index.vue | 422 +++++++++--------- src/views/professionalStatistics/index.vue | 80 ++-- .../modules/ringChart.vue | 36 +- src/views/workshopStatistics/index.vue | 16 +- 7 files changed, 333 insertions(+), 277 deletions(-) diff --git a/src/service/api/statistics.ts b/src/service/api/statistics.ts index 6e811df..b9453f8 100644 --- a/src/service/api/statistics.ts +++ b/src/service/api/statistics.ts @@ -87,4 +87,22 @@ export function departmentStatisticsApi(params: {from: string | null, to: string method: 'get', params }); -} \ No newline at end of file +} + +// 本专业变更统计 +export function specialtyStatisticsApi(params: {from: string | null, to: string | null}) { + return request({ + url: `/api/reports/dept-stats/specialty-sign`, + method: 'get', + params + }); +} + +// 本车间变更统计 +export function deptStatisticsApi(params: {from: string | null, to: string | null}) { + return request({ + url: `/api/reports/dept-stats/dept`, + method: 'get', + params + }); +} diff --git a/src/views/home/modules/template1.vue b/src/views/home/modules/template1.vue index 48dca27..ee7bfd9 100644 --- a/src/views/home/modules/template1.vue +++ b/src/views/home/modules/template1.vue @@ -18,9 +18,7 @@ const homeData = ref(null); // 跳转变更申请页面、变更台账、我的任务、发起变更 const jumpTo = (key: string,qid:number = 0) => { - if(key==='my_initiatechange' && qid){ - routerPushByKey(key,{ query: { id: qid.toString() } }); - }else if(key==='details_closedoc' && qid){ + if(key==='details_approval' && qid){ routerPushByKey(key,{ query: { id: qid.toString(),key:'home' } }); }else if(key==='details_index' && qid){ routerPushByKey(key,{ query: { id: qid.toString(),key:'home' } }); @@ -146,10 +144,6 @@ onUnmounted(() => {

待关闭确认

变更主管部门(归口部门)专责确认 · 系统记录关闭时间

- - 关闭管理 - -