fix drag group and attrs

This commit is contained in:
haojie.shao
2020-01-19 18:14:53 +08:00
parent 28ff27c019
commit 680a547df4
2 changed files with 74 additions and 28 deletions

View File

@@ -122,3 +122,19 @@ export function deleteCITypeAttributesById (CITypeId, data) {
data: data
})
}
export function transferCITypeAttrIndex (CITypeId, data) {
return axios({
url: `/v0.1/ci_types/${CITypeId}/attributes/transfer`,
method: 'POST',
data: data
})
}
export function transferCITypeGroupIndex (CITypeId, data) {
return axios({
url: `/v0.1/ci_types/${CITypeId}/attribute_groups/transfer`,
method: 'POST',
data: data
})
}