fix: 修复可选客户项目;字段名等
This commit is contained in:
@@ -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>(
|
||||
|
||||
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user