mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 09:02:44 +08:00
UI: batch update relation
This commit is contained in:
@@ -28,3 +28,11 @@ export function statisticsCIRelation (params) {
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
export function batchUpdateCIRelation (ciIds, parents) {
|
||||
return axios({
|
||||
url: '/v0.1/ci_relations/batch',
|
||||
method: 'POST',
|
||||
data: { ci_ids: ciIds, parents: parents }
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user