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(() => {

待关闭确认

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

- - 关闭管理 - -