fix: 修复可选客户项目;字段名等

This commit is contained in:
caiyuchao
2025-08-25 18:36:57 +08:00
parent 0636850977
commit a31d0fa349
8 changed files with 61 additions and 35 deletions

View File

@@ -47,6 +47,13 @@ export function getCustomerList() {
return requestClient.get<CustomerApi.Customer[]>('/license/customer/list');
}
/** 查询可选择的客户列表 */
export function getLicenseCustomerList() {
return requestClient.get<CustomerApi.Customer[]>(
'/license/customer/license-list',
);
}
/** 查询客户详情 */
export function getCustomer(id: number) {
return requestClient.get<CustomerApi.Customer>(

View File

@@ -43,6 +43,16 @@ export function getProjectList(params: any) {
});
}
/** 查询可选择的项目列表 */
export function getLicenseProjectList(params: any) {
return requestClient.get<ProjectApi.Project[]>(
'/license/project/license-list',
{
params,
},
);
}
/** 查询项目详情 */
export function getProject(id: number) {
return requestClient.get<ProjectApi.Project>(`/license/project/get?id=${id}`);