diff --git a/src/views/device/Instance/Detail/ChildDevice/BindChildDevice/index.vue b/src/views/device/Instance/Detail/ChildDevice/BindChildDevice/index.vue index b1eb60f9..5ebb69fa 100644 --- a/src/views/device/Instance/Detail/ChildDevice/BindChildDevice/index.vue +++ b/src/views/device/Instance/Detail/ChildDevice/BindChildDevice/index.vue @@ -32,11 +32,11 @@ value: '', type: 'or', }, - // { - // column: 'parentId$not', - // value: detail.id, - // type: 'or', - // }, + // { + // column: 'parentId$not', + // value: detail.id, + // type: 'or', + // }, ], }, { @@ -88,18 +88,24 @@ diff --git a/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue b/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue index 66345b8b..646a51db 100644 --- a/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue +++ b/src/views/device/Instance/Detail/ChildDevice/EdgeMap/PatchMapping.vue @@ -16,9 +16,11 @@
@@ -56,8 +58,17 @@ @@ -212,4 +300,4 @@ onMounted(() => { } } } - \ No newline at end of file + diff --git a/src/views/device/Instance/Detail/EdgeMap/PatchMapping.vue b/src/views/device/Instance/Detail/EdgeMap/PatchMapping.vue index 86818e91..65250054 100644 --- a/src/views/device/Instance/Detail/EdgeMap/PatchMapping.vue +++ b/src/views/device/Instance/Detail/EdgeMap/PatchMapping.vue @@ -20,6 +20,7 @@ :checkedKeys="checkedKeys" :load-data="onLoadData" @check="onCheck" + v-model:expandedKeys="expandedKeys" />
@@ -120,7 +121,11 @@ const handleSearch = async () => { } }; + +const expandedKeys = ref([]) const onCheck = (keys: string[], e: any) => { + // console.log(expandedKeys.push(e)); + expandedKeys.value.push(e.node.id) checkedKeys.value = [...keys]; leftList.value = e?.checkedNodes || []; };