mirror of https://github.com/veops/cmdb.git
parent
8c47105fbc
commit
67779ccc67
|
@ -940,10 +940,10 @@ export default {
|
||||||
),
|
),
|
||||||
onOk() {
|
onOk() {
|
||||||
const _tempTree = that.treeKeys[that.treeKeys.length - 1].split('%')
|
const _tempTree = that.treeKeys[that.treeKeys.length - 1].split('%')
|
||||||
const firstCIObj = JSON.parse(_tempTree[2])
|
const first_ci_id = Number(_tempTree[0])
|
||||||
batchDeleteCIRelation(
|
batchDeleteCIRelation(
|
||||||
that.selectedRowKeys.map((item) => item._id),
|
that.selectedRowKeys.map((item) => item._id),
|
||||||
firstCIObj
|
[first_ci_id]
|
||||||
).then((res) => {
|
).then((res) => {
|
||||||
that.$refs.xTable.clearCheckboxRow()
|
that.$refs.xTable.clearCheckboxRow()
|
||||||
that.$refs.xTable.clearCheckboxReserve()
|
that.$refs.xTable.clearCheckboxReserve()
|
||||||
|
|
Loading…
Reference in New Issue