From 31eeccafae095189c683e2cc0b285cebc5707ff2 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Mon, 10 Jan 2022 18:30:19 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1490=20fix:=20=E4=BF=AE=E5=A4=8DLabel?= =?UTF-8?q?=E6=9C=89=E6=95=B0=E9=87=8F=E9=99=90=E5=88=B6=EF=BC=8C=E6=96=B0?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9A=84Label=E6=97=A0=E6=B3=95=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/rightBox/asset/assetBatchEditBox.vue | 8 ++++++-- nezha-fronted/src/components/page/asset/asset.vue | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue index 6a1a665b8..53ebae45e 100644 --- a/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue +++ b/nezha-fronted/src/components/common/rightBox/asset/assetBatchEditBox.vue @@ -11,7 +11,7 @@ - + @@ -261,7 +261,7 @@ export default { label: 'name', lazyLoad (node, resolve) { const { level } = node - vm.$get('asset/field/meta', { groupIds: node.data.id }).then(response => { + vm.$get('asset/field/meta', { groupIds: node.data.id, pageSize: -1 }).then(response => { if (response.code === 200) { const meta = response.data.list.map(item => ({ ...item, @@ -369,6 +369,10 @@ export default { this.transfer.pageObj = JSON.parse(JSON.stringify(page)) this.getTableData() }, + assetBatch () { + this.getTableData() + }, + esc (refresh) { this.$emit('close', refresh) }, diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue index bfbd57e49..8330d2c36 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -235,6 +235,7 @@ export default { type: { name: '', id: '' }, brandAndModel: [], typeId: '', + snmpCredentialId: '', clientPort: '10092', clientToken: '', authProtocolPort: '',