车间主任首页

This commit is contained in:
2026-09-28 11:50:58 +08:00
parent ccfd8cb260
commit c31924a8d8
24 changed files with 862 additions and 382 deletions
+29 -1
View File
@@ -1,13 +1,41 @@
// 数据统计
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() {
return request({
url: `/api/workbench/dept`,
method: 'get',
});
}
// 首页(分管领导)
export function homeLeaderApi() {
return request({
url: `/api/workbench/vp`,
method: 'get',
});
}
// 本部门变更统计
export function departmentStatisticsApi(params: {from: string | null, to: string | null}) {