UI: batch update relation

This commit is contained in:
pycook
2020-04-01 11:09:41 +08:00
parent 764d2fac3f
commit c31be0f753
12 changed files with 204 additions and 15 deletions

View File

@@ -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 }
})
}