From bef704750eaae087538354001c178f17642ea0a1 Mon Sep 17 00:00:00 2001 From: w940853815 <940853815@qq.com> Date: Thu, 6 Mar 2025 15:08:51 +0800 Subject: [PATCH 1/2] fix: Asset list: when updating, the account delete failed --- src/views/assets/Asset/AssetList/components/BaseList.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/assets/Asset/AssetList/components/BaseList.vue b/src/views/assets/Asset/AssetList/components/BaseList.vue index cd4e69e1c..83e16cf20 100644 --- a/src/views/assets/Asset/AssetList/components/BaseList.vue +++ b/src/views/assets/Asset/AssetList/components/BaseList.vue @@ -217,6 +217,8 @@ export default { }, methods: { async updateOrCloneAsset(row, action) { + this.$route.params.id = row.id + this.$route.params.action = action const meta = { action: action, id: row.id, From 278c5996f1431a749f71a64e49cfd0e83cbb82f1 Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Thu, 6 Mar 2025 15:57:26 +0800 Subject: [PATCH 2/2] Fixed: Fix: Issue where recipients are not displayed when creating password change tasks --- src/components/Drawer/index.vue | 1 + .../Table/ListTable/TableAction/ImportTable.vue | 1 + .../AccountChangeSecretCreateUpdate.vue | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/src/components/Drawer/index.vue b/src/components/Drawer/index.vue index 2aee58ddf..4c39b09f6 100644 --- a/src/components/Drawer/index.vue +++ b/src/components/Drawer/index.vue @@ -133,6 +133,7 @@ export default { &.detail-card { padding-right: 0; + margin-top: unset; } // Detail δΈ­ diff --git a/src/components/Table/ListTable/TableAction/ImportTable.vue b/src/components/Table/ListTable/TableAction/ImportTable.vue index ea1e06ca6..5be5f261b 100644 --- a/src/components/Table/ListTable/TableAction/ImportTable.vue +++ b/src/components/Table/ListTable/TableAction/ImportTable.vue @@ -105,6 +105,7 @@ export default { importStatusFilter: 'all', iTotalData: [], defaultTableConfig: { + url: '', hasSelection: false, // hasPagination: false, columns: [], diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretCreateUpdate.vue b/src/views/accounts/AccountChangeSecret/AccountChangeSecretCreateUpdate.vue index 348b6bf23..4566490be 100644 --- a/src/views/accounts/AccountChangeSecret/AccountChangeSecretCreateUpdate.vue +++ b/src/views/accounts/AccountChangeSecret/AccountChangeSecretCreateUpdate.vue @@ -84,6 +84,18 @@ export default { assets: this.asset_ids, nodes: this.node_ids } + }, + recipients: { + helpText: this.$t('OnlyMailSend'), + el: { + value: [], + ajax: { + url: '/api/v1/users/users/?fields_size=mini', + transformOption: (item) => { + return { label: item.name + '(' + item.username + ')', value: item.id } + } + } + } } }, createSuccessNextRoute: { name: 'AccountChangeSecretList' },