This commit is contained in:
2025-09-05 21:36:48 +08:00
parent b910c6fee2
commit c9496f4400
10 changed files with 472 additions and 18 deletions

View File

@ -203,3 +203,31 @@ export const importConstructionUserInfo = (file: string) => {
data: { file }
});
};
// 获取项目列表
export const ProjectList = (query) => {
return request({
url: '/contractor/constructionUser/projectList',
method: 'get',
params: query
});
};
// 获取班组列表
export const TeamList = (query) => {
return request({
url: '/contractor/constructionUser/teamList',
method: 'get',
params: query
});
};
// 班组分配
export const TeamDistribution = (data) => {
return request({
url: '/contractor/constructionUser/addTeam',
method: 'post',
data: data
});
};