// 数据统计 import { request } from '../request'; // 首页(申请人) export function homeApi() { return request({ url: `/api/workbench`, method: 'get', }); } // 首页(专业会签) export function homeProfessionalApi() { return request({ url: `/api/workbench/specialty-sign`, method: 'get', }); } // 首页(安全工程师) export function homeSafeApi() { return request({ url: `/api/workbench/safety`, method: 'get', }); } // 首页(车间主任) export function homeManagerApi(params: {from: string | null, to: string | null}) { return request({ url: `/api/workbench/dept`, method: 'get', params }); } // 首页(分管领导) export function homeLeaderApi() { return request({ url: `/api/workbench/vp`, method: 'get', }); } // 变更数据中心 export function changeDataCenterApi(params: {from: string | null, to: string | null}) { return request({ url: `/api/reports/data-center`, method: 'get', params }); } // 本部门变更统计 export function departmentStatisticsApi(params: {from: string | null, to: string | null}) { return request({ url: `/api/reports/dept-stats`, method: 'get', params }); }