车间主任首页
This commit is contained in:
@@ -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}) {
|
||||
|
||||
Reference in New Issue
Block a user