|
|
@ -5,6 +5,7 @@ enum Api {
|
|
|
|
GetWorkspaceList = '/api/Manage/GetWorkspaceList',
|
|
|
|
GetWorkspaceList = '/api/Manage/GetWorkspaceList',
|
|
|
|
GetWorkSpaceById = '/api/Manage/GetWorkSpaceById',
|
|
|
|
GetWorkSpaceById = '/api/Manage/GetWorkSpaceById',
|
|
|
|
EditWorkspace = '/api/Manage/EditWorkspace',
|
|
|
|
EditWorkspace = '/api/Manage/EditWorkspace',
|
|
|
|
|
|
|
|
DeleteWorkspace = '/api/Manage/DeleteWorkspace',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export function GetUavList(params?) {
|
|
|
|
export function GetUavList(params?) {
|
|
|
@ -25,6 +26,12 @@ export function EditWorkspace(params) {
|
|
|
|
params
|
|
|
|
params
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function DeleteWorkspace(params: { id: string }) {
|
|
|
|
|
|
|
|
return defHttp.post({
|
|
|
|
|
|
|
|
url: `${Api.DeleteWorkspace}?id=${params.id}`,
|
|
|
|
|
|
|
|
params,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
export function GetWorkspaceList(params?) {
|
|
|
|
export function GetWorkspaceList(params?) {
|
|
|
|
return defHttp.get({
|
|
|
|
return defHttp.get({
|
|
|
|
url: Api.GetWorkspaceList,
|
|
|
|
url: Api.GetWorkspaceList,
|
|
|
|